Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001277, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.3 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 46.14 MB / 343.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003444/0.003444, allocations: 76.41 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1308, allocations: 62.46 MB / 479.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.005709/0.1365, allocations: 3.115 MB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1378, allocations: 414.5 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.1382, allocations: 15.94 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1384, allocations: 43.62 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1388, allocations: 142.8 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1391, allocations: 83.92 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.1397, allocations: 0.5247 MB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.1399, allocations: 133 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1402, allocations: 183.3 kB / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.1404, allocations: 211 kB / 484.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.1405, allocations: 28 kB / 484.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.1405, allocations: 32 kB / 484.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.796e-05/0.1406, allocations: 79.69 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.1409, allocations: 234.9 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006567/0.1415, allocations: 0.4946 MB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1416, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1416, allocations: 4 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1416, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.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.001065/0.1426, allocations: 0.7136 MB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1427, allocations: 8.875 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.1428, allocations: 52.38 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1432, allocations: 295.4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.1432, allocations: 37.38 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.1433, allocations: 56.28 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.144, allocations: 454.7 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.1441, allocations: 12.03 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.1441, allocations: 27.94 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.1441, allocations: 12 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.1446, allocations: 259.6 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.1472, allocations: 1.703 MB / 488.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.1479, allocations: 415.6 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1481, allocations: 159.7 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1482, allocations: 11.94 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.1482, allocations: 50.44 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 4.328e-06/0.1482, allocations: 3.984 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007879/0.149, allocations: 353.6 kB / 489.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/0.1492, allocations: 269 kB / 489.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1495, allocations: 251.1 kB / 490.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.1496, allocations: 37.7 kB / 490.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.1498, allocations: 243.6 kB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.15, allocations: 181.4 kB / 490.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1501, allocations: 114.7 kB / 490.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.1504, allocations: 346.8 kB / 491.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.1506, allocations: 121.9 kB / 491.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.1511, allocations: 413.6 kB / 491.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.152, allocations: 0.5771 MB / 492.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.152, allocations: 4 kB / 492.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008663/0.1528, allocations: 0.5676 MB / 492.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1529, allocations: 12.06 kB / 492.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.1529, allocations: 12 kB / 492.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.1529, allocations: 15.94 kB / 492.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.1535, allocations: 183.7 kB / 493 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/0.1535, allocations: 19.92 kB / 493 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.1538, allocations: 63.38 kB / 493 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.1538, allocations: 32 kB / 493.1 MB, free: 7.234 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.0002012/0.154, allocations: 189.5 kB / 493.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.1542, allocations: 35.62 kB / 493.3 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.674e-05/0.1543, allocations: 42.14 kB / 493.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.1544, allocations: 11.94 kB / 493.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.1544, allocations: 0 / 493.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.1544, allocations: 7.984 kB / 493.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1555, allocations: 421.1 kB / 493.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1555, allocations: 0 / 493.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.1561, allocations: 123.9 kB / 493.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.1561, allocations: 7.938 kB / 493.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.1561, allocations: 16 kB / 493.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.1562, allocations: 15.88 kB / 493.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1562, allocations: 0 / 493.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1573, allocations: 1.078 MB / 495 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.1574, allocations: 112.6 kB / 495.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.1574, allocations: 15.98 kB / 495.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.1578, allocations: 11.94 kB / 495.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1579, allocations: 27.97 kB / 495.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1579, allocations: 8 kB / 495.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1581, allocations: 182 kB / 495.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1581, allocations: 3.938 kB / 495.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008131/0.1589, allocations: 131.8 kB / 495.5 MB, free: 4.723 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.0002023/0.1591, allocations: 119.1 kB / 495.6 MB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005701/0.1597, allocations: 338.1 kB / 495.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1597, allocations: 0 / 495.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1599, allocations: 132.4 kB / 496.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.1611, allocations: 91.42 kB / 496.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.1643, allocations: 2.134 MB / 498.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.1649, allocations: 0.828 MB / 499.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.1651, allocations: 52.09 kB / 499.2 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.1651, allocations: 35.44 kB / 499.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1651, allocations: 0 / 499.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of Templates: time 0.008597/0.1737, allocations: 3.889 MB / 0.4913 GB, free: 13.06 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches