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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001258, allocations: 110.5 kB / 17.73 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 187 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB 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.00144/0.00144, allocations: 47.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004047/0.1071, allocations: 2.415 MB / 377.5 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1084, allocations: 0.6317 MB / 378.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.1087, allocations: 4 kB / 378.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.109, allocations: 39.59 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1093, allocations: 75.27 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1095, allocations: 63.92 kB / 378.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005352/0.1101, allocations: 294.6 kB / 378.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.1104, allocations: 106.9 kB / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1106, allocations: 115.6 kB / 378.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1109, allocations: 123.4 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.111, allocations: 24 kB / 379 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-05/0.111, allocations: 24 kB / 379 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.1111, allocations: 55.78 kB / 379.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.1113, allocations: 135.4 kB / 379.2 MB, free: 476 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.1117, allocations: 298.9 kB / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1117, allocations: 0 / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1118, allocations: 0 / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1118, allocations: 0 / 379.5 MB, free: 176 kB / 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.2488/0.3606, allocations: 0.536 MB / 380 MB, free: 10.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3607, allocations: 10.09 kB / 380.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.3608, allocations: 27.44 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.3612, allocations: 245 kB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3612, allocations: 17.25 kB / 380.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.3613, allocations: 26.81 kB / 380.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.3619, allocations: 228 kB / 380.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.3619, allocations: 13.02 kB / 380.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.3619, allocations: 8.094 kB / 380.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3619, allocations: 6.75 kB / 380.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.3624, allocations: 174.8 kB / 380.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3637, allocations: 0.7494 MB / 381.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.3642, allocations: 222.3 kB / 381.8 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.3645, allocations: 121.8 kB / 381.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3645, allocations: 3.281 kB / 381.9 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.3645, allocations: 40.16 kB / 381.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.3645, allocations: 0.5625 kB / 381.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.002041/0.3666, allocations: 0.9483 MB / 382.9 MB, free: 9.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3666, allocations: 58.28 kB / 382.9 MB, free: 9.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3668, allocations: 158.6 kB / 383.1 MB, free: 9.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3668, allocations: 29.89 kB / 383.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.3669, allocations: 144.3 kB / 383.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.367, allocations: 104.8 kB / 383.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.3671, allocations: 57.44 kB / 383.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.3671, allocations: 333 kB / 383.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3673, allocations: 72.14 kB / 383.8 MB, free: 8.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.3676, allocations: 118.2 kB / 383.9 MB, free: 8.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.368, allocations: 199.7 kB / 384.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.368, allocations: 0 / 384.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005291/0.3685, allocations: 266.1 kB / 384.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3686, allocations: 4.375 kB / 384.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3686, allocations: 1.094 kB / 384.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.3686, allocations: 5.438 kB / 384.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3689, allocations: 79.44 kB / 384.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.369, allocations: 3.109 kB / 384.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3691, allocations: 14.08 kB / 384.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3691, allocations: 10.19 kB / 384.5 MB, free: 8.348 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.0001315/0.3693, allocations: 138.5 kB / 384.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.3693, allocations: 17 kB / 384.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.298e-05/0.3694, allocations: 27.83 kB / 384.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3694, allocations: 7.922 kB / 384.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.3694, allocations: 6.094 kB / 384.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3694, allocations: 0.9844 kB / 384.7 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.3705, allocations: 0.6526 MB / 385.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3706, allocations: 5.219 kB / 385.3 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3709, allocations: 75.08 kB / 385.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3709, allocations: 1.344 kB / 385.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.3709, allocations: 5.812 kB / 385.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.371, allocations: 6.406 kB / 385.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.371, allocations: 1.875 kB / 385.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.3717, allocations: 452.6 kB / 385.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.3717, allocations: 91.58 kB / 386 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.3718, allocations: 7.266 kB / 386 MB, free: 7.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3719, allocations: 17.06 kB / 386 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.372, allocations: 17.44 kB / 386 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.372, allocations: 8.047 kB / 386 MB, free: 7.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.3721, allocations: 120.2 kB / 386.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3721, allocations: 3.469 kB / 386.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.3724, allocations: 57.81 kB / 386.2 MB, free: 7.32 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.0001087/0.3725, allocations: 107.2 kB / 386.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.373, allocations: 201.9 kB / 386.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.373, allocations: 0 / 386.5 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.3732, allocations: 109.9 kB / 386.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3736, allocations: 36.72 kB / 386.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3751, allocations: 0.8061 MB / 387.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3755, allocations: 0.7516 MB / 388.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.723e-05/0.3756, allocations: 18.84 kB / 388.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3757, allocations: 21.64 kB / 388.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of SimCode: time 1.884e-06/0.3757, allocations: 0 / 388.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of Templates: time 0.006783/0.3825, allocations: 2.212 MB / 390.4 MB, free: 5.703 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (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) 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) Reference file matches