Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008546/0.0008544, allocations: 183.1 kB / 7.8 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007784/0.0007784, allocations: 87.47 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1544/0.1544, allocations: 43.5 MB / 352.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.901e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 58.84 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3369, allocations: 85.29 MB / 0.5487 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.3372, allocations: 67.95 kB / 0.5487 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01681/0.354, allocations: 6.738 MB / 0.5553 GB, free: 6.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3541, allocations: 15.94 kB / 0.5553 GB, free: 6.902 MB / 394.7 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.0006907/0.3548, allocations: 0.6036 MB / 0.5559 GB, free: 6.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3548, allocations: 11.97 kB / 0.5559 GB, free: 6.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.318e-05/0.3549, allocations: 55.42 kB / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3551, allocations: 222.2 kB / 0.5562 GB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3551, allocations: 16 kB / 0.5562 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.3552, allocations: 39.84 kB / 0.5563 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003539/0.3555, allocations: 214 kB / 0.5565 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.356, allocations: 380.7 kB / 0.5568 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.3561, allocations: 3.906 kB / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.3561, allocations: 4 kB / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3561, allocations: 16 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.358, allocations: 1.614 MB / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.3584, allocations: 339.2 kB / 0.5587 GB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3585, allocations: 140.3 kB / 0.5589 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3585, allocations: 4 kB / 0.5589 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3586, allocations: 50.48 kB / 0.5589 GB, free: 2.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.863e-06/0.3586, allocations: 0 / 0.5589 GB, free: 2.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005149/0.3591, allocations: 241 kB / 0.5592 GB, free: 2.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.3592, allocations: 273.1 kB / 0.5594 GB, free: 2.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3594, allocations: 196.4 kB / 0.5596 GB, free: 2.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3594, allocations: 29.7 kB / 0.5596 GB, free: 2.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3595, allocations: 227.5 kB / 0.5599 GB, free: 1.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.3596, allocations: 173.5 kB / 0.56 GB, free: 1.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.3596, allocations: 0 / 0.56 GB, free: 1.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3598, allocations: 350.7 kB / 0.5604 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3599, allocations: 97.56 kB / 0.5604 GB, free: 1.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.3602, allocations: 393.9 kB / 0.5608 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3604, allocations: 167.8 kB / 0.561 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3605, allocations: 4 kB / 0.561 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006305/0.3611, allocations: 473.7 kB / 0.5614 GB, free: 120 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3611, allocations: 4.188 kB / 0.5614 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3611, allocations: 16 kB / 0.5615 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3612, allocations: 12 kB / 0.5615 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.3617, allocations: 191.9 kB / 0.5617 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.3618, allocations: 19.94 kB / 0.5617 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.362, allocations: 51.38 kB / 0.5617 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.362, allocations: 32 kB / 0.5618 GB, free: 15.8 MB / 410.7 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 () * 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 9.346e-05/0.3621, allocations: 134 kB / 0.5619 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.3623, allocations: 39.62 kB / 0.5619 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.3624, allocations: 37.7 kB / 0.562 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3624, allocations: 11.94 kB / 0.562 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3624, allocations: 0 / 0.562 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3624, allocations: 4 kB / 0.562 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.3632, allocations: 353.7 kB / 0.5623 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3632, allocations: 0 / 0.5623 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.3638, allocations: 123.9 kB / 0.5624 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.3638, allocations: 4 kB / 0.5624 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.3638, allocations: 11.94 kB / 0.5624 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3639, allocations: 11.92 kB / 0.5624 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3639, allocations: 4 kB / 0.5625 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006723/0.3645, allocations: 1.135 MB / 0.5636 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.3646, allocations: 120.7 kB / 0.5637 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.3647, allocations: 4 kB / 0.5637 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.3651, allocations: 0 / 0.5637 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3651, allocations: 27.88 kB / 0.5637 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.3651, allocations: 19.98 kB / 0.5637 GB, free: 13.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.526e-05/0.3652, allocations: 145.2 kB / 0.5639 GB, free: 13.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006874/0.3659, allocations: 119.6 kB / 0.564 GB, free: 13.37 MB / 410.7 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 () * 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.0001257/0.3661, allocations: 111.2 kB / 0.5641 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.3665, allocations: 294.3 kB / 0.5644 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3665, allocations: 0 / 0.5644 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3666, allocations: 119.9 kB / 0.5645 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/0.3673, allocations: 75.34 kB / 0.5646 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3695, allocations: 1.89 MB / 0.5664 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.37, allocations: 0.8717 MB / 0.5672 GB, free: 9.941 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.37, allocations: 4 kB / 0.5673 GB, free: 9.938 MB / 410.7 MB Notification: Performance of Templates: time 0.006855/0.3768, allocations: 3.821 MB / 0.571 GB, free: 6.141 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches