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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.00115, allocations: 176.5 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 241.4 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008252/0.0008252, allocations: 98.22 kB / 292.6 MB, free: 10.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 8 kB / 352.3 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2721, allocations: 50.39 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3729, allocations: 78.81 MB / 481.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3732, allocations: 77.88 kB / 481.6 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.3848, allocations: 4.445 MB / 486.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3849, allocations: 0 / 486.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3849, allocations: 4 kB / 486.1 MB, free: 12.99 MB / 362.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.0007148/0.3856, allocations: 0.4992 MB / 486.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3857, allocations: 8.031 kB / 486.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.3857, allocations: 32.59 kB / 486.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.386, allocations: 239.8 kB / 486.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.386, allocations: 20.94 kB / 486.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3861, allocations: 32.28 kB / 486.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.3865, allocations: 233 kB / 487.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3865, allocations: 0 / 487.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.3866, allocations: 12 kB / 487.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3866, allocations: 4 kB / 487.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.387, allocations: 190.1 kB / 487.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3881, allocations: 0.75 MB / 488.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.3886, allocations: 230.5 kB / 488.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.3888, allocations: 120.7 kB / 488.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3888, allocations: 7.938 kB / 488.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3888, allocations: 34.5 kB / 488.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.3888, allocations: 4 kB / 488.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.00167/0.3905, allocations: 0.9851 MB / 489.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3906, allocations: 59.34 kB / 489.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3907, allocations: 158.7 kB / 489.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3908, allocations: 29.7 kB / 489.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.3908, allocations: 144.5 kB / 489.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.3909, allocations: 98.5 kB / 489.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.3909, allocations: 4 kB / 489.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3911, allocations: 330.8 kB / 490.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3913, allocations: 79.95 kB / 490.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.3915, allocations: 119.4 kB / 490.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.3919, allocations: 215.9 kB / 490.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3919, allocations: 0 / 490.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004606/0.3923, allocations: 269.9 kB / 490.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3924, allocations: 8 kB / 490.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3924, allocations: 3.984 kB / 490.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3924, allocations: 0 / 490.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.3927, allocations: 83.89 kB / 491 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3927, allocations: 0 / 491 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3928, allocations: 20 kB / 491 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.3929, allocations: 11.98 kB / 491 MB, free: 7.68 MB / 362.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 () * Number of clocked 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 0.0001495/0.393, allocations: 146.6 kB / 491.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.3931, allocations: 19.72 kB / 491.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.3931, allocations: 26.56 kB / 491.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3931, allocations: 0 / 491.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.3931, allocations: 7.938 kB / 491.2 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3932, allocations: 3.984 kB / 491.2 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.3941, allocations: 0.6599 MB / 491.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3941, allocations: 4.062 kB / 491.9 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3944, allocations: 75.89 kB / 492 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3944, allocations: 4 kB / 492 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3944, allocations: 4 kB / 492 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3944, allocations: 4 kB / 492 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3945, allocations: 7.938 kB / 492 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.3951, allocations: 462.6 kB / 492.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3952, allocations: 92.98 kB / 492.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.3952, allocations: 12 kB / 492.6 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.3954, allocations: 11.98 kB / 492.6 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.3954, allocations: 19.92 kB / 492.6 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3955, allocations: 7.984 kB / 492.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.3956, allocations: 119.5 kB / 492.7 MB, free: 5.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3956, allocations: 3.938 kB / 492.7 MB, free: 5.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000289/0.3959, allocations: 60 kB / 492.8 MB, free: 5.836 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 () * Number of clocked 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.396, allocations: 111.2 kB / 492.9 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.3964, allocations: 211.7 kB / 493.1 MB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3965, allocations: 192 / 493.1 MB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3967, allocations: 107.9 kB / 493.2 MB, free: 5.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3971, allocations: 36.92 kB / 493.2 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3985, allocations: 0.9965 MB / 494.2 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3988, allocations: 0.7525 MB / 495 MB, free: 3.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.409e-05/0.3989, allocations: 17.95 kB / 495 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.399, allocations: 19.44 kB / 495 MB, free: 3.523 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.399, allocations: 0 / 495 MB, free: 3.523 MB / 362.7 MB Notification: Performance of Templates: time 0.004675/0.4037, allocations: 1.954 MB / 497 MB, free: 1.59 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/jenkins1/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