Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001694/0.001694, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.91 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2524, allocations: 53.41 MB / 432.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003914/0.2563, allocations: 2.313 MB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2575, allocations: 0.5921 MB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.2577, allocations: 4 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.2579, allocations: 39.59 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.258, allocations: 83.27 kB / 435.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.2582, allocations: 63.91 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000349/0.2586, allocations: 286.7 kB / 435.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.2588, allocations: 75.36 kB / 435.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.2589, allocations: 115.6 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2591, allocations: 111.5 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.2591, allocations: 24 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.2592, allocations: 24 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.2592, allocations: 59.72 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2593, allocations: 107.5 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.2597, allocations: 304.4 kB / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2597, allocations: 0 / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2597, allocations: 4 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2597, allocations: 0 / 436.6 MB, free: 2.336 MB / 334.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.000806/0.2605, allocations: 473.8 kB / 437 MB, free: 1.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2605, allocations: 11.98 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.2606, allocations: 32.75 kB / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.261, allocations: 190.2 kB / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.261, allocations: 17.03 kB / 437.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.2611, allocations: 32.12 kB / 437.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.2615, allocations: 222.1 kB / 437.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.2616, allocations: 7.953 kB / 437.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.2616, allocations: 8 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.2616, allocations: 8 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.262, allocations: 186.4 kB / 437.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.2632, allocations: 0.5861 MB / 438.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.2637, allocations: 210.4 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.2639, allocations: 101.5 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2639, allocations: 11.94 kB / 438.6 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.2639, allocations: 34.56 kB / 438.7 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.2639, allocations: 0 / 438.7 MB, free: 132 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001746/0.2657, allocations: 0.8111 MB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.2657, allocations: 55.41 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2659, allocations: 153.3 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.2659, allocations: 33.7 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.266, allocations: 136.8 kB / 439.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2661, allocations: 115 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.2662, allocations: 53.7 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2664, allocations: 330.8 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.2665, allocations: 75.97 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.2668, allocations: 112.3 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.2672, allocations: 212 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2672, allocations: 0 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005053/0.2677, allocations: 261.4 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2677, allocations: 4 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2677, allocations: 8.094 kB / 441 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2677, allocations: 0 / 441 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.268, allocations: 75.89 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.268, allocations: 0 / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2681, allocations: 16 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.2682, allocations: 8 kB / 441.1 MB, free: 13.57 MB / 350.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.0001483/0.2683, allocations: 143.9 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.2684, allocations: 15.91 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.2684, allocations: 25.97 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2684, allocations: 8 kB / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2684, allocations: 0 / 441.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2684, allocations: 3.984 kB / 441.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.2696, allocations: 0.5584 MB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2696, allocations: 4 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.27, allocations: 67.97 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.27, allocations: 4.062 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.27, allocations: 8 kB / 441.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.27, allocations: 7.922 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.27, allocations: 0 / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.2708, allocations: 439 kB / 442.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.2708, allocations: 19.86 kB / 442.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.2709, allocations: 8 kB / 442.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.271, allocations: 15.98 kB / 442.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.2711, allocations: 23.91 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2711, allocations: 8 kB / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.467e-05/0.2712, allocations: 112 kB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2712, allocations: 0 / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.2715, allocations: 60 kB / 442.6 MB, free: 11.98 MB / 350.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.0001306/0.2716, allocations: 99.25 kB / 442.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.2721, allocations: 191.8 kB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2721, allocations: 0 / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.2723, allocations: 104 kB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.2727, allocations: 54.75 kB / 443 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2741, allocations: 0.8341 MB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.2743, allocations: 146.5 kB / 444 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.2744, allocations: 23.44 kB / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2744, allocations: 0 / 444 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Templates: time 0.006312/0.2807, allocations: 2.892 MB / 446.9 MB, free: 7.586 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.208042613230646]