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.001424/0.001424, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001442/0.001442, allocations: 160.6 kB / 23.95 MB, free: 4.152 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.515/1.515, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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 1.533e-06/1.533e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.643e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.0036/0.003626, allocations: 2.321 MB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.004745, allocations: 0.5888 MB / 327.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.004874, allocations: 9 kB / 327.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.005026, allocations: 37.73 kB / 328 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.005226, allocations: 83.95 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.005444, allocations: 65.06 kB / 328.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.005823, allocations: 303.9 kB / 328.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.006017, allocations: 78.58 kB / 328.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.006298, allocations: 173.2 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.006457, allocations: 96.31 kB / 328.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.529e-05/0.006503, allocations: 23.88 kB / 328.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.741e-05/0.00655, allocations: 23.41 kB / 328.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.006613, allocations: 52.72 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.006734, allocations: 96.39 kB / 328.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.007151, allocations: 293.5 kB / 329.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.007155, allocations: 1.062 kB / 329.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007156, allocations: 0 / 329.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.007162, allocations: 0 / 329.2 MB, free: 13.9 MB / 302.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.0008274/0.00799, allocations: 484.8 kB / 329.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.008024, allocations: 12.83 kB / 329.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.19e-05/0.008086, allocations: 30.84 kB / 329.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.008403, allocations: 176.1 kB / 329.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.008429, allocations: 19.88 kB / 329.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.008484, allocations: 30.08 kB / 330 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.008981, allocations: 228.9 kB / 330.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.009004, allocations: 9.641 kB / 330.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.009031, allocations: 14.22 kB / 330.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.009039, allocations: 6.781 kB / 330.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.009481, allocations: 175.3 kB / 330.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.0107, allocations: 0.5984 MB / 331 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.01124, allocations: 203.8 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.01148, allocations: 101.6 kB / 331.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.0115, allocations: 3.469 kB / 331.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.01153, allocations: 32.84 kB / 331.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.01153, allocations: 0 / 331.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001839/0.01337, allocations: 0.8142 MB / 332.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.01342, allocations: 54.81 kB / 332.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.01357, allocations: 145 kB / 332.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.0136, allocations: 34.98 kB / 332.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01372, allocations: 151.2 kB / 332.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.01381, allocations: 106.2 kB / 332.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.0139, allocations: 52.27 kB / 332.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.01411, allocations: 327.2 kB / 333 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.01431, allocations: 83.94 kB / 333.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.01454, allocations: 114.4 kB / 333.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.01499, allocations: 201.7 kB / 333.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01499, allocations: 0 / 333.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005225/0.01552, allocations: 261.4 kB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.01553, allocations: 6.031 kB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01554, allocations: 1.094 kB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01556, allocations: 6.484 kB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.01586, allocations: 73.84 kB / 333.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01587, allocations: 2.094 kB / 333.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.016, allocations: 14.73 kB / 333.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.01602, allocations: 10.69 kB / 333.7 MB, free: 10.72 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.0001436/0.01616, allocations: 140.3 kB / 333.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.01621, allocations: 21.09 kB / 333.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.01628, allocations: 28.58 kB / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01628, allocations: 2.781 kB / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01629, allocations: 0 / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01629, allocations: 5.328 kB / 333.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.01729, allocations: 0.5621 MB / 334.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01729, allocations: 5.844 kB / 334.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.01763, allocations: 67.42 kB / 334.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01764, allocations: 2.219 kB / 334.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.01765, allocations: 10.03 kB / 334.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01766, allocations: 2.5 kB / 334.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01766, allocations: 1 kB / 334.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/0.01848, allocations: 445.8 kB / 335 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.01851, allocations: 18.16 kB / 335 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.01855, allocations: 5.719 kB / 335 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.0187, allocations: 13.36 kB / 335 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.01877, allocations: 23.09 kB / 335.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.01878, allocations: 5.875 kB / 335.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.908e-05/0.01887, allocations: 110.8 kB / 335.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01887, allocations: 3.938 kB / 335.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.01921, allocations: 62.5 kB / 335.2 MB, free: 9.637 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.0001473/0.01936, allocations: 106.1 kB / 335.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.01983, allocations: 192.5 kB / 335.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01983, allocations: 0 / 335.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.02005, allocations: 102.8 kB / 335.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.0205, allocations: 47.17 kB / 335.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.02188, allocations: 0.6653 MB / 336.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.02205, allocations: 144.1 kB / 336.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.02213, allocations: 32.33 kB / 336.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.02219, allocations: 20.84 kB / 336.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.02219, allocations: 0 / 336.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of Templates: time 0.00613/0.02832, allocations: 2.092 MB / 338.6 MB, free: 7.09 MB / 302.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/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_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: 4.25791373103857]