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.001147/0.001147, allocations: 104.3 kB / 17.2 MB, free: 6.273 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.0009998/0.0009998, 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.433/1.433, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2118/0.2118, allocations: 44.17 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 58.69 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1397, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005374/0.1451, allocations: 3.102 MB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1463, allocations: 410.5 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.1467, allocations: 11.94 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1469, allocations: 47.56 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1475, allocations: 146.8 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1478, allocations: 87.92 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.1485, allocations: 0.5169 MB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.1488, allocations: 136.9 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.1492, allocations: 187.2 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.1495, allocations: 207 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.1496, allocations: 28 kB / 473.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.1497, allocations: 28 kB / 473.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.1498, allocations: 79.69 kB / 473.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.1501, allocations: 242.9 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.1506, allocations: 0.4907 MB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1506, allocations: 0 / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1506, allocations: 0 / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.1506, allocations: 0 / 474.2 MB, free: 9.137 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.001052/0.1517, allocations: 0.7136 MB / 474.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1517, allocations: 12.03 kB / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.1518, allocations: 56.36 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.1522, allocations: 295.5 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.1523, allocations: 29.38 kB / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.1524, allocations: 56.28 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.1531, allocations: 462.6 kB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.1531, allocations: 8.094 kB / 475.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.1532, allocations: 27.92 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1532, allocations: 12 kB / 475.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.1536, allocations: 259.6 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.1559, allocations: 1.699 MB / 477.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.1564, allocations: 423.7 kB / 478.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1567, allocations: 159.6 kB / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1567, allocations: 4 kB / 478.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1567, allocations: 46.5 kB / 478.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.1567, allocations: 4 kB / 478.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.000736/0.1575, allocations: 350 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.1576, allocations: 273 kB / 479 MB, free: 3.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1579, allocations: 246.6 kB / 479.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.1579, allocations: 33.64 kB / 479.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1581, allocations: 248.1 kB / 479.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.1582, allocations: 185.4 kB / 479.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1583, allocations: 114.6 kB / 479.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1585, allocations: 354.8 kB / 480.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.1587, allocations: 114 kB / 480.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.1591, allocations: 417.6 kB / 480.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.1598, allocations: 0.5803 MB / 481.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.1598, allocations: 4 kB / 481.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008592/0.1606, allocations: 0.5643 MB / 481.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1607, allocations: 10.5 kB / 481.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.1607, allocations: 12.12 kB / 481.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.1607, allocations: 20.06 kB / 481.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.1613, allocations: 179.7 kB / 482.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.1613, allocations: 23.92 kB / 482.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.1616, allocations: 63.38 kB / 482.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.1616, allocations: 32 kB / 482.2 MB, free: 440 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.1618, allocations: 185.5 kB / 482.4 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.162, allocations: 39.61 kB / 482.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.1621, allocations: 45.7 kB / 482.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.1621, allocations: 11.94 kB / 482.5 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1621, allocations: 0 / 482.5 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1621, allocations: 7.984 kB / 482.5 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/0.1631, allocations: 417.1 kB / 482.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1631, allocations: 0 / 482.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.1636, allocations: 127.8 kB / 483 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1636, allocations: 4 kB / 483 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.1637, allocations: 15.94 kB / 483 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1637, allocations: 7.938 kB / 483 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1637, allocations: 4.234 kB / 483 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.1645, allocations: 1.085 MB / 484.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.1646, allocations: 116.6 kB / 484.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.1646, allocations: 12 kB / 484.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.165, allocations: 11.94 kB / 484.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1651, allocations: 27.97 kB / 484.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1651, allocations: 15.98 kB / 484.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1653, allocations: 170 kB / 484.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1653, allocations: 4 kB / 484.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007743/0.166, allocations: 131.8 kB / 484.6 MB, free: 13.91 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.0001886/0.1662, allocations: 120.2 kB / 484.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005013/0.1668, allocations: 340.2 kB / 485 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1668, allocations: 0 / 485 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.1669, allocations: 137.6 kB / 485.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.1681, allocations: 88.64 kB / 485.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.1709, allocations: 2.131 MB / 487.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.1713, allocations: 0.8356 MB / 488.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.1715, allocations: 48.16 kB / 488.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.1716, allocations: 31.44 kB / 488.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1716, allocations: 0 / 488.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of Templates: time 0.008955/0.1805, allocations: 3.901 MB / 492.2 MB, free: 6.246 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