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.00103/0.00103, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001129/0.001129, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 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 0.9752/0.9752, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] 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.733e-06/1.733e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.191e-05, allocations: 6.312 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002815/0.002837, allocations: 2.444 MB / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.003736, allocations: 0.5912 MB / 277.2 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.003846, allocations: 7.938 kB / 277.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.003983, allocations: 47.52 kB / 277.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.004118, allocations: 81.2 kB / 277.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.004257, allocations: 55.92 kB / 277.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.00449, allocations: 307 kB / 277.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.004637, allocations: 75.3 kB / 277.8 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.004941, allocations: 183.6 kB / 278 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.005051, allocations: 91.7 kB / 278 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.005082, allocations: 24 kB / 278.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.661e-05/0.005108, allocations: 24 kB / 278.1 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.005149, allocations: 59.8 kB / 278.1 MB, free: 456 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.617e-05/0.005215, allocations: 91.77 kB / 278.2 MB, free: 364 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.005413, allocations: 191.4 kB / 278.4 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005416, allocations: 0 / 278.4 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005417, allocations: 3.938 kB / 278.4 MB, free: 168 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005422, allocations: 0 / 278.4 MB, free: 168 kB / 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.0004991/0.005921, allocations: 0.5664 MB / 279 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.005953, allocations: 8.031 kB / 279 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.006008, allocations: 52.75 kB / 279.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.006186, allocations: 184.8 kB / 279.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.006202, allocations: 17.03 kB / 279.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.006235, allocations: 36.3 kB / 279.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.00643, allocations: 167.4 kB / 279.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.006444, allocations: 15.89 kB / 279.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.006459, allocations: 8 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.934e-06/0.006466, allocations: 8 kB / 279.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.295e-05/0.006559, allocations: 72.52 kB / 279.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.00722, allocations: 0.5975 MB / 280.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.007438, allocations: 154.4 kB / 280.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.007498, allocations: 59.64 kB / 280.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.00751, allocations: 4 kB / 280.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.007529, allocations: 45.33 kB / 280.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.007531, allocations: 0 / 280.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006658/0.008197, allocations: 0.5829 MB / 281 MB, free: 13.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.008226, allocations: 55.41 kB / 281 MB, free: 13.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.008319, allocations: 204.9 kB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.008333, allocations: 29.7 kB / 281.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.008407, allocations: 195.4 kB / 281.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.008463, allocations: 107 kB / 281.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.008516, allocations: 51.34 kB / 281.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.008663, allocations: 0.5195 MB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.008724, allocations: 23.98 kB / 282.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.008819, allocations: 75.28 kB / 282.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.008956, allocations: 135.4 kB / 282.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.008957, allocations: 0 / 282.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001764/0.009133, allocations: 173.5 kB / 282.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.009146, allocations: 11.92 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.00915, allocations: 8.031 kB / 282.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.00916, allocations: 4 kB / 282.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.009326, allocations: 67.91 kB / 282.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.00933, allocations: 4 kB / 282.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.009388, allocations: 8 kB / 282.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.009398, allocations: 11.98 kB / 282.7 MB, free: 11.66 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.246e-05/0.009481, allocations: 168.5 kB / 282.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.009517, allocations: 35.8 kB / 282.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.009553, allocations: 21.97 kB / 282.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.009557, allocations: 8 kB / 282.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.009559, allocations: 0 / 282.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.009564, allocations: 3.984 kB / 282.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.01023, allocations: 0.499 MB / 283.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01024, allocations: 0 / 283.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.01044, allocations: 67.91 kB / 283.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.01044, allocations: 4 kB / 283.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01045, allocations: 4 kB / 283.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.01046, allocations: 16.05 kB / 283.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01046, allocations: 3.984 kB / 283.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.01076, allocations: 389 kB / 283.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.01079, allocations: 11.91 kB / 283.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01081, allocations: 8 kB / 283.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.01088, allocations: 8 kB / 283.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01092, allocations: 19.95 kB / 283.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01093, allocations: 8 kB / 283.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.534e-05/0.01099, allocations: 139.2 kB / 284 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 284 MB, free: 10.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.0112, allocations: 64 kB / 284.1 MB, free: 10.12 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.000109/0.01131, allocations: 107.2 kB / 284.2 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01149, allocations: 125 kB / 284.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01149, allocations: 0 / 284.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.01156, allocations: 72.23 kB / 284.4 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01185, allocations: 48.17 kB / 284.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.0128, allocations: 0.6808 MB / 285.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.79e-05/0.01286, allocations: 92.58 kB / 285.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.558e-05/0.01291, allocations: 13.95 kB / 285.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.01302, allocations: 110.2 kB / 285.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01302, allocations: 4 kB / 285.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of Templates: time 0.004257/0.01728, allocations: 2.373 MB / 287.7 MB, free: 6.473 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","",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.691540997941047]