Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00593/0.00593, allocations: 105.9 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2365/0.2365, allocations: 46.93 MB / 362.3 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 91.78 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3459, allocations: 66.08 MB / 0.5627 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003497/0.3494, allocations: 1.867 MB / 0.5645 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004991/0.3499, allocations: 155.4 kB / 0.5647 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.35, allocations: 4 kB / 0.5647 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.945e-05/0.3501, allocations: 27.72 kB / 0.5647 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.3503, allocations: 51.5 kB / 0.5648 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3505, allocations: 35.95 kB / 0.5648 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.3508, allocations: 191.1 kB / 0.565 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.351, allocations: 41.67 kB / 0.565 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3511, allocations: 75.77 kB / 0.5651 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.3513, allocations: 71.7 kB / 0.5652 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.3513, allocations: 16 kB / 0.5652 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.679e-05/0.3513, allocations: 15.94 kB / 0.5652 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.3514, allocations: 31.92 kB / 0.5652 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3515, allocations: 83.59 kB / 0.5653 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3518, allocations: 185.7 kB / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3518, allocations: 0 / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3518, allocations: 0 / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.3518, allocations: 0 / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006286/0.3524, allocations: 385.9 kB / 0.5659 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3524, allocations: 8.031 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.3525, allocations: 16.84 kB / 0.5659 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3527, allocations: 150.3 kB / 0.566 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3527, allocations: 12.7 kB / 0.566 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.3528, allocations: 20.33 kB / 0.5661 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3531, allocations: 162.2 kB / 0.5662 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3531, allocations: 8.188 kB / 0.5662 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.3531, allocations: 11.94 kB / 0.5662 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3531, allocations: 4 kB / 0.5662 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.3533, allocations: 91.88 kB / 0.5663 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.3542, allocations: 0.5501 MB / 0.5669 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3544, allocations: 129.1 kB / 0.567 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.3545, allocations: 49.7 kB / 0.567 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.3545, allocations: 4 kB / 0.567 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3545, allocations: 34.56 kB / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3545, allocations: 0 / 0.5671 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007459/0.3553, allocations: 227.2 kB / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.3554, allocations: 81.48 kB / 0.5674 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3555, allocations: 126.1 kB / 0.5675 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3555, allocations: 33.7 kB / 0.5675 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.3556, allocations: 124.2 kB / 0.5676 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.3556, allocations: 71.34 kB / 0.5677 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.3557, allocations: 33.72 kB / 0.5677 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3559, allocations: 326.8 kB / 0.568 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.3559, allocations: 35.98 kB / 0.5681 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3561, allocations: 104.6 kB / 0.5682 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.3563, allocations: 164.6 kB / 0.5683 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3563, allocations: 0 / 0.5683 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004/0.3567, allocations: 223 kB / 0.5685 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3567, allocations: 11.98 kB / 0.5686 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3567, allocations: 4 kB / 0.5686 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.3569, allocations: 45.7 kB / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3571, allocations: 36.14 kB / 0.5686 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/0.3597, allocations: 2.791 MB / 0.5714 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3598, allocations: 11.89 kB / 0.5714 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3598, allocations: 12 kB / 0.5714 GB, free: 10.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.36, allocations: 130.6 kB / 0.5715 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.36, allocations: 15.91 kB / 0.5715 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.3601, allocations: 20.64 kB / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3601, allocations: 0 / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3601, allocations: 4.062 kB / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3601, allocations: 4 kB / 0.5716 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.3604, allocations: 200.7 kB / 0.5717 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3604, allocations: 0 / 0.5717 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.3606, allocations: 27.98 kB / 0.5718 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001591/0.3607, allocations: 49.69 kB / 0.5718 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.3607, allocations: 8.031 kB / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.3633, allocations: 2.776 MB / 0.5745 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3633, allocations: 4.141 kB / 0.5745 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.3638, allocations: 376.4 kB / 0.5749 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.3638, allocations: 11.89 kB / 0.5749 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3638, allocations: 3.938 kB / 0.5749 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.364, allocations: 8 kB / 0.5749 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3641, allocations: 15.97 kB / 0.5749 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3641, allocations: 4 kB / 0.5749 GB, free: 6.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.3642, allocations: 101.8 kB / 0.575 GB, free: 6.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3642, allocations: 0 / 0.575 GB, free: 6.785 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008335/0.365, allocations: 55.95 kB / 0.5751 GB, free: 6.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.3652, allocations: 98.69 kB / 0.5752 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008685/0.3661, allocations: 345.2 kB / 0.5755 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3661, allocations: 0 / 0.5755 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.3665, allocations: 281.2 kB / 0.5758 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.3673, allocations: 44.45 kB / 0.5758 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3691, allocations: 0.6743 MB / 0.5765 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.3695, allocations: 0.7242 MB / 0.5772 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.3696, allocations: 15.44 kB / 0.5772 GB, free: 4.445 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3696, allocations: 3.938 kB / 0.5772 GB, free: 4.441 MB / 414.1 MB Notification: Performance of Templates: time 0.005982/0.3755, allocations: 3.159 MB / 0.5803 GB, free: 1.289 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.305399678880349]