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.0008036/0.0008036, allocations: 84 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003441/0.003441, allocations: 140.8 kB / 24.68 MB, free: 8.891 MB / 18.57 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 0.8308/0.8308, allocations: 173.4 MB / 201.2 MB, free: 9.465 MB / 186.7 MB " [Timeout remaining time 179] 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 2.895e-06/2.895e-06, allocations: 4 kB / 319.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.747e-05, allocations: 2.281 kB / 319.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002498/0.002526, allocations: 2.298 MB / 322 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000818/0.003344, allocations: 0.5608 MB / 322.5 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003462, allocations: 4 kB / 322.5 MB, free: 3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.003597, allocations: 35.59 kB / 322.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.003728, allocations: 91.2 kB / 322.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.003879, allocations: 67.83 kB / 322.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.004111, allocations: 302.5 kB / 323 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.004268, allocations: 75.34 kB / 323.1 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.004422, allocations: 167.7 kB / 323.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.004527, allocations: 91.7 kB / 323.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.004564, allocations: 24 kB / 323.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.00459, allocations: 24 kB / 323.4 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.00463, allocations: 59.75 kB / 323.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.004696, allocations: 91.81 kB / 323.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.004953, allocations: 303 kB / 323.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004956, allocations: 0 / 323.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004957, allocations: 0 / 323.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004962, allocations: 0 / 323.8 MB, free: 1.691 MB / 282.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.0005517/0.005514, allocations: 477.7 kB / 324.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.005549, allocations: 12.92 kB / 324.3 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.005594, allocations: 32.75 kB / 324.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.005824, allocations: 184.9 kB / 324.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.005841, allocations: 21.03 kB / 324.6 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.005881, allocations: 24.38 kB / 324.6 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.006196, allocations: 230.6 kB / 324.8 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.006213, allocations: 7.891 kB / 324.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.006231, allocations: 12 kB / 324.8 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.006239, allocations: 11.98 kB / 324.8 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.006492, allocations: 174.5 kB / 325 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.00728, allocations: 0.5978 MB / 325.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.007636, allocations: 201.8 kB / 325.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.007769, allocations: 100.8 kB / 325.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.007782, allocations: 4 kB / 325.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.007801, allocations: 34.5 kB / 325.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.007803, allocations: 4 kB / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001099/0.008901, allocations: 0.812 MB / 326.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.008934, allocations: 55.41 kB / 326.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.009024, allocations: 148.1 kB / 326.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.009038, allocations: 33.7 kB / 327 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.009099, allocations: 148.7 kB / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.009152, allocations: 107.1 kB / 327.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.009207, allocations: 53.66 kB / 327.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.009291, allocations: 326.8 kB / 327.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.009403, allocations: 75.95 kB / 327.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.009532, allocations: 115.2 kB / 327.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.009776, allocations: 207.3 kB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.009777, allocations: 3.938 kB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002964/0.01007, allocations: 257.4 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01009, allocations: 4 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01009, allocations: 3.984 kB / 328.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01011, allocations: 8.094 kB / 328.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.01027, allocations: 71.91 kB / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.01027, allocations: 0 / 328.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.144e-05/0.01034, allocations: 15.98 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.01034, allocations: 8 kB / 328.4 MB, free: 12.93 MB / 298.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 8.734e-05/0.01043, allocations: 137.8 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.01046, allocations: 23.83 kB / 328.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.01049, allocations: 29.95 kB / 328.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.0105, allocations: 4 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.0105, allocations: 4 kB / 328.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01051, allocations: 0 / 328.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.0111, allocations: 0.5567 MB / 329.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.0111, allocations: 0 / 329.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.01128, allocations: 75.89 kB / 329.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01129, allocations: 4 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.0113, allocations: 4.062 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.0113, allocations: 12 kB / 329.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.0113, allocations: 0 / 329.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.01174, allocations: 447.5 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.01175, allocations: 11.91 kB / 329.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01177, allocations: 8.062 kB / 329.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.01184, allocations: 11.98 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.01188, allocations: 23.91 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.01189, allocations: 11.94 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.224e-05/0.01194, allocations: 118.1 kB / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01194, allocations: 0 / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000193/0.01214, allocations: 55.94 kB / 329.9 MB, free: 11.34 MB / 298.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.0001272/0.01226, allocations: 107.2 kB / 330 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.01255, allocations: 192.1 kB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01256, allocations: 4.188 kB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.01268, allocations: 96.05 kB / 330.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01296, allocations: 43.81 kB / 330.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.01379, allocations: 0.7058 MB / 331 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.605e-05/0.01388, allocations: 146.5 kB / 331.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.01393, allocations: 20.5 kB / 331.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01393, allocations: 0 / 331.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of Templates: time 0.002986/0.01692, allocations: 2.895 MB / 334.1 MB, free: 7.074 MB / 298.7 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.177444260567427]