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.00242/0.00242, allocations: 95.55 kB / 21.73 MB, free: 2.688 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.002609/0.002609, allocations: 163.7 kB / 25.03 MB, free: 8.93 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 1.36/1.36, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.873e-06/1.873e-06, allocations: 0 / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.467e-05, allocations: 2.312 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004542/0.004577, allocations: 2.428 MB / 252.8 MB, free: 5.406 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.005901, allocations: 0.6085 MB / 253.4 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.006078, allocations: 7.938 kB / 253.4 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.006308, allocations: 47.52 kB / 253.4 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.006538, allocations: 83.27 kB / 253.5 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.006819, allocations: 55.92 kB / 253.6 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.007284, allocations: 306.4 kB / 253.9 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.007537, allocations: 75.34 kB / 253.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.00783, allocations: 167.7 kB / 254.1 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.008026, allocations: 95.64 kB / 254.2 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.008079, allocations: 24 kB / 254.2 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.253e-05/0.008132, allocations: 24 kB / 254.2 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.008203, allocations: 59.8 kB / 254.3 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.008342, allocations: 95.77 kB / 254.4 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.008798, allocations: 299 kB / 254.7 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.0088, allocations: 0 / 254.7 MB, free: 3.473 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.008802, allocations: 3.938 kB / 254.7 MB, free: 3.469 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.008809, allocations: 4 kB / 254.7 MB, free: 3.465 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.001011/0.00982, allocations: 0.5817 MB / 255.3 MB, free: 2.84 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.009868, allocations: 15.97 kB / 255.3 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.00998, allocations: 48.8 kB / 255.3 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.01033, allocations: 184.8 kB / 255.5 MB, free: 2.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.01035, allocations: 21.03 kB / 255.5 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.01041, allocations: 28.33 kB / 255.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.01087, allocations: 214.6 kB / 255.8 MB, free: 2.309 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.01089, allocations: 11.94 kB / 255.8 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.01092, allocations: 4 kB / 255.8 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01093, allocations: 8 kB / 255.8 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.01129, allocations: 162.5 kB / 256 MB, free: 2.125 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.01266, allocations: 0.6869 MB / 256.7 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.01318, allocations: 214.8 kB / 256.9 MB, free: 1.184 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.01339, allocations: 103.6 kB / 257 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01342, allocations: 4 kB / 257 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.01347, allocations: 37.39 kB / 257 MB, free: 1.027 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 1.213e-06/0.01347, allocations: 0 / 257 MB, free: 1.027 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.001843/0.01531, allocations: 0.8074 MB / 257.8 MB, free: 164 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.01536, allocations: 55.39 kB / 257.9 MB, free: 96 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.0156, allocations: 209.9 kB / 258.1 MB, free: 15.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.01564, allocations: 33.7 kB / 258.1 MB, free: 15.83 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.01581, allocations: 203.4 kB / 258.3 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.01591, allocations: 107.1 kB / 258.4 MB, free: 15.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.01603, allocations: 67.36 kB / 258.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002782/0.01631, allocations: 0.504 MB / 259 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.01648, allocations: 67.97 kB / 259 MB, free: 14.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.01672, allocations: 134.4 kB / 259.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.0171, allocations: 210.6 kB / 259.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0171, allocations: 0 / 259.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005044/0.01761, allocations: 269.3 kB / 259.6 MB, free: 14.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01762, allocations: 4.094 kB / 259.6 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.01763, allocations: 8 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01765, allocations: 0 / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.01794, allocations: 75.89 kB / 259.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01794, allocations: 4 kB / 259.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01805, allocations: 8 kB / 259.7 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.01808, allocations: 12 kB / 259.8 MB, free: 14.12 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.0001726/0.01825, allocations: 184.5 kB / 259.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.01832, allocations: 27.84 kB / 260 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.174e-05/0.0184, allocations: 29.95 kB / 260 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.0184, allocations: 8 kB / 260 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.01841, allocations: 4 kB / 260 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01842, allocations: 0 / 260 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.0195, allocations: 0.6319 MB / 260.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.0195, allocations: 0 / 260.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.01983, allocations: 67.91 kB / 260.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.01984, allocations: 4 kB / 260.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.01986, allocations: 8.047 kB / 260.7 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.01986, allocations: 8 kB / 260.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01986, allocations: 0 / 260.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.02062, allocations: 497 kB / 261.2 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.02066, allocations: 11.91 kB / 261.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.02069, allocations: 8 kB / 261.2 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.02082, allocations: 11.98 kB / 261.2 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.02088, allocations: 15.97 kB / 261.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.02089, allocations: 8 kB / 261.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.02101, allocations: 167.8 kB / 261.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02101, allocations: 0 / 261.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.02132, allocations: 59.94 kB / 261.5 MB, free: 12.3 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 0.0001336/0.02146, allocations: 103.2 kB / 261.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004313/0.02189, allocations: 191.8 kB / 261.8 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02189, allocations: 0 / 261.8 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.02214, allocations: 116 kB / 261.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.02258, allocations: 55.83 kB / 261.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.02393, allocations: 0.6886 MB / 262.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.02409, allocations: 142.5 kB / 262.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.52e-05/0.02419, allocations: 17.95 kB / 262.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.02425, allocations: 24.5 kB / 262.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02425, allocations: 0 / 262.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of Templates: time 0.007262/0.03152, allocations: 2.105 MB / 264.9 MB, free: 8.816 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.3765608669491485]