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.001387/0.001387, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001426/0.001426, allocations: 187 kB / 18.66 MB, free: 4.395 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.493/1.493, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001192/0.001192, allocations: 55.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 46.61 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003642/0.1088, allocations: 2.427 MB / 377.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1098, allocations: 0.6279 MB / 378.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.11, allocations: 4 kB / 378.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1102, allocations: 35.59 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1103, allocations: 79.27 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.1105, allocations: 63.92 kB / 378.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.1108, allocations: 294.7 kB / 378.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.1111, allocations: 106.9 kB / 378.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1112, allocations: 119.6 kB / 378.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1114, allocations: 119.5 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.1114, allocations: 24 kB / 379 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.746e-05/0.1114, allocations: 24 kB / 379 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.1115, allocations: 59.78 kB / 379.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.1116, allocations: 139.3 kB / 379.2 MB, free: 468 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.112, allocations: 294.9 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.112, allocations: 0 / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.112, allocations: 0 / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.112, allocations: 0 / 379.5 MB, free: 172 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.2084/0.3204, allocations: 0.5339 MB / 380.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3205, allocations: 10.09 kB / 380.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.3206, allocations: 26.19 kB / 380.1 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3209, allocations: 249.1 kB / 380.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3209, allocations: 18.38 kB / 380.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.321, allocations: 29.16 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.3215, allocations: 227 kB / 380.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3215, allocations: 5.969 kB / 380.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.3215, allocations: 12.88 kB / 380.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3215, allocations: 7.188 kB / 380.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.3219, allocations: 174.2 kB / 380.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.323, allocations: 0.746 MB / 381.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.3235, allocations: 223 kB / 381.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.3237, allocations: 115.8 kB / 381.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3237, allocations: 11.06 kB / 381.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.3237, allocations: 36.52 kB / 381.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.3237, allocations: 0 / 381.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001738/0.3255, allocations: 0.9566 MB / 382.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3255, allocations: 54.81 kB / 382.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3257, allocations: 155.8 kB / 383.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3257, allocations: 30.95 kB / 383.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.3258, allocations: 143.3 kB / 383.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.3258, allocations: 103.6 kB / 383.4 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.727e-05/0.3259, allocations: 55.59 kB / 383.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.326, allocations: 334.6 kB / 383.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3261, allocations: 75.62 kB / 383.8 MB, free: 10.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3263, allocations: 122.7 kB / 383.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.3267, allocations: 197.7 kB / 384.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3267, allocations: 2.469 kB / 384.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004596/0.3272, allocations: 263.6 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3272, allocations: 6.516 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3272, allocations: 0 / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3272, allocations: 6.656 kB / 384.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.3275, allocations: 76.36 kB / 384.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3276, allocations: 4.625 kB / 384.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3277, allocations: 13.05 kB / 384.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3277, allocations: 6.844 kB / 384.5 MB, free: 10.65 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 9.744e-05/0.3278, allocations: 139.7 kB / 384.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.3278, allocations: 19.03 kB / 384.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.3279, allocations: 29.28 kB / 384.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3279, allocations: 7.172 kB / 384.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3279, allocations: 0 / 384.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3279, allocations: 2.328 kB / 384.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.3288, allocations: 0.6532 MB / 385.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3288, allocations: 0 / 385.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.3292, allocations: 76.09 kB / 385.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3292, allocations: 2.156 kB / 385.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3292, allocations: 6.938 kB / 385.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3292, allocations: 4.859 kB / 385.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3292, allocations: 5.281 kB / 385.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.3298, allocations: 451.3 kB / 385.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.3299, allocations: 91.28 kB / 386 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.3299, allocations: 5.531 kB / 386 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3301, allocations: 16.42 kB / 386 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.3301, allocations: 23.2 kB / 386 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3302, allocations: 9.156 kB / 386 MB, free: 9.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.755e-05/0.3302, allocations: 117.7 kB / 386.1 MB, free: 9.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3302, allocations: 0 / 386.1 MB, free: 9.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3305, allocations: 62.44 kB / 386.2 MB, free: 9.527 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 9.819e-05/0.3306, allocations: 110.6 kB / 386.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.3311, allocations: 199.2 kB / 386.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3311, allocations: 0 / 386.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3313, allocations: 111.2 kB / 386.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3317, allocations: 35.42 kB / 386.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3329, allocations: 0.8056 MB / 387.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.3331, allocations: 0.7522 MB / 388.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.798e-05/0.3332, allocations: 19.08 kB / 388.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.3333, allocations: 24.59 kB / 388.2 MB, free: 8.066 MB / 318.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3333, allocations: 0 / 388.2 MB, free: 8.066 MB / 318.1 MB Notification: Performance of Templates: time 0.005591/0.3389, allocations: 2.214 MB / 390.4 MB, free: 7.875 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