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.002397/0.002397, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.002544/0.002544, allocations: 165.3 kB / 24.28 MB, free: 144 kB / 18.57 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.63/1.63, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.903e-06/1.903e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.483e-05/3.673e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004577/0.004614, allocations: 2.444 MB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.005923, allocations: 0.592 MB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.006085, allocations: 11.94 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.006281, allocations: 31.66 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.006516, allocations: 91.2 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.006742, allocations: 59.89 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.007195, allocations: 306.4 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.00745, allocations: 75.34 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.008009, allocations: 167.7 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.008191, allocations: 103.7 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.008241, allocations: 24 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.008295, allocations: 24 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.008373, allocations: 51.83 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.008509, allocations: 99.73 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.008947, allocations: 302.9 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.008951, allocations: 0 / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.008953, allocations: 0 / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.008959, allocations: 0 / 276.7 MB, free: 13.47 MB / 266.7 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.0009403/0.009899, allocations: 0.5701 MB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.009937, allocations: 12.03 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.01004, allocations: 48.75 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.01036, allocations: 196.7 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.01039, allocations: 21.03 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.01045, allocations: 24.38 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.0109, allocations: 210.7 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.01092, allocations: 7.891 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.01095, allocations: 12 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.01096, allocations: 12 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.01135, allocations: 158.5 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.01264, allocations: 0.6869 MB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.01317, allocations: 214.9 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.01339, allocations: 99.64 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01341, allocations: 4 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.01345, allocations: 45.38 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.01345, allocations: 0 / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001772/0.01522, allocations: 0.7971 MB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.01528, allocations: 59.41 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.01548, allocations: 213.9 kB / 280 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.0155, allocations: 25.7 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.01565, allocations: 199.4 kB / 280.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.01576, allocations: 115.1 kB / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01587, allocations: 63.3 kB / 280.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003048/0.01617, allocations: 0.5118 MB / 280.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.01634, allocations: 63.97 kB / 281 MB, free: 8.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.01655, allocations: 127.2 kB / 281.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.01694, allocations: 210.6 kB / 281.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01695, allocations: 0 / 281.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005296/0.01748, allocations: 269.4 kB / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01749, allocations: 4 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.0175, allocations: 0 / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.01752, allocations: 4 kB / 281.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.01781, allocations: 71.91 kB / 281.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.01783, allocations: 7.984 kB / 281.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01793, allocations: 8 kB / 281.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.01795, allocations: 8.094 kB / 281.7 MB, free: 8.148 MB / 266.7 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.0001833/0.01814, allocations: 184.5 kB / 281.9 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.0182, allocations: 31.84 kB / 281.9 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.01828, allocations: 25.95 kB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01828, allocations: 4 kB / 281.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.01829, allocations: 4 kB / 281.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.0183, allocations: 0 / 281.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.01939, allocations: 0.6384 MB / 282.6 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01939, allocations: 4.062 kB / 282.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.01972, allocations: 71.91 kB / 282.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01973, allocations: 0 / 282.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.01975, allocations: 8 kB / 282.7 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01975, allocations: 0 / 282.7 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.01975, allocations: 4 kB / 282.7 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.02076, allocations: 494 kB / 283.1 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.0208, allocations: 23.86 kB / 283.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.02083, allocations: 4 kB / 283.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.02096, allocations: 11.98 kB / 283.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.02103, allocations: 19.97 kB / 283.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.02105, allocations: 12 kB / 283.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.02117, allocations: 153.6 kB / 283.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02117, allocations: 0 / 283.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.02149, allocations: 63.94 kB / 283.4 MB, free: 6.32 MB / 266.7 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.0001546/0.02164, allocations: 107.1 kB / 283.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.02211, allocations: 208.4 kB / 283.7 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02211, allocations: 0 / 283.7 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.02233, allocations: 115.5 kB / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.02275, allocations: 43.89 kB / 283.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.02413, allocations: 0.6855 MB / 284.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.0243, allocations: 142.5 kB / 284.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.02438, allocations: 17.95 kB / 284.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.02444, allocations: 20.5 kB / 284.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of SimCode: time 4.6e-07/0.02444, allocations: 0 / 284.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of Templates: time 0.006496/0.03094, allocations: 2.125 MB / 286.9 MB, free: 2.832 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_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.505141168949194]