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/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.001747/0.001747, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001491/0.001491, allocations: 161.1 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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 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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 250.3 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.37e-05, allocations: 6.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003987/0.004021, allocations: 2.303 MB / 252.7 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.005213, allocations: 0.6046 MB / 253.3 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.005332, allocations: 7.938 kB / 253.3 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.005492, allocations: 35.66 kB / 253.3 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.00568, allocations: 91.2 kB / 253.4 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.005867, allocations: 63.83 kB / 253.5 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.00627, allocations: 302.5 kB / 253.8 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.006476, allocations: 71.36 kB / 253.8 MB, free: 4.344 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.006744, allocations: 167.7 kB / 254 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.006911, allocations: 95.69 kB / 254.1 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.006962, allocations: 24 kB / 254.1 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.007009, allocations: 28 kB / 254.1 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.007069, allocations: 51.83 kB / 254.2 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.007192, allocations: 95.75 kB / 254.3 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.007607, allocations: 302.9 kB / 254.6 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.00761, allocations: 0 / 254.6 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007612, allocations: 0 / 254.6 MB, free: 3.59 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.007618, allocations: 0 / 254.6 MB, free: 3.59 MB / 234.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.0008933/0.008511, allocations: 481.8 kB / 255 MB, free: 3.086 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.008551, allocations: 15.98 kB / 255.1 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.008647, allocations: 44.8 kB / 255.1 MB, free: 3.027 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.009004, allocations: 185.9 kB / 255.3 MB, free: 2.82 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.009036, allocations: 25.02 kB / 255.3 MB, free: 2.797 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.009091, allocations: 28.33 kB / 255.3 MB, free: 2.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.009587, allocations: 226.7 kB / 255.6 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.009607, allocations: 3.938 kB / 255.6 MB, free: 2.543 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.009643, allocations: 15.98 kB / 255.6 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.009651, allocations: 4 kB / 255.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.01009, allocations: 182.5 kB / 255.8 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.01129, allocations: 0.5862 MB / 256.3 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.01183, allocations: 210.5 kB / 256.5 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.01206, allocations: 100.8 kB / 256.6 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.01208, allocations: 8 kB / 256.7 MB, free: 1.398 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.01212, allocations: 38.56 kB / 256.7 MB, free: 1.352 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.01212, allocations: 0 / 256.7 MB, free: 1.352 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.001905/0.01403, allocations: 0.8279 MB / 257.5 MB, free: 484 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.01408, allocations: 59.41 kB / 257.6 MB, free: 412 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01424, allocations: 142.3 kB / 257.7 MB, free: 260 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.01427, allocations: 29.7 kB / 257.7 MB, free: 224 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.0144, allocations: 148.7 kB / 257.9 MB, free: 72 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.01451, allocations: 107.3 kB / 258 MB, free: 15.96 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.0146, allocations: 49.64 kB / 258 MB, free: 15.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.0148, allocations: 330.8 kB / 258.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.01499, allocations: 75.95 kB / 258.4 MB, free: 15.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.01523, allocations: 115.1 kB / 258.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.0157, allocations: 203.3 kB / 258.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.01571, allocations: 4 kB / 258.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005591/0.01627, allocations: 273.2 kB / 259 MB, free: 14.89 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.01629, allocations: 16.08 kB / 259 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01629, allocations: 0 / 259 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.01631, allocations: 4 kB / 259 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.01662, allocations: 67.91 kB / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.01664, allocations: 4 kB / 259.1 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.01676, allocations: 11.98 kB / 259.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.01678, allocations: 16 kB / 259.1 MB, free: 14.77 MB / 250.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 0.0001457/0.01693, allocations: 137.8 kB / 259.3 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.01699, allocations: 31.8 kB / 259.3 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.105e-05/0.01706, allocations: 33.95 kB / 259.3 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.01707, allocations: 4 kB / 259.3 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01707, allocations: 0 / 259.3 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01708, allocations: 0 / 259.3 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.01811, allocations: 0.5508 MB / 259.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01812, allocations: 0 / 259.9 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.01846, allocations: 76.02 kB / 260 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01846, allocations: 4 kB / 260 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.01848, allocations: 4 kB / 260 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.01848, allocations: 3.938 kB / 260 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01848, allocations: 0 / 260 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.0193, allocations: 458.9 kB / 260.4 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.01933, allocations: 19.86 kB / 260.4 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.01936, allocations: 4.062 kB / 260.5 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.01952, allocations: 19.98 kB / 260.5 MB, free: 13.37 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.01959, allocations: 19.97 kB / 260.5 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.0196, allocations: 4 kB / 260.5 MB, free: 13.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.0197, allocations: 119.8 kB / 260.6 MB, free: 13.23 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0197, allocations: 0 / 260.6 MB, free: 13.23 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.02002, allocations: 60 kB / 260.7 MB, free: 13.17 MB / 250.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 0.0001395/0.02016, allocations: 99.19 kB / 260.8 MB, free: 13.06 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004906/0.02065, allocations: 192.3 kB / 261 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02066, allocations: 4 kB / 261 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.02089, allocations: 107.7 kB / 261.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.02132, allocations: 43.91 kB / 261.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.02263, allocations: 0.6658 MB / 261.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.02279, allocations: 142.5 kB / 261.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.155e-05/0.02287, allocations: 21.94 kB / 261.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.02293, allocations: 20.5 kB / 262 MB, free: 11.82 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02293, allocations: 0 / 262 MB, free: 11.82 MB / 250.7 MB Notification: Performance of Templates: time 0.005921/0.02886, allocations: 2.106 MB / 264.1 MB, free: 9.742 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.409564313013107]