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.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.001627/0.001627, allocations: 103.1 kB / 19.75 MB, free: 2.656 MB / 14.72 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.001806/0.001806, allocations: 188.4 kB / 22.92 MB, free: 5.484 MB / 14.72 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.525/1.525, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002779/0.002779, allocations: 51.92 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3319, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003437/0.3353, allocations: 2.447 MB / 397 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3364, allocations: 0.6322 MB / 397.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.3365, allocations: 4.531 kB / 397.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.3367, allocations: 40.55 kB / 397.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.3369, allocations: 82.2 kB / 397.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3371, allocations: 60.64 kB / 397.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.3373, allocations: 295.5 kB / 398.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3375, allocations: 80.47 kB / 398.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3377, allocations: 114.4 kB / 398.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.3378, allocations: 123 kB / 398.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.3378, allocations: 27.66 kB / 398.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.156e-05/0.3379, allocations: 23.84 kB / 398.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.3379, allocations: 56.92 kB / 398.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.338, allocations: 133.7 kB / 398.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.3384, allocations: 297.2 kB / 398.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3384, allocations: 5.375 kB / 398.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3384, allocations: 0.75 kB / 398.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3384, allocations: 0 / 398.9 MB, free: 6.613 MB / 318.1 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.0007759/0.3392, allocations: 0.5416 MB / 399.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3392, allocations: 9.25 kB / 399.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.3393, allocations: 27.58 kB / 399.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.3396, allocations: 246.1 kB / 399.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3397, allocations: 19.72 kB / 399.7 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.3397, allocations: 36.7 kB / 399.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.3402, allocations: 223.3 kB / 400 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.3402, allocations: 10.53 kB / 400 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3402, allocations: 9.344 kB / 400 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3402, allocations: 10.62 kB / 400 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.3406, allocations: 176.1 kB / 400.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3419, allocations: 0.7506 MB / 400.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.3424, allocations: 212.5 kB / 401.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3426, allocations: 102.5 kB / 401.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3426, allocations: 3.5 kB / 401.3 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3426, allocations: 32.94 kB / 401.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.3426, allocations: 4 kB / 401.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.00162/0.3443, allocations: 0.9612 MB / 402.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.3443, allocations: 62.59 kB / 402.3 MB, free: 4.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3444, allocations: 153.2 kB / 402.5 MB, free: 4.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3444, allocations: 30.86 kB / 402.5 MB, free: 4.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.3445, allocations: 144.6 kB / 402.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.3446, allocations: 103.6 kB / 402.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.3446, allocations: 52.03 kB / 402.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.3447, allocations: 333.3 kB / 403.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3449, allocations: 79.19 kB / 403.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3451, allocations: 120.5 kB / 403.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.3454, allocations: 197.1 kB / 403.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3454, allocations: 1.594 kB / 403.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004327/0.3458, allocations: 269.3 kB / 403.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3459, allocations: 6.188 kB / 403.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3459, allocations: 0.75 kB / 403.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.3459, allocations: 3.281 kB / 403.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3462, allocations: 76.09 kB / 403.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3462, allocations: 6.859 kB / 403.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3463, allocations: 17.02 kB / 403.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.3463, allocations: 15.31 kB / 403.9 MB, free: 3.191 MB / 318.1 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.0001074/0.3464, allocations: 140.6 kB / 404 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.3465, allocations: 17.06 kB / 404 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.3465, allocations: 31.53 kB / 404.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3465, allocations: 3.375 kB / 404.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3465, allocations: 4 kB / 404.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3466, allocations: 2.016 kB / 404.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.3475, allocations: 0.6542 MB / 404.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3475, allocations: 1.859 kB / 404.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.3478, allocations: 71.16 kB / 404.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3478, allocations: 5.656 kB / 404.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3478, allocations: 10.2 kB / 404.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3478, allocations: 6.25 kB / 404.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3478, allocations: 1.156 kB / 404.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.3486, allocations: 444.2 kB / 405.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.3486, allocations: 95.78 kB / 405.4 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3486, allocations: 7.656 kB / 405.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3488, allocations: 14.69 kB / 405.4 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.3489, allocations: 19.3 kB / 405.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3489, allocations: 6.344 kB / 405.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.89e-05/0.349, allocations: 121.3 kB / 405.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 0 / 405.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.3493, allocations: 61.5 kB / 405.6 MB, free: 2.055 MB / 318.1 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.000128/0.3494, allocations: 107.3 kB / 405.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.3499, allocations: 191.6 kB / 405.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3499, allocations: 0 / 405.9 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.3502, allocations: 107.7 kB / 406 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3506, allocations: 37.88 kB / 406 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3521, allocations: 0.8265 MB / 406.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3523, allocations: 0.7525 MB / 407.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.3525, allocations: 19.44 kB / 407.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.3525, allocations: 20.19 kB / 407.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3525, allocations: 0 / 407.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of Templates: time 0.007429/0.3599, allocations: 2.295 MB / 409.9 MB, free: 4 kB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] 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.7734052976593375]