Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [: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.0008726/0.0008726, allocations: 186.2 kB / 7.799 MB, free: 2.488 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.054/1.054, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.000769/0.000769, allocations: 88.64 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.1513/0.1513, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.328e-06/4.338e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2317, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.3414, allocations: 86.43 MB / 0.5498 GB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.3416, allocations: 67.97 kB / 0.5499 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02088/0.3625, allocations: 8.239 MB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.3626, allocations: 12 kB / 0.5579 GB, free: 4.168 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0007933/0.3634, allocations: 0.6425 MB / 0.5585 GB, free: 3.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3634, allocations: 8.031 kB / 0.5586 GB, free: 3.469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.3635, allocations: 55.34 kB / 0.5586 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.3638, allocations: 297.3 kB / 0.5589 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.3638, allocations: 16 kB / 0.5589 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.3639, allocations: 31.98 kB / 0.5589 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004308/0.3643, allocations: 273.9 kB / 0.5592 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.3648, allocations: 352.2 kB / 0.5595 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.3649, allocations: 11.91 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.3649, allocations: 0 / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.3649, allocations: 15.98 kB / 0.5596 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.3663, allocations: 1.076 MB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.3667, allocations: 289.1 kB / 0.5609 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.367, allocations: 197.8 kB / 0.5611 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.367, allocations: 4.438 kB / 0.5611 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.3671, allocations: 39 kB / 0.5611 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 1.533e-06/0.3671, allocations: 4 kB / 0.5611 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.002235/0.3693, allocations: 1.797 MB / 0.5629 GB, free: 14.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3694, allocations: 89.61 kB / 0.563 GB, free: 14.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3695, allocations: 193 kB / 0.5631 GB, free: 14.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3696, allocations: 25.7 kB / 0.5632 GB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.3697, allocations: 192.8 kB / 0.5634 GB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3698, allocations: 256.2 kB / 0.5636 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.3698, allocations: 0 / 0.5636 GB, free: 13.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3699, allocations: 358.7 kB / 0.5639 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3701, allocations: 133.6 kB / 0.5641 GB, free: 13.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.3704, allocations: 237.2 kB / 0.5643 GB, free: 13.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.3707, allocations: 183 kB / 0.5645 GB, free: 13.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3707, allocations: 3.984 kB / 0.5645 GB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006397/0.3713, allocations: 496.2 kB / 0.5649 GB, free: 12.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3714, allocations: 4 kB / 0.5649 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.3714, allocations: 4 kB / 0.565 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3714, allocations: 4 kB / 0.565 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.372, allocations: 183.8 kB / 0.5651 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.372, allocations: 7.938 kB / 0.5651 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.3722, allocations: 11.98 kB / 0.5651 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.3723, allocations: 32.22 kB / 0.5652 GB, free: 12.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.322e-05/0.3724, allocations: 110.3 kB / 0.5653 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.3724, allocations: 51.42 kB / 0.5653 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.131e-05/0.3725, allocations: 51.55 kB / 0.5654 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3726, allocations: 8 kB / 0.5654 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3726, allocations: 3.938 kB / 0.5654 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3726, allocations: 3.984 kB / 0.5654 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.3741, allocations: 1.297 MB / 0.5667 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3741, allocations: 12.06 kB / 0.5667 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.3747, allocations: 167.8 kB / 0.5668 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3748, allocations: 4 kB / 0.5668 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.3748, allocations: 8 kB / 0.5668 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3748, allocations: 4 kB / 0.5669 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.3748, allocations: 7.938 kB / 0.5669 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008962/0.3757, allocations: 0.9821 MB / 0.5678 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.3758, allocations: 116.6 kB / 0.5679 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.3759, allocations: 4 kB / 0.5679 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.3761, allocations: 11.91 kB / 0.5679 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.3762, allocations: 48.31 kB / 0.568 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.3762, allocations: 20 kB / 0.568 GB, free: 9.141 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001009/0.3763, allocations: 153.2 kB / 0.5682 GB, free: 8.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.3768, allocations: 116 kB / 0.5683 GB, free: 8.883 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001214/0.3769, allocations: 103.1 kB / 0.5684 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00051/0.3774, allocations: 410 kB / 0.5688 GB, free: 8.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3774, allocations: 4.062 kB / 0.5688 GB, free: 8.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.3777, allocations: 217.4 kB / 0.569 GB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.3783, allocations: 88.45 kB / 0.5691 GB, free: 8.074 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3803, allocations: 1.474 MB / 0.5705 GB, free: 6.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.3807, allocations: 0.9054 MB / 0.5714 GB, free: 5.602 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3807, allocations: 0 / 0.5714 GB, free: 5.602 MB / 410.7 MB Notification: Performance of Templates: time 0.008753/0.3895, allocations: 5.076 MB / 0.5763 GB, free: 0.5547 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches