Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 184 kB / 8.135 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.4 MB / 229.9 MB, free: 3.082 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009087, allocations: 100.4 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.931e-06, allocations: 0 / 336.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1914, allocations: 50.39 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08302/0.2744, allocations: 77.95 MB / 464.9 MB, free: 8.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.2747, allocations: 75.59 kB / 464.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01176/0.2865, allocations: 4.114 MB / 469 MB, free: 4.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.2865, allocations: 4 kB / 469 MB, free: 4.684 MB / 346.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.0006794/0.2872, allocations: 0.4946 MB / 469.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2872, allocations: 8.031 kB / 469.5 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.2873, allocations: 28.19 kB / 469.6 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.2876, allocations: 223.3 kB / 469.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2876, allocations: 12 kB / 469.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.2877, allocations: 19.91 kB / 469.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000278/0.288, allocations: 138.4 kB / 470 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.2883, allocations: 172.8 kB / 470.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2883, allocations: 0 / 470.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.2883, allocations: 0 / 470.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2883, allocations: 11.98 kB / 470.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2894, allocations: 0.7027 MB / 470.8 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.2897, allocations: 116.7 kB / 471 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2898, allocations: 99.41 kB / 471.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.2899, allocations: 4 kB / 471.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2899, allocations: 30.56 kB / 471.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.2899, allocations: 0 / 471.1 MB, free: 2.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001107/0.291, allocations: 0.7671 MB / 471.9 MB, free: 1.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.2911, allocations: 59.41 kB / 471.9 MB, free: 1.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.2912, allocations: 124.7 kB / 472 MB, free: 1.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2912, allocations: 25.7 kB / 472.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.2913, allocations: 136.3 kB / 472.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.2913, allocations: 99.5 kB / 472.3 MB, free: 1.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.2914, allocations: 4 kB / 472.3 MB, free: 1.168 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2915, allocations: 330.8 kB / 472.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.2916, allocations: 56 kB / 472.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2917, allocations: 91.42 kB / 472.8 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.2919, allocations: 64.47 kB / 472.8 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2919, allocations: 4 kB / 472.8 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003292/0.2922, allocations: 213.3 kB / 473 MB, free: 408 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2922, allocations: 4 kB / 473 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2922, allocations: 4 kB / 473 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2923, allocations: 0 / 473 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.2926, allocations: 87.64 kB / 473.1 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2926, allocations: 4.094 kB / 473.1 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.2928, allocations: 11.98 kB / 473.1 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2928, allocations: 8 kB / 473.2 MB, free: 292 kB / 346.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 7.721e-05/0.2929, allocations: 104.9 kB / 473.3 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.2929, allocations: 19.81 kB / 473.3 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.293, allocations: 21.66 kB / 473.3 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.293, allocations: 8 kB / 473.3 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.293, allocations: 0 / 473.3 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.293, allocations: 3.984 kB / 473.3 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.2938, allocations: 0.5628 MB / 473.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2938, allocations: 0 / 473.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.2942, allocations: 83.95 kB / 474 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2942, allocations: 3.906 kB / 474 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2942, allocations: 4.812 kB / 474 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2942, allocations: 0 / 474 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2942, allocations: 0 / 474 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004663/0.2947, allocations: 419 kB / 474.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.2948, allocations: 88.92 kB / 474.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.2948, allocations: 1.062 kB / 474.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.295, allocations: 15.92 kB / 474.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.295, allocations: 27.81 kB / 474.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.295, allocations: 8 kB / 474.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.936e-05/0.2951, allocations: 106.1 kB / 474.6 MB, free: 14.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.2954, allocations: 49.31 kB / 474.7 MB, free: 14.67 MB / 362.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.0001472/0.2956, allocations: 99.25 kB / 474.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.2958, allocations: 159.9 kB / 474.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2958, allocations: 4.188 kB / 474.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.296, allocations: 95.86 kB / 475 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2963, allocations: 21.02 kB / 475 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2974, allocations: 0.6598 MB / 475.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.2978, allocations: 0.7788 MB / 476.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2978, allocations: 3.938 kB / 476.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.004773/0.3026, allocations: 2.122 MB / 478.6 MB, free: 10.71 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches