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.001338/0.001338, allocations: 78.88 kB / 20.68 MB, free: 1.039 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.00132/0.00132, allocations: 153.5 kB / 23.94 MB, free: 4.176 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.412/1.412, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.503e-06/1.503e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.242e-05, allocations: 2.281 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002878/0.002901, allocations: 2.292 MB / 321.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.003718, allocations: 0.5615 MB / 321.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003835, allocations: 9.312 kB / 321.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.003974, allocations: 37.33 kB / 321.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.004127, allocations: 84.19 kB / 321.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.004282, allocations: 57.03 kB / 321.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.004562, allocations: 307.9 kB / 322.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.004735, allocations: 75.95 kB / 322.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.004944, allocations: 173.2 kB / 322.5 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.005085, allocations: 86.94 kB / 322.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.005134, allocations: 24 kB / 322.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.005182, allocations: 24.62 kB / 322.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.005226, allocations: 62.38 kB / 322.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.908e-05/0.005325, allocations: 94.47 kB / 322.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.005648, allocations: 304.6 kB / 323.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005651, allocations: 0.75 kB / 323.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005652, allocations: 1.812 kB / 323.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.005658, allocations: 0 / 323.1 MB, free: 1.016 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.0006784/0.006336, allocations: 475.3 kB / 323.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.00637, allocations: 10.27 kB / 323.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.006427, allocations: 35.23 kB / 323.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.006649, allocations: 179.2 kB / 323.8 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.006669, allocations: 20.12 kB / 323.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.006717, allocations: 25.36 kB / 323.8 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.007137, allocations: 234.1 kB / 324 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.007158, allocations: 9.875 kB / 324 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.00718, allocations: 9.375 kB / 324 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.007188, allocations: 6.875 kB / 324.1 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.007593, allocations: 178.9 kB / 324.2 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.008647, allocations: 0.5938 MB / 324.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.009156, allocations: 203.2 kB / 325 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.009388, allocations: 99.62 kB / 325.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.009403, allocations: 7.375 kB / 325.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.009435, allocations: 41.2 kB / 325.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.009437, allocations: 0 / 325.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001811/0.01125, allocations: 0.8109 MB / 326 MB, free: 15.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.0113, allocations: 58.66 kB / 326 MB, free: 15.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.01149, allocations: 148.5 kB / 326.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.01152, allocations: 31.02 kB / 326.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.01166, allocations: 148 kB / 326.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.01177, allocations: 103.7 kB / 326.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.0119, allocations: 51.27 kB / 326.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.01205, allocations: 329.2 kB / 326.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.01225, allocations: 71.16 kB / 326.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.01248, allocations: 120.5 kB / 327 MB, free: 14.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.01289, allocations: 204.8 kB / 327.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01289, allocations: 1.828 kB / 327.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005209/0.01341, allocations: 267 kB / 327.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01342, allocations: 4.719 kB / 327.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01343, allocations: 5.125 kB / 327.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01345, allocations: 3.406 kB / 327.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.01375, allocations: 77.34 kB / 327.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.01376, allocations: 6.406 kB / 327.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.01389, allocations: 12.05 kB / 327.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01391, allocations: 8.344 kB / 327.6 MB, free: 14.07 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.0001383/0.01404, allocations: 140.2 kB / 327.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.01409, allocations: 21.09 kB / 327.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.01415, allocations: 26.23 kB / 327.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01416, allocations: 6.938 kB / 327.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01416, allocations: 0.6562 kB / 327.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.01417, allocations: 2.891 kB / 327.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.01515, allocations: 0.5528 MB / 328.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01515, allocations: 1.375 kB / 328.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.0155, allocations: 70.84 kB / 328.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.0155, allocations: 5.344 kB / 328.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.01552, allocations: 8.688 kB / 328.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01552, allocations: 1.375 kB / 328.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01552, allocations: 2.312 kB / 328.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.01628, allocations: 450.8 kB / 328.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.01631, allocations: 14.77 kB / 328.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.01634, allocations: 7.234 kB / 328.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.0165, allocations: 15.83 kB / 328.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.01656, allocations: 15.97 kB / 328.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01657, allocations: 9.375 kB / 328.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.739e-05/0.01666, allocations: 113 kB / 329 MB, free: 13.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01666, allocations: 0 / 329 MB, free: 13.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.01699, allocations: 62.53 kB / 329.1 MB, free: 13.12 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.0001282/0.01712, allocations: 103.3 kB / 329.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.01759, allocations: 195.8 kB / 329.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01759, allocations: 0 / 329.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.0178, allocations: 99.94 kB / 329.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.01823, allocations: 49.19 kB / 329.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.01949, allocations: 0.6796 MB / 330.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.01964, allocations: 144.3 kB / 330.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.87e-05/0.01972, allocations: 18.28 kB / 330.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.01978, allocations: 21.31 kB / 330.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01978, allocations: 0 / 330.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Templates: time 0.00594/0.02572, allocations: 2.097 MB / 332.5 MB, free: 11.77 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/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: 4.110191594809294]