Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.468/1.468, allocations: 230.4 MB / 251.1 MB, free: 8.445 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.83 kB / 368.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2544, allocations: 53.32 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003629/0.258, allocations: 2.438 MB / 424.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.259, allocations: 0.6232 MB / 425.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2591, allocations: 7.938 kB / 425.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.2593, allocations: 31.66 kB / 425.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.2594, allocations: 83.27 kB / 425.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.2596, allocations: 59.92 kB / 425.5 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.2599, allocations: 298.6 kB / 425.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2601, allocations: 78.95 kB / 425.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.2603, allocations: 119.6 kB / 426 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.2605, allocations: 119.5 kB / 426.1 MB, free: 4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.2605, allocations: 24 kB / 426.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.174e-05/0.2605, allocations: 24 kB / 426.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.2606, allocations: 55.83 kB / 426.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.2607, allocations: 139.3 kB / 426.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.2611, allocations: 290.4 kB / 426.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2611, allocations: 0 / 426.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2611, allocations: 0 / 426.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2611, allocations: 0 / 426.6 MB, free: 3.48 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.0007601/0.2619, allocations: 0.5485 MB / 427.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.2619, allocations: 12.03 kB / 427.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.2619, allocations: 32.75 kB / 427.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.2622, allocations: 240.5 kB / 427.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2623, allocations: 24.88 kB / 427.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.2623, allocations: 28.12 kB / 427.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.2628, allocations: 228.8 kB / 427.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.2628, allocations: 3.953 kB / 427.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.2628, allocations: 12 kB / 427.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.2628, allocations: 8 kB / 427.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.2632, allocations: 178.1 kB / 427.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2644, allocations: 0.7502 MB / 428.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.2649, allocations: 202.5 kB / 428.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.2651, allocations: 104.8 kB / 429 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2651, allocations: 4 kB / 429 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.2651, allocations: 38.44 kB / 429 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.202e-06/0.2651, allocations: 0 / 429 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001756/0.2669, allocations: 0.9786 MB / 430 MB, free: 15.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2669, allocations: 55.41 kB / 430 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2671, allocations: 155.1 kB / 430.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2671, allocations: 33.7 kB / 430.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.2672, allocations: 136.8 kB / 430.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.2673, allocations: 107.1 kB / 430.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/0.2674, allocations: 49.7 kB / 430.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2675, allocations: 334.8 kB / 430.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.2677, allocations: 79.89 kB / 430.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.2679, allocations: 112.9 kB / 431 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.2683, allocations: 203.3 kB / 431.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2683, allocations: 4 kB / 431.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004834/0.2688, allocations: 257.5 kB / 431.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2688, allocations: 4 kB / 431.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2688, allocations: 0 / 431.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2689, allocations: 4 kB / 431.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.2691, allocations: 75.89 kB / 431.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2692, allocations: 0 / 431.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.2693, allocations: 24.08 kB / 431.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2693, allocations: 7.984 kB / 431.6 MB, free: 14.16 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.0001239/0.2694, allocations: 149.6 kB / 431.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.2695, allocations: 19.86 kB / 431.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.2695, allocations: 26.56 kB / 431.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2695, allocations: 7.984 kB / 431.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2695, allocations: 4 kB / 431.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2695, allocations: 3.984 kB / 431.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009727/0.2705, allocations: 0.6525 MB / 432.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2705, allocations: 0 / 432.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.2709, allocations: 71.89 kB / 432.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.2709, allocations: 4 kB / 432.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2709, allocations: 4 kB / 432.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.2709, allocations: 8 kB / 432.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2709, allocations: 4 kB / 432.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.2716, allocations: 451.3 kB / 433 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.2716, allocations: 93.08 kB / 433.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.2717, allocations: 12 kB / 433.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2718, allocations: 11.92 kB / 433.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.2719, allocations: 15.98 kB / 433.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.2719, allocations: 8 kB / 433.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.137e-05/0.272, allocations: 115.2 kB / 433.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.272, allocations: 3.938 kB / 433.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.2723, allocations: 56 kB / 433.3 MB, free: 12.36 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.0001172/0.2724, allocations: 115.2 kB / 433.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.2728, allocations: 192 kB / 433.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2728, allocations: 0 / 433.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.273, allocations: 100.9 kB / 433.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.2734, allocations: 39.39 kB / 433.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2747, allocations: 0.8222 MB / 434.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2751, allocations: 0.7483 MB / 435.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.897e-05/0.2752, allocations: 21.95 kB / 435.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.2752, allocations: 19.44 kB / 435.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2752, allocations: 0 / 435.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Templates: time 0.005742/0.281, allocations: 2.262 MB / 437.6 MB, free: 7.988 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches