Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 109.4 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2195/0.2195, allocations: 44.17 MB / 336.1 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 56.5 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004646/0.1467, allocations: 3.297 MB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1482, allocations: 0.7985 MB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1484, allocations: 11.94 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1486, allocations: 51.56 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.149, allocations: 150.8 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1492, allocations: 91.92 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005709/0.1498, allocations: 0.5714 MB / 473.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.1501, allocations: 138 kB / 473.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.1504, allocations: 211.2 kB / 473.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1506, allocations: 230.9 kB / 474 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.1507, allocations: 28 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.1508, allocations: 32 kB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.1509, allocations: 87.61 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.1511, allocations: 246.8 kB / 474.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.1516, allocations: 0.5254 MB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1516, allocations: 3.938 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1516, allocations: 0 / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1516, allocations: 0 / 475 MB, free: 8.355 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001104/0.1527, allocations: 0.764 MB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1528, allocations: 8.031 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1529, allocations: 52.38 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.1533, allocations: 322.4 kB / 476.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.1534, allocations: 41.38 kB / 476.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.1535, allocations: 52.28 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.1541, allocations: 438.9 kB / 476.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.1542, allocations: 7.906 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.1542, allocations: 20 kB / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.1542, allocations: 12 kB / 476.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.1547, allocations: 316.4 kB / 477 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1562, allocations: 1.15 MB / 478.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.1569, allocations: 488.9 kB / 478.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.1573, allocations: 214.9 kB / 478.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1573, allocations: 8.469 kB / 478.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1573, allocations: 42.94 kB / 478.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.713e-06/0.1573, allocations: 0 / 478.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002979/0.1603, allocations: 2.138 MB / 481 MB, free: 1.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.1604, allocations: 85.67 kB / 481.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1607, allocations: 250.9 kB / 481.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1607, allocations: 41.7 kB / 481.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1609, allocations: 209 kB / 481.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.1611, allocations: 272.1 kB / 481.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.1612, allocations: 126.6 kB / 482 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1614, allocations: 354.7 kB / 482.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.1617, allocations: 157.9 kB / 482.5 MB, free: 436 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.162, allocations: 280.9 kB / 482.7 MB, free: 116 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.1627, allocations: 462.9 kB / 483.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1627, allocations: 3.938 kB / 483.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007587/0.1634, allocations: 0.5721 MB / 483.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1635, allocations: 10.34 kB / 483.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1635, allocations: 8.062 kB / 483.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1635, allocations: 4 kB / 483.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000547/0.1641, allocations: 183.7 kB / 484 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1641, allocations: 7.984 kB / 484 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.1643, allocations: 27.98 kB / 484 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.1644, allocations: 23.94 kB / 484 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.1646, allocations: 189.6 kB / 484.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/0.1647, allocations: 39.53 kB / 484.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1648, allocations: 59.64 kB / 484.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1648, allocations: 8 kB / 484.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1648, allocations: 0 / 484.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.1648, allocations: 7.984 kB / 484.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.1668, allocations: 1.45 MB / 485.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1668, allocations: 4 kB / 485.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.1674, allocations: 160.1 kB / 485.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.1674, allocations: 12 kB / 485.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.1675, allocations: 19.94 kB / 486 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.1675, allocations: 11.92 kB / 486 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1675, allocations: 4 kB / 486 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.1685, allocations: 0.9077 MB / 486.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.1686, allocations: 124.5 kB / 487 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.1687, allocations: 23.94 kB / 487 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.169, allocations: 16 kB / 487 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.169, allocations: 48.31 kB / 487.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.1691, allocations: 20 kB / 487.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.1692, allocations: 185.9 kB / 487.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1693, allocations: 4 kB / 487.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005432/0.1698, allocations: 144 kB / 487.4 MB, free: 11.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001598/0.17, allocations: 123 kB / 487.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006878/0.1707, allocations: 455.5 kB / 488 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1707, allocations: 4.562 kB / 488 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.171, allocations: 242.2 kB / 488.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009/0.1719, allocations: 112.1 kB / 488.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.1746, allocations: 1.857 MB / 490.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.1751, allocations: 0.8487 MB / 491.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1753, allocations: 64.58 kB / 491.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.1754, allocations: 39.44 kB / 491.2 MB, free: 7.359 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1754, allocations: 0 / 491.2 MB, free: 7.359 MB / 366.1 MB Notification: Performance of Templates: time 0.009391/0.1848, allocations: 5.046 MB / 496.2 MB, free: 2.363 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches