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.001282/0.001282, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.000885/0.000885, allocations: 146 kB / 25.59 MB, free: 8.109 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.8797/0.8797, allocations: 173.4 MB / 202.2 MB, free: 8.262 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 1.713e-06/1.713e-06, allocations: 0 / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.611e-05, allocations: 4.703 kB / 269.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002689/0.002705, allocations: 2.441 MB / 271.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008179/0.003523, allocations: 0.564 MB / 272.2 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.003656, allocations: 8.625 kB / 272.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.003804, allocations: 35.59 kB / 272.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.003953, allocations: 89.73 kB / 272.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.004125, allocations: 63.89 kB / 272.4 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.004392, allocations: 310.4 kB / 272.7 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.00453, allocations: 72.92 kB / 272.7 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.004686, allocations: 167.7 kB / 272.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.004791, allocations: 99.69 kB / 273 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.004821, allocations: 24 kB / 273 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.525e-05/0.004846, allocations: 24 kB / 273.1 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.004884, allocations: 52.36 kB / 273.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.004954, allocations: 100.2 kB / 273.2 MB, free: 5.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.005152, allocations: 195.2 kB / 273.4 MB, free: 5.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005153, allocations: 0 / 273.4 MB, free: 5.586 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005154, allocations: 3.938 kB / 273.4 MB, free: 5.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.005158, allocations: 0 / 273.4 MB, free: 5.582 MB / 250.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.0004784/0.005637, allocations: 0.5664 MB / 274 MB, free: 4.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.005666, allocations: 12.03 kB / 274 MB, free: 4.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.005722, allocations: 48.75 kB / 274 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.005901, allocations: 192.7 kB / 274.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.005919, allocations: 17.03 kB / 274.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.005953, allocations: 28.38 kB / 274.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.00614, allocations: 163.4 kB / 274.4 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.006156, allocations: 15.88 kB / 274.4 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.006169, allocations: 8 kB / 274.4 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.006177, allocations: 11.98 kB / 274.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.006263, allocations: 72.52 kB / 274.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.006881, allocations: 0.5937 MB / 275.1 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.007109, allocations: 153.1 kB / 275.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.007167, allocations: 59.64 kB / 275.3 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.007178, allocations: 8 kB / 275.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.007197, allocations: 33.39 kB / 275.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.007199, allocations: 0 / 275.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006131/0.007812, allocations: 0.5922 MB / 276 MB, free: 2.848 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.007837, allocations: 55.41 kB / 276 MB, free: 2.781 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.007922, allocations: 197.8 kB / 276.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.007934, allocations: 33.7 kB / 276.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.008001, allocations: 195.4 kB / 276.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.008049, allocations: 111 kB / 276.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.008101, allocations: 55.34 kB / 276.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.008223, allocations: 0.4962 MB / 277.1 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.008258, allocations: 27.97 kB / 277.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.008323, allocations: 87.28 kB / 277.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.008434, allocations: 131.1 kB / 277.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.008435, allocations: 4 kB / 277.3 MB, free: 1.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001661/0.008602, allocations: 177.4 kB / 277.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.008615, allocations: 9.969 kB / 277.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.00862, allocations: 3.938 kB / 277.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.008629, allocations: 4 kB / 277.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.008782, allocations: 75.89 kB / 277.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008786, allocations: 4 kB / 277.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.008839, allocations: 11.98 kB / 277.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.008848, allocations: 12.09 kB / 277.6 MB, free: 1.082 MB / 250.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.197e-05/0.00893, allocations: 172.5 kB / 277.8 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.008963, allocations: 35.8 kB / 277.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.008996, allocations: 21.97 kB / 277.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.008999, allocations: 4 kB / 277.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.009001, allocations: 0 / 277.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009005, allocations: 0 / 277.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.009416, allocations: 0.5025 MB / 278.4 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.009419, allocations: 4.062 kB / 278.4 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.009577, allocations: 67.91 kB / 278.4 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.00958, allocations: 8 kB / 278.4 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.00959, allocations: 4 kB / 278.4 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.009592, allocations: 4 kB / 278.4 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009593, allocations: 0 / 278.4 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.009847, allocations: 381.6 kB / 278.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.009862, allocations: 15.89 kB / 278.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.009878, allocations: 8 kB / 278.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.009938, allocations: 8 kB / 278.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.009974, allocations: 23.97 kB / 278.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.009982, allocations: 7.984 kB / 278.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.252e-05/0.01002, allocations: 146 kB / 279 MB, free: 15.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 279 MB, free: 15.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.01021, allocations: 60 kB / 279.1 MB, free: 15.54 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 8.362e-05/0.01029, allocations: 107.1 kB / 279.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.01044, allocations: 127.7 kB / 279.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01044, allocations: 192 / 279.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.01051, allocations: 81.91 kB / 279.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.01076, allocations: 46.72 kB / 279.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008104/0.01157, allocations: 0.6724 MB / 280.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.01162, allocations: 96.58 kB / 280.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.01167, allocations: 13.95 kB / 280.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/0.01176, allocations: 110.2 kB / 280.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01176, allocations: 0 / 280.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Templates: time 0.003849/0.01561, allocations: 2.359 MB / 282.7 MB, free: 11.92 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.604542190209031]