Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002333/0.002333, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 47.92 kB / 371.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2624, allocations: 52.18 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004161/0.2665, allocations: 2.464 MB / 426.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2676, allocations: 0.5766 MB / 426.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2678, allocations: 7.938 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.268, allocations: 43.58 kB / 427 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.2681, allocations: 87.25 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.2683, allocations: 55.94 kB / 427.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.2687, allocations: 294.6 kB / 427.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2689, allocations: 79.36 kB / 427.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.2691, allocations: 119.6 kB / 427.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.2693, allocations: 123.5 kB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.2693, allocations: 24 kB / 427.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.55e-05/0.2694, allocations: 28 kB / 427.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.2694, allocations: 51.83 kB / 427.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2696, allocations: 143.3 kB / 427.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.27, allocations: 288 kB / 428.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.27, allocations: 0 / 428.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.27, allocations: 0 / 428.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.27, allocations: 0 / 428.2 MB, free: 10.33 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.0008649/0.2708, allocations: 481.8 kB / 428.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2709, allocations: 8.031 kB / 428.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.2709, allocations: 32.75 kB / 428.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2713, allocations: 192.5 kB / 428.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.2713, allocations: 24.97 kB / 428.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.2714, allocations: 28.12 kB / 429 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.2719, allocations: 226.1 kB / 429.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2719, allocations: 0 / 429.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.2719, allocations: 16 kB / 429.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2719, allocations: 4 kB / 429.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.2723, allocations: 182.4 kB / 429.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.2736, allocations: 0.687 MB / 430.1 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.2741, allocations: 214.4 kB / 430.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.2743, allocations: 104.8 kB / 430.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2743, allocations: 0 / 430.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2744, allocations: 34.56 kB / 430.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.193e-06/0.2744, allocations: 0 / 430.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001734/0.2761, allocations: 0.8138 MB / 431.2 MB, free: 7.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.2761, allocations: 55.41 kB / 431.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.2763, allocations: 154.6 kB / 431.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2763, allocations: 33.7 kB / 431.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.2764, allocations: 140.8 kB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.2765, allocations: 103.1 kB / 431.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.2766, allocations: 49.7 kB / 431.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2768, allocations: 334.8 kB / 432.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.277, allocations: 75.95 kB / 432.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.2772, allocations: 120 kB / 432.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.2776, allocations: 199.3 kB / 432.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2776, allocations: 4 kB / 432.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005064/0.2781, allocations: 277.3 kB / 432.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2781, allocations: 7.438 kB / 432.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2781, allocations: 0 / 432.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2781, allocations: 4 kB / 432.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.2784, allocations: 75.89 kB / 432.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2784, allocations: 4 kB / 432.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.2786, allocations: 16.09 kB / 432.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2786, allocations: 4 kB / 432.9 MB, free: 5.438 MB / 334.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.0001507/0.2787, allocations: 149.6 kB / 433 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.2788, allocations: 15.91 kB / 433 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.2788, allocations: 26.66 kB / 433 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2788, allocations: 4 kB / 433 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2789, allocations: 0 / 433 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.2789, allocations: 3.984 kB / 433 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.2799, allocations: 0.629 MB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2799, allocations: 3.938 kB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.2802, allocations: 75.89 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.2802, allocations: 11.92 kB / 433.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2803, allocations: 8.062 kB / 433.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.2803, allocations: 7.938 kB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2803, allocations: 0 / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.281, allocations: 439.2 kB / 434.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.281, allocations: 27.84 kB / 434.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.2811, allocations: 4.062 kB / 434.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.2812, allocations: 15.94 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.2813, allocations: 15.95 kB / 434.3 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.2813, allocations: 12 kB / 434.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.684e-05/0.2814, allocations: 120.6 kB / 434.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2814, allocations: 0 / 434.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.2817, allocations: 60 kB / 434.5 MB, free: 3.742 MB / 334.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.0001177/0.2818, allocations: 107.2 kB / 434.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.2823, allocations: 191.8 kB / 434.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2823, allocations: 0 / 434.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.2825, allocations: 99.83 kB / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.2829, allocations: 58.59 kB / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.2844, allocations: 0.8411 MB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.2848, allocations: 0.7522 MB / 436.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.2849, allocations: 19.44 kB / 436.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2849, allocations: 0 / 436.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of Templates: time 0.005356/0.2903, allocations: 2.81 MB / 439.3 MB, free: 14.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.327664416050538]