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.001659/0.001659, allocations: 75.75 kB / 21.97 MB, free: 2.598 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.002073/0.002073, allocations: 177.3 kB / 25.34 MB, free: 9.445 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.8711/0.8711, allocations: 158.6 MB / 187.2 MB, free: 2.504 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.482e-06/1.482e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.947e-05, allocations: 6.312 kB / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002606/0.002626, allocations: 2.457 MB / 253.5 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.003507, allocations: 0.6124 MB / 254.1 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.003624, allocations: 7.938 kB / 254.1 MB, free: 496 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.003754, allocations: 39.58 kB / 254.2 MB, free: 456 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.003885, allocations: 91.19 kB / 254.2 MB, free: 364 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.004042, allocations: 59.92 kB / 254.3 MB, free: 304 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.004288, allocations: 306.5 kB / 254.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.004444, allocations: 75.3 kB / 254.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.004606, allocations: 171.6 kB / 254.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.004714, allocations: 91.72 kB / 254.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.004747, allocations: 24 kB / 255 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.11e-05/0.004778, allocations: 24 kB / 255 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.004818, allocations: 59.75 kB / 255 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.004889, allocations: 91.81 kB / 255.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.005104, allocations: 191.2 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005106, allocations: 4 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005107, allocations: 0 / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005111, allocations: 0 / 255.3 MB, free: 15.28 MB / 250.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.0008052/0.005917, allocations: 0.5703 MB / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.005952, allocations: 15.98 kB / 255.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.006018, allocations: 48.78 kB / 255.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.006214, allocations: 180.8 kB / 256.1 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.006231, allocations: 25.03 kB / 256.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.006276, allocations: 36.27 kB / 256.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.006532, allocations: 187.4 kB / 256.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.006545, allocations: 3.938 kB / 256.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.006563, allocations: 12 kB / 256.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.006572, allocations: 4 kB / 256.4 MB, free: 14.13 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.006714, allocations: 91.86 kB / 256.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.00744, allocations: 0.6244 MB / 257.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.007718, allocations: 167 kB / 257.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.007805, allocations: 67.66 kB / 257.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.007818, allocations: 4 kB / 257.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.007844, allocations: 45.31 kB / 257.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.007845, allocations: 4 kB / 257.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008134/0.008659, allocations: 0.6572 MB / 258 MB, free: 12.36 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.008687, allocations: 59.34 kB / 258.1 MB, free: 12.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.008778, allocations: 193.9 kB / 258.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.008791, allocations: 41.69 kB / 258.3 MB, free: 12.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.008864, allocations: 195.4 kB / 258.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.008911, allocations: 99.12 kB / 258.6 MB, free: 11.74 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.008967, allocations: 59.36 kB / 258.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.009073, allocations: 0.5 MB / 259.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.009129, allocations: 35.97 kB / 259.2 MB, free: 11.13 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.009214, allocations: 94.42 kB / 259.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.009362, allocations: 138.7 kB / 259.4 MB, free: 10.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009364, allocations: 8 kB / 259.4 MB, free: 10.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002081/0.009572, allocations: 205.4 kB / 259.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.009583, allocations: 4 kB / 259.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.009589, allocations: 4 kB / 259.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.009605, allocations: 4 kB / 259.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.009766, allocations: 75.89 kB / 259.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.009773, allocations: 4 kB / 259.7 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.00983, allocations: 8 kB / 259.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.009841, allocations: 8.094 kB / 259.8 MB, free: 10.55 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.959e-05/0.00992, allocations: 176.5 kB / 259.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.009952, allocations: 27.84 kB / 260 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.009988, allocations: 25.95 kB / 260 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.009991, allocations: 4 kB / 260 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.009995, allocations: 0 / 260 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.009999, allocations: 0 / 260 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.01047, allocations: 0.5477 MB / 260.5 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01047, allocations: 0 / 260.5 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.01064, allocations: 79.95 kB / 260.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01064, allocations: 4 kB / 260.6 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01066, allocations: 4 kB / 260.6 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01066, allocations: 4 kB / 260.6 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01066, allocations: 0 / 260.6 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.01098, allocations: 409 kB / 261 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.01099, allocations: 11.91 kB / 261 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.01101, allocations: 8 kB / 261 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/0.01107, allocations: 11.98 kB / 261 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.01111, allocations: 23.91 kB / 261.1 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.01112, allocations: 8 kB / 261.1 MB, free: 9.129 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.01117, allocations: 155.8 kB / 261.2 MB, free: 8.977 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 0 / 261.2 MB, free: 8.977 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01136, allocations: 59.94 kB / 261.3 MB, free: 8.918 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 6.862e-05/0.01143, allocations: 103.2 kB / 261.4 MB, free: 8.809 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.01162, allocations: 131.9 kB / 261.5 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01162, allocations: 0 / 261.5 MB, free: 8.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.0117, allocations: 91.64 kB / 261.6 MB, free: 8.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01196, allocations: 51.91 kB / 261.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.01291, allocations: 0.6687 MB / 262.3 MB, free: 7.824 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.01296, allocations: 80.66 kB / 262.4 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.01301, allocations: 25.94 kB / 262.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.01306, allocations: 20.5 kB / 262.5 MB, free: 7.676 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01306, allocations: 0 / 262.5 MB, free: 7.676 MB / 250.7 MB Notification: Performance of Templates: time 0.003905/0.01696, allocations: 2.107 MB / 264.6 MB, free: 5.586 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.6245631920173764]