Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001212/0.001212, allocations: 85.95 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.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.001172/0.001172, allocations: 162.3 kB / 25.6 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9952/0.9952, allocations: 158.6 MB / 187.5 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 251.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.469e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003229/0.003254, allocations: 2.443 MB / 253.9 MB, free: 4.816 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.004367, allocations: 0.6086 MB / 254.5 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.004523, allocations: 7.938 kB / 254.5 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.004667, allocations: 39.59 kB / 254.6 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.004817, allocations: 83.2 kB / 254.6 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.004978, allocations: 59.91 kB / 254.7 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.005228, allocations: 302.5 kB / 255 MB, free: 3.715 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.005393, allocations: 71.36 kB / 255.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.005603, allocations: 183.6 kB / 255.2 MB, free: 3.465 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.005708, allocations: 83.77 kB / 255.3 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.005739, allocations: 24 kB / 255.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.005768, allocations: 24 kB / 255.4 MB, free: 3.336 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.066e-05/0.005809, allocations: 59.75 kB / 255.4 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.005889, allocations: 95.81 kB / 255.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.006153, allocations: 199.2 kB / 255.7 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006156, allocations: 0 / 255.7 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006157, allocations: 0 / 255.7 MB, free: 2.988 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.006161, allocations: 0 / 255.7 MB, free: 2.988 MB / 234.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.0006104/0.006771, allocations: 0.5703 MB / 256.3 MB, free: 2.379 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.00682, allocations: 15.97 kB / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.006888, allocations: 48.8 kB / 256.3 MB, free: 2.316 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.007082, allocations: 188.7 kB / 256.5 MB, free: 2.105 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.007097, allocations: 17.03 kB / 256.5 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.007132, allocations: 28.33 kB / 256.6 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.007343, allocations: 167.4 kB / 256.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.007357, allocations: 7.938 kB / 256.7 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.007375, allocations: 12 kB / 256.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.007386, allocations: 15.97 kB / 256.8 MB, free: 1.855 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.007479, allocations: 80.45 kB / 256.8 MB, free: 1.777 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.008162, allocations: 0.582 MB / 257.4 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.008405, allocations: 154.9 kB / 257.6 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.008469, allocations: 63.62 kB / 257.6 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.00848, allocations: 4 kB / 257.6 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.008503, allocations: 45.39 kB / 257.7 MB, free: 0.875 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.008505, allocations: 0 / 257.7 MB, free: 0.875 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007561/0.009261, allocations: 0.5909 MB / 258.3 MB, free: 232 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.009291, allocations: 55.41 kB / 258.3 MB, free: 164 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.009408, allocations: 201.8 kB / 258.5 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.009424, allocations: 29.7 kB / 258.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.009505, allocations: 195.4 kB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.009563, allocations: 103.1 kB / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.009635, allocations: 59.33 kB / 258.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.009805, allocations: 0.5001 MB / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.009851, allocations: 31.97 kB / 259.4 MB, free: 15 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.009929, allocations: 82.41 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01006, allocations: 122.6 kB / 259.6 MB, free: 14.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01006, allocations: 4 kB / 259.6 MB, free: 14.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002232/0.01028, allocations: 185.4 kB / 259.8 MB, free: 14.58 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.0103, allocations: 11.94 kB / 259.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.01031, allocations: 4.094 kB / 259.8 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01032, allocations: 4 kB / 259.8 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.0105, allocations: 71.89 kB / 259.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.0105, allocations: 0 / 259.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.01056, allocations: 16 kB / 259.9 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01057, allocations: 4 kB / 259.9 MB, free: 14.47 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 0.0001001/0.01067, allocations: 168.5 kB / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.01071, allocations: 31.83 kB / 260.1 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.01075, allocations: 29.95 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01075, allocations: 8 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01076, allocations: 0 / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01076, allocations: 0 / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.01158, allocations: 0.5014 MB / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01158, allocations: 0 / 260.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.01175, allocations: 71.91 kB / 260.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01175, allocations: 0 / 260.7 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01176, allocations: 8 kB / 260.8 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01177, allocations: 8.062 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.01177, allocations: 4 kB / 260.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.01208, allocations: 385 kB / 261.1 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.0121, allocations: 15.89 kB / 261.2 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.01213, allocations: 11.94 kB / 261.2 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.01219, allocations: 8 kB / 261.2 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.01223, allocations: 15.91 kB / 261.2 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.01224, allocations: 8 kB / 261.2 MB, free: 13.13 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.0123, allocations: 151.8 kB / 261.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0123, allocations: 0 / 261.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.01251, allocations: 60 kB / 261.4 MB, free: 12.92 MB / 250.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 9.507e-05/0.0126, allocations: 99.25 kB / 261.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.01276, allocations: 123.9 kB / 261.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01276, allocations: 0 / 261.6 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.01283, allocations: 79.41 kB / 261.7 MB, free: 12.61 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01311, allocations: 51.78 kB / 261.7 MB, free: 12.56 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009856/0.0141, allocations: 0.6724 MB / 262.4 MB, free: 11.85 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.722e-05/0.01416, allocations: 88.64 kB / 262.5 MB, free: 11.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.954e-05/0.01423, allocations: 17.94 kB / 262.5 MB, free: 11.72 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.01435, allocations: 118.2 kB / 262.6 MB, free: 11.61 MB / 250.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01435, allocations: 4 kB / 262.6 MB, free: 11.6 MB / 250.7 MB Notification: Performance of Templates: time 0.004214/0.01857, allocations: 2.296 MB / 264.9 MB, free: 9.332 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.671874511986971]