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.001905/0.001905, allocations: 84.92 kB / 21.44 MB, free: 296 kB / 14.72 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.002422/0.002422, allocations: 162.4 kB / 24.7 MB, free: 3.551 MB / 14.72 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.433/1.433, allocations: 158.6 MB / 186.5 MB, free: 6.418 MB / 174.1 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.322e-06/1.322e-06, allocations: 0 / 298.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.645e-05, allocations: 2.281 kB / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003885/0.003912, allocations: 2.291 MB / 301.2 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.005271, allocations: 0.6047 MB / 301.8 MB, free: 5.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.005498, allocations: 7.938 kB / 301.8 MB, free: 5.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.005667, allocations: 31.66 kB / 301.9 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.005899, allocations: 87.2 kB / 302 MB, free: 5.688 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.006111, allocations: 63.89 kB / 302 MB, free: 5.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004434/0.006555, allocations: 306.4 kB / 302.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.006763, allocations: 71.36 kB / 302.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.007103, allocations: 167.7 kB / 302.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.007277, allocations: 95.69 kB / 302.7 MB, free: 5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.00733, allocations: 24 kB / 302.7 MB, free: 4.977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.007387, allocations: 24 kB / 302.7 MB, free: 4.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.007447, allocations: 47.83 kB / 302.7 MB, free: 4.906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.007582, allocations: 107.7 kB / 302.8 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.007981, allocations: 295 kB / 303.1 MB, free: 4.512 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007984, allocations: 3.938 kB / 303.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007985, allocations: 3.938 kB / 303.1 MB, free: 4.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.007995, allocations: 0 / 303.1 MB, free: 4.504 MB / 286.1 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.0009807/0.008975, allocations: 481.7 kB / 303.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.009018, allocations: 15.98 kB / 303.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.84e-05/0.009087, allocations: 28.8 kB / 303.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.009441, allocations: 181.9 kB / 303.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.009468, allocations: 21.03 kB / 303.9 MB, free: 3.738 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.009531, allocations: 32.33 kB / 303.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.01004, allocations: 222.7 kB / 304.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.01007, allocations: 11.92 kB / 304.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.0101, allocations: 8 kB / 304.1 MB, free: 3.465 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.01011, allocations: 4 kB / 304.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.01054, allocations: 182.5 kB / 304.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.01215, allocations: 0.5939 MB / 304.9 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006831/0.01284, allocations: 198.5 kB / 305.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.01317, allocations: 116.7 kB / 305.2 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.01319, allocations: 0 / 305.2 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.01322, allocations: 38.56 kB / 305.2 MB, free: 2.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.522e-06/0.01322, allocations: 0 / 305.2 MB, free: 2.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.002425/0.01565, allocations: 0.812 MB / 306.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.0157, allocations: 55.41 kB / 306.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.01588, allocations: 142.3 kB / 306.3 MB, free: 1.211 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.01592, allocations: 29.7 kB / 306.3 MB, free: 1.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01605, allocations: 152.6 kB / 306.4 MB, free: 1.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.01617, allocations: 103.1 kB / 306.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.01628, allocations: 49.7 kB / 306.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.01649, allocations: 330.8 kB / 306.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.01676, allocations: 71.95 kB / 307 MB, free: 476 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.01706, allocations: 115.2 kB / 307.1 MB, free: 348 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.01765, allocations: 203.3 kB / 307.3 MB, free: 132 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01765, allocations: 3.938 kB / 307.3 MB, free: 128 kB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007829/0.01844, allocations: 273.3 kB / 307.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.01846, allocations: 4 kB / 307.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.01847, allocations: 96 / 307.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.01849, allocations: 8 kB / 307.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.0189, allocations: 75.89 kB / 307.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.01892, allocations: 4 kB / 307.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.0191, allocations: 11.98 kB / 307.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.01912, allocations: 8 kB / 307.7 MB, free: 15.74 MB / 302.1 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.0001942/0.01932, allocations: 146.6 kB / 307.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.01938, allocations: 19.84 kB / 307.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/0.01945, allocations: 25.97 kB / 307.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01946, allocations: 4 kB / 307.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01946, allocations: 4 kB / 307.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.01947, allocations: 3.984 kB / 307.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.02076, allocations: 0.5585 MB / 308.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.02076, allocations: 0 / 308.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.02122, allocations: 71.89 kB / 308.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.02123, allocations: 4.062 kB / 308.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.02126, allocations: 8 kB / 308.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.02126, allocations: 4 kB / 308.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02127, allocations: 0 / 308.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.02226, allocations: 450.6 kB / 308.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.02231, allocations: 15.89 kB / 309 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.02235, allocations: 8.062 kB / 309 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.02255, allocations: 8 kB / 309 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.02262, allocations: 23.95 kB / 309 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.02264, allocations: 8 kB / 309 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.02276, allocations: 115.9 kB / 309.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02276, allocations: 0 / 309.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000463/0.02323, allocations: 56 kB / 309.2 MB, free: 14.15 MB / 302.1 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.0001501/0.02338, allocations: 107.2 kB / 309.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006031/0.02398, allocations: 188 kB / 309.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02398, allocations: 0 / 309.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.02429, allocations: 103.8 kB / 309.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.02489, allocations: 48.03 kB / 309.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.02665, allocations: 0.6762 MB / 310.3 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.02686, allocations: 142.5 kB / 310.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.822e-05/0.02696, allocations: 17.95 kB / 310.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.02703, allocations: 20.5 kB / 310.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.02703, allocations: 0 / 310.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Templates: time 0.008269/0.0353, allocations: 2.084 MB / 312.6 MB, free: 10.72 MB / 302.1 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.455027028918266]