Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001535/0.001536, allocations: 106.8 kB / 16.41 MB, free: 6.465 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.001994/0.001994, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2203/0.2203, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1473, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004258/0.1516, allocations: 3.286 MB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1533, allocations: 0.8305 MB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1535, allocations: 11.94 kB / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1537, allocations: 79.23 kB / 0.492 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1541, allocations: 174.5 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1543, allocations: 107.9 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.1549, allocations: 0.6026 MB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.1551, allocations: 177.3 kB / 0.493 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1554, allocations: 227.2 kB / 0.4932 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1556, allocations: 242.9 kB / 0.4934 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.1557, allocations: 44 kB / 0.4935 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.1558, allocations: 44 kB / 0.4935 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.1558, allocations: 95.69 kB / 0.4936 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.1561, allocations: 266.7 kB / 0.4939 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.1566, allocations: 0.5645 MB / 0.4944 GB, free: 5.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1566, allocations: 0 / 0.4944 GB, free: 5.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1566, allocations: 3.938 kB / 0.4944 GB, free: 5.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1566, allocations: 0 / 0.4944 GB, free: 5.055 MB / 382.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.001202/0.1578, allocations: 0.7561 MB / 0.4952 GB, free: 4.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1579, allocations: 15.88 kB / 0.4952 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.158, allocations: 56.28 kB / 0.4952 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.1586, allocations: 322.4 kB / 0.4955 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.1586, allocations: 37.38 kB / 0.4956 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.1587, allocations: 56.28 kB / 0.4956 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/0.1595, allocations: 434.9 kB / 0.496 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.1596, allocations: 11.91 kB / 0.4961 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.1596, allocations: 20 kB / 0.4961 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.1597, allocations: 12 kB / 0.4961 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.1602, allocations: 316.4 kB / 0.4964 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1618, allocations: 1.138 MB / 0.4975 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.1625, allocations: 485.1 kB / 0.498 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.1627, allocations: 218.8 kB / 0.4982 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.1628, allocations: 8.375 kB / 0.4982 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1628, allocations: 43.03 kB / 0.4982 GB, free: 0.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.793e-06/0.1628, allocations: 0 / 0.4982 GB, free: 0.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002828/0.1657, allocations: 2.147 MB / 0.5003 GB, free: 14.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1657, allocations: 81.67 kB / 0.5004 GB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.166, allocations: 255 kB / 0.5006 GB, free: 14.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.166, allocations: 33.7 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1662, allocations: 213 kB / 0.5009 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.1664, allocations: 268 kB / 0.5011 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.1667, allocations: 118.7 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.1669, allocations: 358.7 kB / 0.5016 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.1673, allocations: 161.9 kB / 0.5017 GB, free: 13.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.1678, allocations: 276.8 kB / 0.502 GB, free: 12.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.1686, allocations: 474.9 kB / 0.5025 GB, free: 12.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1686, allocations: 0 / 0.5025 GB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007329/0.1694, allocations: 0.5641 MB / 0.503 GB, free: 11.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1694, allocations: 4 kB / 0.503 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.1694, allocations: 8.266 kB / 0.503 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1694, allocations: 12.06 kB / 0.503 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.17, allocations: 183.7 kB / 0.5032 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.17, allocations: 4 kB / 0.5032 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1703, allocations: 27.98 kB / 0.5032 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1703, allocations: 31.92 kB / 0.5033 GB, free: 11.48 MB / 398.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.0001842/0.1705, allocations: 181.6 kB / 0.5034 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.308e-05/0.1706, allocations: 47.44 kB / 0.5035 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1707, allocations: 63.64 kB / 0.5035 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1707, allocations: 8 kB / 0.5036 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1707, allocations: 0 / 0.5036 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1707, allocations: 3.984 kB / 0.5036 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.1727, allocations: 1.444 MB / 0.505 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1727, allocations: 352 / 0.505 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.1733, allocations: 163.8 kB / 0.5051 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.1733, allocations: 4 kB / 0.5051 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.1733, allocations: 19.94 kB / 0.5051 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.1734, allocations: 15.92 kB / 0.5052 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1734, allocations: 4 kB / 0.5052 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1745, allocations: 0.9156 MB / 0.5061 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1746, allocations: 120.6 kB / 0.5062 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.1746, allocations: 15.94 kB / 0.5062 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.1749, allocations: 16 kB / 0.5062 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.175, allocations: 52.31 kB / 0.5063 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.175, allocations: 20 kB / 0.5063 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1752, allocations: 189.9 kB / 0.5065 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1752, allocations: 0 / 0.5065 GB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004597/0.1756, allocations: 144 kB / 0.5066 GB, free: 7.883 MB / 398.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.0001246/0.1758, allocations: 115.1 kB / 0.5067 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.1765, allocations: 463.9 kB / 0.5071 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1765, allocations: 4.125 kB / 0.5072 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.1768, allocations: 234.2 kB / 0.5074 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.1775, allocations: 121.4 kB / 0.5075 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.18, allocations: 1.664 MB / 0.5091 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1804, allocations: 0.8407 MB / 0.5099 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.1806, allocations: 64.64 kB / 0.51 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.1807, allocations: 43.44 kB / 0.51 GB, free: 4.254 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1807, allocations: 3.938 kB / 0.51 GB, free: 4.25 MB / 398.1 MB Notification: Performance of Templates: time 0.01085/0.1916, allocations: 5.403 MB / 0.5153 GB, free: 14.87 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches