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.0008568/0.0008568, allocations: 97.66 kB / 17 MB, free: 6.039 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.0008798/0.0008798, allocations: 181.8 kB / 17.89 MB, free: 5.637 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 / 241.9 MB, free: 312 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.2222/0.2222, allocations: 44.25 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004412/0.1383, allocations: 2.59 MB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.1392, allocations: 410.5 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1393, allocations: 11.94 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.974e-05/0.1394, allocations: 47.61 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1398, allocations: 146.8 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.14, allocations: 71.94 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.1405, allocations: 0.5091 MB / 475.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.1408, allocations: 128.9 kB / 475.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.141, allocations: 167.4 kB / 475.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1413, allocations: 195.2 kB / 475.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.1413, allocations: 24 kB / 475.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.945e-05/0.1414, allocations: 24 kB / 475.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1415, allocations: 75.67 kB / 476 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.842e-05/0.1416, allocations: 121.5 kB / 476.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1419, allocations: 379.2 kB / 476.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1419, allocations: 0 / 476.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.142, allocations: 7.938 kB / 476.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.142, allocations: 0 / 476.5 MB, free: 8.785 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.0008751/0.1428, allocations: 0.6393 MB / 477.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1429, allocations: 12.03 kB / 477.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.932e-05/0.143, allocations: 51.44 kB / 477.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1433, allocations: 286.4 kB / 477.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.1433, allocations: 36.95 kB / 477.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.1434, allocations: 55.91 kB / 477.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.1441, allocations: 454.1 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1442, allocations: 11.84 kB / 478 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.1442, allocations: 20 kB / 478 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.1442, allocations: 12 kB / 478 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.1447, allocations: 261.8 kB / 478.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.1468, allocations: 1.695 MB / 480 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.1473, allocations: 423.6 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.1475, allocations: 151.7 kB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1475, allocations: 11.94 kB / 480.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1476, allocations: 50.5 kB / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.1476, allocations: 0 / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007156/0.1483, allocations: 353.4 kB / 480.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.1485, allocations: 265 kB / 481.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1487, allocations: 250.8 kB / 481.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1488, allocations: 33.7 kB / 481.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1489, allocations: 244.1 kB / 481.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.149, allocations: 185.4 kB / 481.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.1491, allocations: 16 kB / 481.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.1493, allocations: 350.7 kB / 482.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.1495, allocations: 117.9 kB / 482.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.1499, allocations: 413.6 kB / 482.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1502, allocations: 183.8 kB / 483 MB, free: 1.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1502, allocations: 4 kB / 483 MB, free: 1.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008668/0.1511, allocations: 0.5644 MB / 483.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.1511, allocations: 10.5 kB / 483.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.1512, allocations: 15.94 kB / 483.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.1512, allocations: 16 kB / 483.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.1517, allocations: 179.7 kB / 483.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/0.1517, allocations: 24.42 kB / 483.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.152, allocations: 68 kB / 483.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.152, allocations: 28 kB / 483.9 MB, free: 0.8281 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.1522, allocations: 186.1 kB / 484 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.1524, allocations: 39.62 kB / 484.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.1525, allocations: 41.64 kB / 484.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1525, allocations: 4 kB / 484.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1525, allocations: 4 kB / 484.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1525, allocations: 7.953 kB / 484.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.1535, allocations: 429.1 kB / 484.6 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1535, allocations: 4 kB / 484.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.154, allocations: 123.9 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.154, allocations: 4 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.1541, allocations: 11.98 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1541, allocations: 4 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1541, allocations: 4 kB / 484.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009931/0.1551, allocations: 1.076 MB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.1552, allocations: 108.7 kB / 485.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.1552, allocations: 12 kB / 485.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.1556, allocations: 12 kB / 485.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1557, allocations: 39.84 kB / 485.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1557, allocations: 12 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.1559, allocations: 170 kB / 486.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1559, allocations: 0 / 486.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007527/0.1566, allocations: 135.7 kB / 486.3 MB, free: 14.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001587/0.1568, allocations: 119.1 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005005/0.1573, allocations: 341.6 kB / 486.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1573, allocations: 4.062 kB / 486.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.1575, allocations: 123.8 kB / 486.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.1586, allocations: 91.09 kB / 486.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.162, allocations: 2.448 MB / 489.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.1625, allocations: 0.8241 MB / 490.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.1626, allocations: 52.16 kB / 490.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.1627, allocations: 31.44 kB / 490.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1627, allocations: 0 / 490.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of Templates: time 0.007716/0.1705, allocations: 3.732 MB / 494 MB, free: 6.52 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