Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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) 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(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [: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.001735/0.001735, allocations: 186.5 kB / 8.15 MB, free: 0.8398 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.2 MB / 213.7 MB, free: 8.605 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.001299, allocations: 85.12 kB / 261.8 MB, free: 5.062 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/1.003e-05, allocations: 0 / 314.3 MB, free: 2.316 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 47.56 MB / 361.8 MB, free: 2.637 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3265/0.4301, allocations: 77.11 MB / 438.9 MB, free: 10.67 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4304, allocations: 74.2 kB / 439 MB, free: 10.63 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.01631/0.4467, allocations: 4 MB / 443 MB, free: 7.449 MB / 322.8 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.4468, allocations: 4 kB / 443 MB, free: 7.445 MB / 322.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008856/0.4477, allocations: 0.4905 MB / 443.5 MB, free: 6.93 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4477, allocations: 8.031 kB / 443.5 MB, free: 6.922 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.4478, allocations: 27.62 kB / 443.5 MB, free: 6.895 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.4481, allocations: 230.6 kB / 443.8 MB, free: 6.641 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4481, allocations: 8 kB / 443.8 MB, free: 6.633 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.4482, allocations: 19.91 kB / 443.8 MB, free: 6.613 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004098/0.4486, allocations: 134.5 kB / 443.9 MB, free: 6.527 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.4491, allocations: 171.6 kB / 444.1 MB, free: 6.391 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.4491, allocations: 5.641 kB / 444.1 MB, free: 6.387 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.4491, allocations: 4 kB / 444.1 MB, free: 6.383 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4492, allocations: 4 kB / 444.1 MB, free: 6.379 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.4506, allocations: 0.7052 MB / 444.8 MB, free: 5.77 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.451, allocations: 116.5 kB / 444.9 MB, free: 5.684 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.4512, allocations: 92.31 kB / 445 MB, free: 5.621 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.4513, allocations: 4 kB / 445 MB, free: 5.617 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4513, allocations: 38.22 kB / 445.1 MB, free: 5.578 MB / 322.8 MB Notification: Performance of pre-optimization done (n=26): time 2.555e-06/0.4513, allocations: 0 / 445.1 MB, free: 5.578 MB / 322.8 MB Notification: Performance of matching and sorting (n=28): time 0.001479/0.4528, allocations: 0.7667 MB / 445.8 MB, free: 4.828 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.4529, allocations: 55.28 kB / 445.9 MB, free: 4.766 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.453, allocations: 124.8 kB / 446 MB, free: 4.645 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.453, allocations: 25.7 kB / 446 MB, free: 4.613 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.4531, allocations: 204.6 kB / 446.2 MB, free: 4.422 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.4532, allocations: 98.09 kB / 446.3 MB, free: 4.336 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.4532, allocations: 0 / 446.3 MB, free: 4.336 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.4533, allocations: 322.7 kB / 446.6 MB, free: 4.016 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.4534, allocations: 55.06 kB / 446.7 MB, free: 3.984 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.4536, allocations: 94.09 kB / 446.8 MB, free: 3.906 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.4538, allocations: 75.84 kB / 446.9 MB, free: 3.859 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4538, allocations: 4 kB / 446.9 MB, free: 3.855 MB / 322.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004454/0.4543, allocations: 201.6 kB / 447.1 MB, free: 3.695 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.4543, allocations: 4 kB / 447.1 MB, free: 3.691 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4543, allocations: 0 / 447.1 MB, free: 3.691 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4543, allocations: 11.38 kB / 447.1 MB, free: 3.684 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.4549, allocations: 79.83 kB / 447.2 MB, free: 3.609 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.455, allocations: 4 kB / 447.2 MB, free: 3.605 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.4552, allocations: 14.52 kB / 447.2 MB, free: 3.594 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.4552, allocations: 11.81 kB / 447.2 MB, free: 3.586 MB / 322.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 6.432e-05/0.4553, allocations: 33.64 kB / 447.2 MB, free: 3.547 MB / 322.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.4554, allocations: 19.72 kB / 447.2 MB, free: 3.527 MB / 322.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.676e-05/0.4555, allocations: 25.11 kB / 447.3 MB, free: 3.52 MB / 322.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4555, allocations: 0 / 447.3 MB, free: 3.52 MB / 322.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4555, allocations: 4 kB / 447.3 MB, free: 3.516 MB / 322.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4555, allocations: 0 / 447.3 MB, free: 3.516 MB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4565, allocations: 0.5587 MB / 447.8 MB, free: 3.004 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.4566, allocations: 5.078 kB / 447.8 MB, free: 3 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.4572, allocations: 75.89 kB / 447.9 MB, free: 2.926 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.4573, allocations: 6.344 kB / 447.9 MB, free: 2.922 MB / 322.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.4573, allocations: 7.734 kB / 447.9 MB, free: 2.918 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.4573, allocations: 10.69 kB / 447.9 MB, free: 2.91 MB / 322.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4573, allocations: 0 / 447.9 MB, free: 2.91 MB / 322.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006113/0.4579, allocations: 397.8 kB / 448.3 MB, free: 2.559 MB / 322.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.458, allocations: 92.91 kB / 448.4 MB, free: 2.449 MB / 322.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.4581, allocations: 8 kB / 448.4 MB, free: 2.441 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.4583, allocations: 11.91 kB / 448.4 MB, free: 2.43 MB / 322.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.4584, allocations: 13.72 kB / 448.4 MB, free: 2.418 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.4584, allocations: 11.88 kB / 448.4 MB, free: 2.41 MB / 322.8 MB Notification: Performance of sort global known variables: time 7.059e-05/0.4585, allocations: 104.8 kB / 448.6 MB, free: 2.316 MB / 322.8 MB Notification: Performance of remove unused functions: time 0.0003818/0.4589, allocations: 48 kB / 448.6 MB, free: 2.27 MB / 322.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001427/0.4591, allocations: 110.8 kB / 448.7 MB, free: 2.156 MB / 322.8 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.4595, allocations: 152.5 kB / 448.9 MB, free: 2.051 MB / 322.8 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4595, allocations: 1.5 kB / 448.9 MB, free: 2.051 MB / 322.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.4597, allocations: 92.81 kB / 448.9 MB, free: 1.984 MB / 322.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.4602, allocations: 29.19 kB / 449 MB, free: 1.965 MB / 322.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4619, allocations: 0.6944 MB / 449.7 MB, free: 1.285 MB / 322.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.4622, allocations: 0.7901 MB / 450.5 MB, free: 484 kB / 322.8 MB Notification: Performance of SimCode: time 1.143e-06/0.4623, allocations: 0 / 450.5 MB, free: 484 kB / 322.8 MB Notification: Performance of Templates: time 0.006604/0.4689, allocations: 2.664 MB / 453.1 MB, free: 13.89 MB / 338.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches