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.00102/0.00102, allocations: 78.28 kB / 21.42 MB, free: 3.082 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.001134/0.001134, allocations: 155.8 kB / 24.81 MB, free: 9.297 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 1.004/1.004, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.194e-06/2.194e-06, allocations: 0 / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.546e-05, allocations: 2.312 kB / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002945/0.00297, allocations: 2.449 MB / 270.8 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004205, allocations: 0.5726 MB / 271.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.004338, allocations: 7.938 kB / 271.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.004477, allocations: 39.59 kB / 271.5 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.004619, allocations: 87.19 kB / 271.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.004774, allocations: 59.91 kB / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.005013, allocations: 310.4 kB / 271.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.005158, allocations: 71.36 kB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.005348, allocations: 175.6 kB / 272.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005454, allocations: 83.77 kB / 272.2 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.005486, allocations: 27.94 kB / 272.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.001e-05/0.005516, allocations: 24 kB / 272.3 MB, free: 2.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.005553, allocations: 51.83 kB / 272.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.005629, allocations: 99.75 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.005879, allocations: 195.2 kB / 272.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.005883, allocations: 0 / 272.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005885, allocations: 0 / 272.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.005889, allocations: 4 kB / 272.6 MB, free: 1.977 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.0005215/0.006411, allocations: 0.5625 MB / 273.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.006448, allocations: 8.922 kB / 273.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.006505, allocations: 52.75 kB / 273.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.006699, allocations: 195.7 kB / 273.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.006716, allocations: 20.97 kB / 273.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.006755, allocations: 24.38 kB / 273.5 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.006963, allocations: 171.4 kB / 273.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.006978, allocations: 7.891 kB / 273.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006992, allocations: 12 kB / 273.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.007001, allocations: 8 kB / 273.7 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.007089, allocations: 80.44 kB / 273.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.007743, allocations: 0.5898 MB / 274.3 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.007961, allocations: 150.9 kB / 274.5 MB, free: 0 / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.008024, allocations: 67.69 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.008035, allocations: 4 kB / 274.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.008057, allocations: 37.39 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.182e-06/0.008058, allocations: 0 / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006624/0.00872, allocations: 0.5845 MB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.008746, allocations: 59.39 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.008834, allocations: 197.9 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.008847, allocations: 25.7 kB / 275.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.008924, allocations: 199.4 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.008981, allocations: 111 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.009038, allocations: 55.34 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.009176, allocations: 0.5001 MB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.009218, allocations: 31.97 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.009286, allocations: 82.42 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.009401, allocations: 126.6 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009404, allocations: 4 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001767/0.00958, allocations: 181.5 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009595, allocations: 11.94 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.0096, allocations: 0 / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.009613, allocations: 4 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.009778, allocations: 75.89 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.009781, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.009836, allocations: 12 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.009845, allocations: 8 kB / 276.8 MB, free: 13.47 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 8.871e-05/0.009934, allocations: 176.4 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.009967, allocations: 35.83 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.01001, allocations: 29.95 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01001, allocations: 4 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01001, allocations: 0 / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01002, allocations: 0 / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.01049, allocations: 0.5016 MB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01049, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.01066, allocations: 67.95 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01066, allocations: 3.938 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01068, allocations: 12.06 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01068, allocations: 7.938 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01068, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002849/0.01097, allocations: 389 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.01098, allocations: 11.91 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.011, allocations: 8 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.01106, allocations: 11.98 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.0111, allocations: 15.91 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01111, allocations: 8 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.01117, allocations: 149.6 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 4 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004834/0.01165, allocations: 56 kB / 278.3 MB, free: 11.91 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.0001003/0.01175, allocations: 99.25 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.01192, allocations: 127.7 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01192, allocations: 0 / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.293e-05/0.01198, allocations: 75.52 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01226, allocations: 44.22 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.0132, allocations: 0.6733 MB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.396e-05/0.01326, allocations: 80.66 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.01332, allocations: 25.92 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01343, allocations: 114.2 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01343, allocations: 0 / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.004358/0.01779, allocations: 2.304 MB / 281.8 MB, free: 8.352 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.750698174815625]