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.0009304/0.0009304, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009812/0.0009812, allocations: 165.6 kB / 25.7 MB, free: 8.434 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 0.911/0.911, allocations: 158.6 MB / 187.6 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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 2.044e-06/2.044e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.209e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002786/0.002808, allocations: 2.439 MB / 254 MB, free: 4.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.003767, allocations: 0.6317 MB / 254.6 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003873, allocations: 4 kB / 254.6 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.004006, allocations: 35.59 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.004139, allocations: 91.2 kB / 254.7 MB, free: 4.051 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.004275, allocations: 63.89 kB / 254.8 MB, free: 3.988 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.00451, allocations: 306.4 kB / 255.1 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.004645, allocations: 73.98 kB / 255.1 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.004803, allocations: 167.7 kB / 255.3 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004914, allocations: 99.69 kB / 255.4 MB, free: 3.352 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.004947, allocations: 24 kB / 255.4 MB, free: 3.328 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.945e-05/0.004977, allocations: 24 kB / 255.5 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.005017, allocations: 59.77 kB / 255.5 MB, free: 3.246 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.005083, allocations: 95.8 kB / 255.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.005279, allocations: 191.2 kB / 255.8 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005281, allocations: 0 / 255.8 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005282, allocations: 0 / 255.8 MB, free: 2.965 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.005286, allocations: 3.938 kB / 255.8 MB, free: 2.961 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.0004326/0.005718, allocations: 448.4 kB / 256.2 MB, free: 2.5 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.00575, allocations: 15.98 kB / 256.2 MB, free: 2.484 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.005799, allocations: 40.91 kB / 256.3 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.005971, allocations: 173.9 kB / 256.5 MB, free: 2.25 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.005987, allocations: 21.03 kB / 256.5 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.006021, allocations: 28.38 kB / 256.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.0062, allocations: 171.3 kB / 256.7 MB, free: 2.031 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.006212, allocations: 3.938 kB / 256.7 MB, free: 2.027 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.006225, allocations: 12 kB / 256.7 MB, free: 2.016 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.006231, allocations: 8 kB / 256.7 MB, free: 2.008 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.006313, allocations: 64.55 kB / 256.8 MB, free: 1.941 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.006879, allocations: 476.6 kB / 257.2 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.007079, allocations: 134.5 kB / 257.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.007132, allocations: 52.77 kB / 257.4 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.007145, allocations: 8 kB / 257.4 MB, free: 1.258 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.007165, allocations: 42.48 kB / 257.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.412e-06/0.007167, allocations: 0 / 257.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006389/0.007806, allocations: 0.5471 MB / 258 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.007835, allocations: 63.28 kB / 258.1 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.007905, allocations: 142.6 kB / 258.2 MB, free: 392 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.007917, allocations: 29.7 kB / 258.2 MB, free: 356 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.007968, allocations: 144.7 kB / 258.4 MB, free: 208 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.008014, allocations: 103.1 kB / 258.5 MB, free: 104 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.008062, allocations: 53.69 kB / 258.5 MB, free: 44 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.008158, allocations: 330.8 kB / 258.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.00819, allocations: 23.98 kB / 258.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.693e-05/0.008247, allocations: 75.11 kB / 259 MB, free: 15.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.00835, allocations: 115.2 kB / 259.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008352, allocations: 0 / 259.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001387/0.008491, allocations: 141.6 kB / 259.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.008503, allocations: 11.94 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.008509, allocations: 3.984 kB / 259.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008522, allocations: 8.094 kB / 259.2 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.008673, allocations: 67.91 kB / 259.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.008677, allocations: 4 kB / 259.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.008727, allocations: 8 kB / 259.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.008741, allocations: 11.94 kB / 259.3 MB, free: 15.22 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 7.167e-05/0.008812, allocations: 121.8 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.008841, allocations: 23.92 kB / 259.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.008874, allocations: 29.91 kB / 259.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008877, allocations: 4 kB / 259.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008879, allocations: 4 kB / 259.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.008887, allocations: 3.984 kB / 259.5 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.009273, allocations: 376.6 kB / 259.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.009275, allocations: 0 / 259.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.009441, allocations: 67.91 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.009443, allocations: 0 / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.009455, allocations: 8 kB / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.009457, allocations: 0 / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009458, allocations: 0 / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.009688, allocations: 307.1 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.009709, allocations: 11.97 kB / 260.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.009728, allocations: 12 kB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.009788, allocations: 8 kB / 260.3 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.009825, allocations: 23.89 kB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.009833, allocations: 4 kB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.491e-05/0.009858, allocations: 33.5 kB / 260.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009858, allocations: 0 / 260.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.01002, allocations: 60 kB / 260.4 MB, free: 14.08 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 8.693e-05/0.01011, allocations: 84.36 kB / 260.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.01025, allocations: 125 kB / 260.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.01025, allocations: 0 / 260.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.01031, allocations: 68.7 kB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01052, allocations: 55.5 kB / 260.7 MB, free: 13.74 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.01132, allocations: 0.5756 MB / 261.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.252e-05/0.01138, allocations: 88.64 kB / 261.4 MB, free: 13.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.01143, allocations: 21.94 kB / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.01153, allocations: 91.34 kB / 261.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01153, allocations: 0 / 261.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of Templates: time 0.003971/0.0155, allocations: 2.232 MB / 263.7 MB, free: 10.71 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",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.5915793059393764]