Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000985/0.000985, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 166.2 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9723/0.9723, allocations: 177.1 MB / 205.3 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.727e-05, allocations: 2.312 kB / 273 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002471/0.002488, allocations: 2.465 MB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.003227, allocations: 0.5998 MB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003333, allocations: 7.938 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.003464, allocations: 39.64 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.003583, allocations: 83.2 kB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.003719, allocations: 63.84 kB / 276.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.003952, allocations: 306.5 kB / 276.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.004104, allocations: 79.28 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.004252, allocations: 167.7 kB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.004356, allocations: 95.69 kB / 276.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.004389, allocations: 24 kB / 277 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.436e-05/0.004414, allocations: 24 kB / 277 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.00445, allocations: 51.81 kB / 277 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.004525, allocations: 99.75 kB / 277.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.004718, allocations: 191.2 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004722, allocations: 4 kB / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004722, allocations: 0 / 277.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.004726, allocations: 4 kB / 277.3 MB, free: 13.53 MB / 266.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.0005259/0.005252, allocations: 0.5587 MB / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.005284, allocations: 8.031 kB / 277.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.005351, allocations: 52.75 kB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.00555, allocations: 188.7 kB / 278.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.005567, allocations: 17.03 kB / 278.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.005607, allocations: 32.33 kB / 278.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.005849, allocations: 187.4 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.005865, allocations: 7.938 kB / 278.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.005881, allocations: 8 kB / 278.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.00589, allocations: 8 kB / 278.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.006039, allocations: 99.8 kB / 278.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.006729, allocations: 0.6283 MB / 279.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.007004, allocations: 161.4 kB / 279.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.007087, allocations: 71.66 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.007099, allocations: 4 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.007118, allocations: 37.39 kB / 279.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.007119, allocations: 0 / 279.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.000818/0.007937, allocations: 0.6643 MB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.007973, allocations: 59.41 kB / 280.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.00807, allocations: 197.2 kB / 280.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.008082, allocations: 25.7 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.00815, allocations: 199.4 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.008202, allocations: 115 kB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.008255, allocations: 51.36 kB / 280.7 MB, free: 9.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.008368, allocations: 0.5001 MB / 281.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.008426, allocations: 35.97 kB / 281.2 MB, free: 9.395 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.008512, allocations: 91.17 kB / 281.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.00866, allocations: 146.7 kB / 281.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008661, allocations: 0 / 281.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002062/0.008867, allocations: 205.4 kB / 281.6 MB, free: 8.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.008879, allocations: 8 kB / 281.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008884, allocations: 3.984 kB / 281.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.008896, allocations: 0 / 281.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.009061, allocations: 79.89 kB / 281.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.009067, allocations: 0 / 281.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.009124, allocations: 12 kB / 281.7 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.009133, allocations: 8 kB / 281.7 MB, free: 8.812 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/0.00921, allocations: 172.5 kB / 281.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.009242, allocations: 39.89 kB / 281.9 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.009279, allocations: 25.95 kB / 282 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.009281, allocations: 4 kB / 282 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.009284, allocations: 0 / 282 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.009288, allocations: 0 / 282 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.009761, allocations: 0.5486 MB / 282.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009763, allocations: 0 / 282.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.009937, allocations: 63.97 kB / 282.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.00994, allocations: 3.984 kB / 282.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.009953, allocations: 12.06 kB / 282.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.009954, allocations: 3.938 kB / 282.6 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009955, allocations: 0 / 282.6 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.01026, allocations: 406 kB / 283 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.01028, allocations: 19.91 kB / 283 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.01029, allocations: 4 kB / 283 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.01035, allocations: 4 kB / 283 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.0104, allocations: 31.88 kB / 283.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01041, allocations: 8 kB / 283.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.011e-05/0.01046, allocations: 154.2 kB / 283.2 MB, free: 7.242 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01046, allocations: 0 / 283.2 MB, free: 7.242 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.01065, allocations: 67.88 kB / 283.3 MB, free: 7.176 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.248e-05/0.01072, allocations: 99.25 kB / 283.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.01092, allocations: 140.4 kB / 283.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01092, allocations: 0 / 283.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.956e-05/0.011, allocations: 83.52 kB / 283.6 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.01126, allocations: 50.2 kB / 283.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.01218, allocations: 0.6785 MB / 284.3 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.01223, allocations: 80.66 kB / 284.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.424e-05/0.01229, allocations: 25.94 kB / 284.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.01233, allocations: 24.5 kB / 284.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01233, allocations: 0 / 284.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of Templates: time 0.00384/0.01617, allocations: 2.123 MB / 286.6 MB, free: 3.852 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6390652919653803]