Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001711/0.001711, 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 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.001981/0.001981, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 47.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2692, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004187/0.2733, allocations: 2.314 MB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2746, allocations: 0.5921 MB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2747, allocations: 4 kB / 435.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.2749, allocations: 35.59 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.2751, allocations: 83.27 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2753, allocations: 59.91 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.2756, allocations: 294.6 kB / 435.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2758, allocations: 82.31 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.276, allocations: 111.6 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2762, allocations: 111.4 kB / 436 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.2762, allocations: 24 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.116e-05/0.2763, allocations: 24 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-05/0.2763, allocations: 55.78 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.2765, allocations: 107.5 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.2768, allocations: 302.5 kB / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2768, allocations: 0 / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2768, allocations: 0 / 436.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.2768, allocations: 0 / 436.5 MB, free: 2.531 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.0008828/0.2777, allocations: 481.7 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2778, allocations: 8.031 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.2778, allocations: 32.75 kB / 437 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.2782, allocations: 178.7 kB / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.2783, allocations: 21.03 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.2783, allocations: 28.12 kB / 437.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.2788, allocations: 234 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.2788, allocations: 3.953 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2789, allocations: 12 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.2789, allocations: 11.97 kB / 437.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.2793, allocations: 178.5 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2805, allocations: 0.5861 MB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.281, allocations: 205.2 kB / 438.4 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.2813, allocations: 104.8 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2813, allocations: 3.938 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.2813, allocations: 38.56 kB / 438.6 MB, free: 336 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.2813, allocations: 3.938 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001832/0.2831, allocations: 0.8131 MB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2832, allocations: 55.41 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2834, allocations: 147.9 kB / 439.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2834, allocations: 29.7 kB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.2835, allocations: 144.8 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2836, allocations: 111 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.2837, allocations: 53.7 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2839, allocations: 334.8 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.2841, allocations: 71.95 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.2843, allocations: 115.3 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.2847, allocations: 199.3 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2847, allocations: 3.938 kB / 440.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005337/0.2852, allocations: 261.5 kB / 440.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2852, allocations: 8 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2852, allocations: 3.984 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2853, allocations: 4 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.2855, allocations: 75.89 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2856, allocations: 4 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2857, allocations: 16.09 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.2857, allocations: 15.97 kB / 441 MB, free: 13.76 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.0001804/0.2859, allocations: 146.6 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.2859, allocations: 19.86 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.286, allocations: 21.97 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.286, allocations: 0 / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.286, allocations: 0 / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.286, allocations: 7.984 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2871, allocations: 0.5662 MB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2871, allocations: 0 / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.2874, allocations: 67.91 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2874, allocations: 4 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.2874, allocations: 7.984 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.2874, allocations: 4 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2874, allocations: 0 / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/0.2882, allocations: 443.3 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.2882, allocations: 15.86 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.2883, allocations: 12.05 kB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2884, allocations: 8 kB / 442.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.2885, allocations: 27.84 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2885, allocations: 7.984 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.822e-05/0.2886, allocations: 110.9 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2886, allocations: 0 / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.2889, allocations: 56 kB / 442.5 MB, free: 12.18 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.0001399/0.2891, allocations: 115.1 kB / 442.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000466/0.2895, allocations: 184.1 kB / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2895, allocations: 0 / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2898, allocations: 99.83 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2902, allocations: 42.95 kB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.2918, allocations: 0.8488 MB / 443.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.2919, allocations: 142.5 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.292, allocations: 19.44 kB / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of SimCode: time 1.302e-06/0.292, allocations: 0 / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Templates: time 0.00578/0.2978, allocations: 2.891 MB / 446.9 MB, free: 7.785 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.2576275411993265]