Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001461/0.001461, allocations: 172.6 kB / 8.47 MB, free: 1.852 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.624/1.624, allocations: 205.2 MB / 214.1 MB, free: 1.805 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000974/0.0009742, allocations: 83.38 kB / 262.1 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.558e-06, allocations: 4 kB / 315 MB, free: 23.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 47.58 MB / 362.5 MB, free: 7.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3081/0.4266, allocations: 77.39 MB / 439.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4269, allocations: 71.28 kB / 440 MB, free: 2.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01111/0.438, allocations: 4.001 MB / 444 MB, free: 14.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4381, allocations: 4 kB / 444 MB, free: 14.82 MB / 330.7 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.0006384/0.4387, allocations: 497.7 kB / 444.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4387, allocations: 12.03 kB / 444.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.4388, allocations: 27.62 kB / 444.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4391, allocations: 232.4 kB / 444.8 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4391, allocations: 12.75 kB / 444.8 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.4391, allocations: 19.91 kB / 444.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002777/0.4394, allocations: 128.4 kB / 444.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.4397, allocations: 174.1 kB / 445.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4397, allocations: 0 / 445.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.4398, allocations: 0 / 445.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4398, allocations: 8 kB / 445.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4408, allocations: 0.7038 MB / 445.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.4411, allocations: 122.6 kB / 445.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.4412, allocations: 93.72 kB / 446 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.4413, allocations: 448 / 446 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4413, allocations: 45.88 kB / 446.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.022e-06/0.4413, allocations: 0 / 446.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001075/0.4424, allocations: 0.7613 MB / 446.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.4424, allocations: 55.41 kB / 446.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4425, allocations: 128.2 kB / 447 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4426, allocations: 29.7 kB / 447 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.4426, allocations: 131.1 kB / 447.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.4427, allocations: 102 kB / 447.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.4427, allocations: 0 / 447.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4429, allocations: 329.8 kB / 447.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.443, allocations: 52.75 kB / 447.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.4431, allocations: 98.59 kB / 447.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4432, allocations: 74.09 kB / 447.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4432, allocations: 3.938 kB / 447.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003001/0.4435, allocations: 212.2 kB / 448 MB, free: 11.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.4435, allocations: 4 kB / 448 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4436, allocations: 0 / 448 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4436, allocations: 4 kB / 448 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.4439, allocations: 91.73 kB / 448.1 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4439, allocations: 4 kB / 448.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4441, allocations: 11.98 kB / 448.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.4441, allocations: 8 kB / 448.1 MB, free: 10.97 MB / 330.7 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 8.92e-05/0.4442, allocations: 112 kB / 448.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.4442, allocations: 15.81 kB / 448.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.4443, allocations: 24.97 kB / 448.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4443, allocations: 4 kB / 448.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4443, allocations: 0 / 448.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4443, allocations: 3.984 kB / 448.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.4451, allocations: 0.5572 MB / 448.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4451, allocations: 4 kB / 448.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.4455, allocations: 79.36 kB / 448.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4455, allocations: 4 kB / 448.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.4455, allocations: 0 / 448.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.4455, allocations: 7.984 kB / 448.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4455, allocations: 0 / 448.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004808/0.446, allocations: 403 kB / 449.3 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.4461, allocations: 92.92 kB / 449.4 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.4461, allocations: 3.984 kB / 449.4 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.4463, allocations: 12 kB / 449.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.4463, allocations: 22.81 kB / 449.5 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4464, allocations: 7.25 kB / 449.5 MB, free: 9.723 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.951e-05/0.4464, allocations: 105.1 kB / 449.6 MB, free: 9.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.4467, allocations: 48 kB / 449.6 MB, free: 9.582 MB / 330.7 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.0001424/0.4469, allocations: 107.2 kB / 449.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.4472, allocations: 160.7 kB / 449.9 MB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4472, allocations: 0 / 449.9 MB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4473, allocations: 85.12 kB / 450 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4476, allocations: 25.72 kB / 450 MB, free: 9.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4487, allocations: 0.6777 MB / 450.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.4491, allocations: 0.7822 MB / 451.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4492, allocations: 0 / 451.4 MB, free: 7.797 MB / 330.7 MB Notification: Performance of Templates: time 0.004795/0.454, allocations: 2.128 MB / 453.6 MB, free: 5.68 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches