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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 171.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009677/0.0009678, allocations: 94.62 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.107e-05, allocations: 8 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.47, allocations: 77.84 MB / 447.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4702, allocations: 75.47 kB / 447.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.4822, allocations: 4.333 MB / 452.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4822, allocations: 0 / 452.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.4823, allocations: 4 kB / 452.3 MB, free: 11.73 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.0006578/0.4829, allocations: 490.5 kB / 452.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.483, allocations: 8.031 kB / 452.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.483, allocations: 32.39 kB / 452.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.4833, allocations: 232.9 kB / 453 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.4833, allocations: 22.38 kB / 453 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.4834, allocations: 23.5 kB / 453.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.4838, allocations: 204.2 kB / 453.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4838, allocations: 4 kB / 453.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.4838, allocations: 13.81 kB / 453.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4839, allocations: 10.08 kB / 453.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.4841, allocations: 145.7 kB / 453.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4853, allocations: 0.7652 MB / 454.2 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.4857, allocations: 197.9 kB / 454.4 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.4858, allocations: 98.36 kB / 454.5 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4859, allocations: 11.89 kB / 454.5 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4859, allocations: 41.98 kB / 454.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.4859, allocations: 0 / 454.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001252/0.4872, allocations: 0.8229 MB / 455.4 MB, free: 8.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4872, allocations: 55.41 kB / 455.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4873, allocations: 148.3 kB / 455.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.4874, allocations: 29.45 kB / 455.6 MB, free: 8.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.4875, allocations: 143 kB / 455.7 MB, free: 8.555 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.4875, allocations: 101.2 kB / 455.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.4876, allocations: 3.75 kB / 455.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4877, allocations: 330.1 kB / 456.1 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.4878, allocations: 61.94 kB / 456.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.488, allocations: 112.3 kB / 456.3 MB, free: 8.012 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4881, allocations: 69.84 kB / 456.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4881, allocations: 0 / 456.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003353/0.4884, allocations: 242.8 kB / 456.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4885, allocations: 4 kB / 456.6 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4885, allocations: 4 kB / 456.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4885, allocations: 4.094 kB / 456.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.4888, allocations: 75.53 kB / 456.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4888, allocations: 7.984 kB / 456.7 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.489, allocations: 11.62 kB / 456.7 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.489, allocations: 11.98 kB / 456.7 MB, free: 7.668 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.02e-05/0.4891, allocations: 119.5 kB / 456.9 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.4891, allocations: 23.77 kB / 456.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.4892, allocations: 29.11 kB / 456.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4892, allocations: 4 kB / 456.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4892, allocations: 0 / 456.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4892, allocations: 0 / 456.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007968/0.49, allocations: 0.6212 MB / 457.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.49, allocations: 4.062 kB / 457.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.4904, allocations: 79.47 kB / 457.6 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4904, allocations: 0 / 457.6 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.4904, allocations: 11.05 kB / 457.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4904, allocations: 0 / 457.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4904, allocations: 0 / 457.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.4909, allocations: 438.5 kB / 458.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.491, allocations: 96.84 kB / 458.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.4911, allocations: 8.062 kB / 458.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.4912, allocations: 12 kB / 458.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.4913, allocations: 15.97 kB / 458.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.4913, allocations: 15.95 kB / 458.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.918e-05/0.4914, allocations: 119.5 kB / 458.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4914, allocations: 0 / 458.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00033/0.4917, allocations: 64 kB / 458.4 MB, free: 6.07 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.0001538/0.4919, allocations: 103.2 kB / 458.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.4922, allocations: 171.8 kB / 458.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4922, allocations: 4.125 kB / 458.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.4924, allocations: 96.97 kB / 458.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4927, allocations: 37.67 kB / 458.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4938, allocations: 0.677 MB / 459.5 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.4942, allocations: 0.76 MB / 460.2 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.258e-05/0.4943, allocations: 22.06 kB / 460.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.4943, allocations: 19.44 kB / 460.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4943, allocations: 4 kB / 460.3 MB, free: 4.113 MB / 330.7 MB Notification: Performance of Templates: time 0.004593/0.4989, allocations: 1.937 MB / 462.2 MB, free: 2.184 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