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.00104/0.00104, allocations: 96.81 kB / 16.99 MB, free: 5.941 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.0009636/0.0009636, allocations: 181.9 kB / 17.87 MB, free: 5.609 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.416/1.416, allocations: 223.2 MB / 241.8 MB, free: 368 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.2077/0.2077, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003126, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002837/0.1374, allocations: 2.407 MB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006548/0.1381, allocations: 438.7 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1382, allocations: 11.94 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.724e-05/0.1383, allocations: 55.55 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.1386, allocations: 179.5 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1388, allocations: 67.94 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.1392, allocations: 395.2 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.1394, allocations: 124.9 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1396, allocations: 167.4 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1398, allocations: 195.2 kB / 475.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.1398, allocations: 24 kB / 475.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.1399, allocations: 24 kB / 475.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.14, allocations: 75.69 kB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.524e-05/0.1401, allocations: 117.5 kB / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1404, allocations: 387.1 kB / 476.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1404, allocations: 0 / 476.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1404, allocations: 0 / 476.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1404, allocations: 0 / 476.1 MB, free: 9.098 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.0007825/0.1412, allocations: 0.6393 MB / 476.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1412, allocations: 11.97 kB / 476.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/0.1413, allocations: 51.44 kB / 476.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.1416, allocations: 278.4 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/0.1416, allocations: 36.95 kB / 477.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.1417, allocations: 51.91 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.1423, allocations: 454.1 kB / 477.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.1423, allocations: 15.89 kB / 477.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.1424, allocations: 16 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1424, allocations: 16 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.1428, allocations: 259.6 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.1448, allocations: 1.695 MB / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.1453, allocations: 419.8 kB / 480 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1453, allocations: 16.16 kB / 480 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.1454, allocations: 46.48 kB / 480 MB, free: 4.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.1454, allocations: 0 / 480 MB, free: 4.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006815/0.1461, allocations: 357.4 kB / 480.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.1462, allocations: 269 kB / 480.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1465, allocations: 250.8 kB / 480.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1465, allocations: 37.7 kB / 480.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1467, allocations: 239.6 kB / 481.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1468, allocations: 181.4 kB / 481.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.1468, allocations: 12.22 kB / 481.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.147, allocations: 358.8 kB / 481.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1472, allocations: 110 kB / 481.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.1476, allocations: 413.6 kB / 482.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.1478, allocations: 183.8 kB / 482.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1478, allocations: 4 kB / 482.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000763/0.1486, allocations: 0.5643 MB / 483 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1486, allocations: 8 kB / 483 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.1487, allocations: 12 kB / 483 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.1487, allocations: 16 kB / 483 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.1492, allocations: 175.7 kB / 483.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.1492, allocations: 19.89 kB / 483.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.1495, allocations: 63.72 kB / 483.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.1495, allocations: 36 kB / 483.3 MB, free: 1.336 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.000171/0.1497, allocations: 190 kB / 483.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.1499, allocations: 35.62 kB / 483.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.15, allocations: 41.7 kB / 483.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.15, allocations: 8 kB / 483.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.15, allocations: 4.625 kB / 483.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.15, allocations: 7.938 kB / 483.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/0.1509, allocations: 417 kB / 484 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1509, allocations: 0 / 484 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.1515, allocations: 131.9 kB / 484.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1515, allocations: 4 kB / 484.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.1515, allocations: 23.92 kB / 484.1 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.1515, allocations: 4 kB / 484.1 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1515, allocations: 3.938 kB / 484.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.1524, allocations: 1.171 MB / 485.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.1525, allocations: 108.7 kB / 485.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.1526, allocations: 15.98 kB / 485.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.153, allocations: 11.95 kB / 485.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.153, allocations: 31.91 kB / 485.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.153, allocations: 16 kB / 485.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1532, allocations: 170 kB / 485.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1532, allocations: 4 kB / 485.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007455/0.1539, allocations: 135.7 kB / 485.8 MB, free: 14.67 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.0001484/0.1541, allocations: 111.1 kB / 485.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.1546, allocations: 341.4 kB / 486.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1546, allocations: 0 / 486.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1547, allocations: 124.3 kB / 486.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.1555, allocations: 88.44 kB / 486.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1582, allocations: 2.424 MB / 488.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1587, allocations: 0.8473 MB / 489.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.1589, allocations: 52.14 kB / 489.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.1589, allocations: 35.38 kB / 489.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1589, allocations: 0 / 489.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of Templates: time 0.007181/0.1661, allocations: 3.722 MB / 493.5 MB, free: 6.891 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","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches