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.0009811/0.0009811, allocations: 85.95 kB / 23 MB, free: 1.504 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.00118/0.00118, allocations: 175.7 kB / 26.39 MB, free: 7.988 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.9568/0.9568, allocations: 158.6 MB / 188.3 MB, free: 2.805 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 1.403e-06/1.403e-06, allocations: 0 / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.906e-05, allocations: 6.25 kB / 252.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002977/0.003006, allocations: 2.439 MB / 254.7 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.004066, allocations: 0.6047 MB / 255.3 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.004209, allocations: 7.938 kB / 255.3 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.004349, allocations: 39.59 kB / 255.3 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.004502, allocations: 91.19 kB / 255.4 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.004668, allocations: 59.91 kB / 255.5 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.004934, allocations: 302.5 kB / 255.8 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.005116, allocations: 71.36 kB / 255.8 MB, free: 3.637 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.005361, allocations: 171.6 kB / 256 MB, free: 3.469 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.005494, allocations: 99.69 kB / 256.1 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.005547, allocations: 28 kB / 256.1 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.005582, allocations: 24 kB / 256.2 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.005632, allocations: 55.77 kB / 256.2 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.005732, allocations: 95.8 kB / 256.3 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.006023, allocations: 191.2 kB / 256.5 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.006027, allocations: 0 / 256.5 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006028, allocations: 0 / 256.5 MB, free: 2.984 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.006036, allocations: 0 / 256.5 MB, free: 2.984 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.0009849/0.00702, allocations: 0.5742 MB / 257.1 MB, free: 2.371 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.007057, allocations: 15.98 kB / 257.1 MB, free: 2.355 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.00712, allocations: 44.8 kB / 257.1 MB, free: 2.312 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.007328, allocations: 192.8 kB / 257.3 MB, free: 2.098 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.007344, allocations: 17.03 kB / 257.3 MB, free: 2.082 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.007382, allocations: 36.27 kB / 257.4 MB, free: 2.047 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.007606, allocations: 163.4 kB / 257.5 MB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.007623, allocations: 7.938 kB / 257.5 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.00764, allocations: 8 kB / 257.5 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.007649, allocations: 8 kB / 257.5 MB, free: 1.852 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.007743, allocations: 80.5 kB / 257.6 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.008457, allocations: 0.5898 MB / 258.2 MB, free: 1.156 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.008716, allocations: 155 kB / 258.4 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.008778, allocations: 55.64 kB / 258.4 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.008794, allocations: 8 kB / 258.4 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.008817, allocations: 45.31 kB / 258.5 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.008819, allocations: 0 / 258.5 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007277/0.009547, allocations: 0.591 MB / 259.1 MB, free: 228 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.009576, allocations: 55.41 kB / 259.1 MB, free: 160 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.009677, allocations: 193.9 kB / 259.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.009691, allocations: 33.64 kB / 259.3 MB, free: 15.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.009768, allocations: 199.4 kB / 259.5 MB, free: 15.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.009821, allocations: 107.1 kB / 259.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.009878, allocations: 55.34 kB / 259.7 MB, free: 15.54 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.009993, allocations: 0.5 MB / 260.2 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.01003, allocations: 27.97 kB / 260.2 MB, free: 15 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.01011, allocations: 86.41 kB / 260.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.01023, allocations: 130.6 kB / 260.4 MB, free: 14.76 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.01023, allocations: 0 / 260.4 MB, free: 14.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001921/0.01042, allocations: 181.5 kB / 260.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01044, allocations: 7.938 kB / 260.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01045, allocations: 0 / 260.6 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01046, allocations: 4 kB / 260.6 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.01063, allocations: 79.98 kB / 260.7 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01063, allocations: 4 kB / 260.7 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.01069, allocations: 8 kB / 260.7 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.0107, allocations: 8 kB / 260.7 MB, free: 14.46 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 9.489e-05/0.01079, allocations: 172.5 kB / 260.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.01083, allocations: 31.84 kB / 260.9 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.01087, allocations: 25.95 kB / 260.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01087, allocations: 4 kB / 260.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01088, allocations: 0 / 260.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01088, allocations: 4 kB / 261 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.01136, allocations: 0.4936 MB / 261.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01136, allocations: 4 kB / 261.5 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.01155, allocations: 71.89 kB / 261.5 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01155, allocations: 4 kB / 261.5 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01156, allocations: 8 kB / 261.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01157, allocations: 4 kB / 261.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01157, allocations: 0 / 261.5 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01185, allocations: 393 kB / 261.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.01187, allocations: 11.91 kB / 261.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01189, allocations: 11.98 kB / 261.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.01195, allocations: 8 kB / 262 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.01199, allocations: 19.97 kB / 262 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.012, allocations: 4 kB / 262 MB, free: 13.13 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.094e-05/0.01205, allocations: 155.8 kB / 262.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01205, allocations: 0 / 262.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.01226, allocations: 60 kB / 262.2 MB, free: 12.92 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.0001073/0.01236, allocations: 103.2 kB / 262.3 MB, free: 12.81 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.01253, allocations: 119.9 kB / 262.4 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01253, allocations: 4 kB / 262.4 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.566e-05/0.0126, allocations: 75.45 kB / 262.5 MB, free: 12.61 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.01288, allocations: 51.62 kB / 262.5 MB, free: 12.56 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.01386, allocations: 0.6766 MB / 263.2 MB, free: 11.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.527e-05/0.01392, allocations: 88.64 kB / 263.3 MB, free: 11.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.01398, allocations: 17.95 kB / 263.3 MB, free: 11.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01409, allocations: 110.2 kB / 263.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01409, allocations: 0 / 263.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of Templates: time 0.004556/0.01864, allocations: 2.34 MB / 265.8 MB, free: 9.281 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.736383601091802]