Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 96.2 kB / 17.35 MB, free: 6.371 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.00103/0.00103, allocations: 172.2 kB / 18.25 MB, free: 5.523 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.464/1.464, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2006/0.2006, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003635, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 61.92 MB / 472.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003173/0.146, allocations: 2.709 MB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006746/0.1467, allocations: 414.5 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1469, allocations: 8 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.48e-05/0.147, allocations: 55.55 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.1473, allocations: 146.8 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.1475, allocations: 83.92 kB / 475.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004692/0.1479, allocations: 0.5247 MB / 476.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.1482, allocations: 132.9 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1484, allocations: 183.2 kB / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1486, allocations: 195.1 kB / 476.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.1486, allocations: 24 kB / 476.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.1487, allocations: 27.94 kB / 476.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.1488, allocations: 71.7 kB / 476.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.149, allocations: 260.6 kB / 477 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.1494, allocations: 498.3 kB / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1494, allocations: 0 / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1494, allocations: 0 / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1494, allocations: 0 / 477.5 MB, free: 8.023 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007976/0.1502, allocations: 0.6395 MB / 478.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1503, allocations: 15.97 kB / 478.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.1504, allocations: 48.38 kB / 478.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1507, allocations: 287.6 kB / 478.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.1507, allocations: 37.38 kB / 478.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.1508, allocations: 56.22 kB / 478.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.1514, allocations: 458.7 kB / 479.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.1515, allocations: 12.09 kB / 479.1 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.1515, allocations: 23.94 kB / 479.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1515, allocations: 12 kB / 479.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.152, allocations: 263.6 kB / 479.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.1541, allocations: 1.699 MB / 481.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.1546, allocations: 411.6 kB / 481.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1548, allocations: 163.6 kB / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1549, allocations: 7.984 kB / 481.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.1549, allocations: 50.5 kB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.953e-06/0.1549, allocations: 0 / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007135/0.1556, allocations: 353.8 kB / 482 MB, free: 3.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.1558, allocations: 276.8 kB / 482.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.156, allocations: 251.1 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1561, allocations: 33.7 kB / 482.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.1563, allocations: 247.6 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1564, allocations: 177.5 kB / 483 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1565, allocations: 57.69 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1567, allocations: 354.8 kB / 483.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1569, allocations: 118 kB / 483.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.1573, allocations: 417.6 kB / 483.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.158, allocations: 0.5732 MB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.158, allocations: 4 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008107/0.1588, allocations: 0.5676 MB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1589, allocations: 10.69 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1589, allocations: 16 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.1589, allocations: 12 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.1594, allocations: 179.7 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.31e-05/0.1595, allocations: 19.94 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.1597, allocations: 67.28 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.1598, allocations: 32 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.000214/0.16, allocations: 189.5 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.1602, allocations: 39.61 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.102e-05/0.1603, allocations: 45.7 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.1603, allocations: 11.94 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1603, allocations: 0 / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1603, allocations: 7.984 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.1613, allocations: 405.2 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1613, allocations: 4 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.1619, allocations: 127.8 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1619, allocations: 4 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.1619, allocations: 16.17 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.162, allocations: 11.94 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.162, allocations: 8 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.163, allocations: 1.079 MB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.451e-05/0.1631, allocations: 116.5 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.1632, allocations: 11.98 kB / 487.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.1635, allocations: 15.94 kB / 487.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.1636, allocations: 27.91 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1636, allocations: 15.94 kB / 487.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1638, allocations: 182 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1638, allocations: 0 / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007854/0.1646, allocations: 131.8 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.0001674/0.1648, allocations: 108.3 kB / 487.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.1653, allocations: 347.9 kB / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1654, allocations: 1.75 kB / 488.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1655, allocations: 131.8 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.1667, allocations: 97.53 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1699, allocations: 2.471 MB / 491 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.1703, allocations: 0.8356 MB / 491.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.1705, allocations: 48.16 kB / 491.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.1706, allocations: 31.44 kB / 491.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1706, allocations: 0 / 491.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of Templates: time 0.008062/0.1787, allocations: 3.867 MB / 495.7 MB, free: 4.949 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches