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.001467/0.001467, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.00162/0.00162, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.406/1.406, allocations: 222.9 MB / 243 MB, free: 15.16 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.2122/0.2122, allocations: 44.17 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 64.34 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1515, allocations: 60.84 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.007225/0.1588, allocations: 3.053 MB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1605, allocations: 418.5 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.1608, allocations: 8 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1611, allocations: 67.3 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.1618, allocations: 158.5 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.1623, allocations: 107.8 kB / 474.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008887/0.1632, allocations: 0.5442 MB / 475 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000539/0.1638, allocations: 160.7 kB / 475.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.1642, allocations: 199.3 kB / 475.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004225/0.1646, allocations: 211.1 kB / 475.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.1647, allocations: 44 kB / 475.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1649, allocations: 40 kB / 475.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.165, allocations: 99.62 kB / 475.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.1654, allocations: 246.9 kB / 476 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.1663, allocations: 0.5216 MB / 476.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1663, allocations: 0 / 476.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1663, allocations: 0 / 476.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1663, allocations: 0 / 476.5 MB, free: 7.77 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.001665/0.168, allocations: 0.7136 MB / 477.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1681, allocations: 8.031 kB / 477.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.1683, allocations: 52.38 kB / 477.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.1688, allocations: 295.5 kB / 477.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.1689, allocations: 29.38 kB / 477.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.169, allocations: 60.28 kB / 477.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1702, allocations: 454.7 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/0.1702, allocations: 12.03 kB / 478.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.1703, allocations: 27.92 kB / 478.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.1704, allocations: 15.98 kB / 478.2 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008286/0.1712, allocations: 263.6 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004335/0.1756, allocations: 1.683 MB / 480.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1767, allocations: 427.6 kB / 480.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.1771, allocations: 155.7 kB / 480.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.1772, allocations: 4 kB / 480.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.699e-05/0.1773, allocations: 50.5 kB / 480.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 6.893e-06/0.1773, allocations: 3.984 kB / 480.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001344/0.1786, allocations: 350.1 kB / 481.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/0.1788, allocations: 273.4 kB / 481.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.1793, allocations: 254.6 kB / 481.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.1793, allocations: 29.7 kB / 481.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.1796, allocations: 247.6 kB / 481.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.1799, allocations: 181.4 kB / 482.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.1802, allocations: 114.6 kB / 482.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003042/0.1806, allocations: 350.8 kB / 482.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.181, allocations: 118 kB / 482.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008379/0.1818, allocations: 421.4 kB / 483 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.1832, allocations: 0.5764 MB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.1833, allocations: 4.5 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001671/0.1849, allocations: 0.5715 MB / 484.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.185, allocations: 8 kB / 484.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.1851, allocations: 8 kB / 484.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.742e-05/0.1851, allocations: 16 kB / 484.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.1862, allocations: 179.7 kB / 484.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-05/0.1863, allocations: 27.86 kB / 484.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.1869, allocations: 63.38 kB / 484.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.246e-05/0.187, allocations: 32 kB / 484.5 MB, free: 15.07 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.0003488/0.1873, allocations: 189.7 kB / 484.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.1877, allocations: 35.62 kB / 484.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.1879, allocations: 41.7 kB / 484.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.1879, allocations: 7.938 kB / 484.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.1879, allocations: 4 kB / 484.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.188, allocations: 7.984 kB / 484.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.1899, allocations: 417.1 kB / 485.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.1899, allocations: 4 kB / 485.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.191, allocations: 123.9 kB / 485.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.191, allocations: 8 kB / 485.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.1911, allocations: 12 kB / 485.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.1911, allocations: 7.938 kB / 485.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.1912, allocations: 12.11 kB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.1925, allocations: 1.079 MB / 486.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.1927, allocations: 116.6 kB / 486.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.1928, allocations: 15.94 kB / 486.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/0.1936, allocations: 11.94 kB / 486.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.439e-05/0.1937, allocations: 27.97 kB / 486.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.1938, allocations: 19.98 kB / 486.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.1941, allocations: 170 kB / 486.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1941, allocations: 0 / 486.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001566/0.1957, allocations: 131.8 kB / 486.9 MB, free: 12.55 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.0002833/0.196, allocations: 115.5 kB / 487 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1971, allocations: 357.3 kB / 487.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1971, allocations: 0.75 kB / 487.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.1975, allocations: 135.9 kB / 487.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.1996, allocations: 95.83 kB / 487.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.204, allocations: 1.949 MB / 489.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.2048, allocations: 0.8352 MB / 490.4 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.2051, allocations: 52.16 kB / 490.5 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2052, allocations: 31.44 kB / 490.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2052, allocations: 0 / 490.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Templates: time 0.009775/0.215, allocations: 4.086 MB / 494.6 MB, free: 4.867 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/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