Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 178.6 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 86.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003461, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2477, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002197/0.2499, allocations: 2.04 MB / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.2508, allocations: 0.5874 MB / 377.7 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.251, allocations: 4.188 kB / 377.7 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2511, allocations: 24.16 kB / 377.7 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2513, allocations: 71.92 kB / 377.8 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.2514, allocations: 50.41 kB / 377.9 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.2517, allocations: 279.1 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.2519, allocations: 93.53 kB / 378.2 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2521, allocations: 88.03 kB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2522, allocations: 110.9 kB / 378.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2522, allocations: 13.56 kB / 378.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.095e-05/0.2523, allocations: 12.78 kB / 378.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.2523, allocations: 39 kB / 378.5 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.2525, allocations: 139.9 kB / 378.6 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2527, allocations: 215 kB / 378.8 MB, free: 42.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2527, allocations: 0.9688 kB / 378.8 MB, free: 42.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2527, allocations: 0 / 378.8 MB, free: 42.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.2527, allocations: 0 / 378.8 MB, free: 42.58 MB / 298.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.0007377/0.2535, allocations: 0.4991 MB / 379.3 MB, free: 42.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2535, allocations: 8.938 kB / 379.3 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.2536, allocations: 31 kB / 379.4 MB, free: 42.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2538, allocations: 236.8 kB / 379.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.2539, allocations: 19.28 kB / 379.6 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.2539, allocations: 41.03 kB / 379.7 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.2543, allocations: 226.4 kB / 379.9 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2544, allocations: 1.406 kB / 379.9 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2544, allocations: 14.84 kB / 379.9 MB, free: 41.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2544, allocations: 5.781 kB / 379.9 MB, free: 41.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.2548, allocations: 189.8 kB / 380.1 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2559, allocations: 0.7655 MB / 380.8 MB, free: 40.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.2563, allocations: 229.7 kB / 381.1 MB, free: 40.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.2566, allocations: 117.4 kB / 381.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2566, allocations: 1.375 kB / 381.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.2566, allocations: 37.09 kB / 381.2 MB, free: 40.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.244e-06/0.2566, allocations: 0 / 381.2 MB, free: 40.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001654/0.2583, allocations: 0.9868 MB / 382.2 MB, free: 40 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.2583, allocations: 58.66 kB / 382.3 MB, free: 39.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2585, allocations: 157.1 kB / 382.4 MB, free: 39.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2585, allocations: 30.73 kB / 382.5 MB, free: 39.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.2585, allocations: 151.2 kB / 382.6 MB, free: 39.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.2586, allocations: 105.8 kB / 382.7 MB, free: 39.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.2586, allocations: 5.469 kB / 382.7 MB, free: 39.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.2587, allocations: 331.7 kB / 383 MB, free: 39.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.2589, allocations: 81.08 kB / 383.1 MB, free: 39.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.259, allocations: 119.9 kB / 383.2 MB, free: 39.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.2594, allocations: 208.4 kB / 383.4 MB, free: 38.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2594, allocations: 1.188 kB / 383.4 MB, free: 38.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004454/0.2599, allocations: 265.2 kB / 383.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2599, allocations: 6 kB / 383.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2599, allocations: 1.188 kB / 383.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2599, allocations: 2.688 kB / 383.7 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.2602, allocations: 80.14 kB / 383.8 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2603, allocations: 10.5 kB / 383.8 MB, free: 38.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2604, allocations: 20.23 kB / 383.8 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.2604, allocations: 11.34 kB / 383.8 MB, free: 38.79 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.2605, allocations: 140.2 kB / 384 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.2606, allocations: 24.41 kB / 384 MB, free: 38.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.2606, allocations: 24.92 kB / 384 MB, free: 38.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2607, allocations: 3.688 kB / 384 MB, free: 38.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2607, allocations: 7.938 kB / 384 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2607, allocations: 1.156 kB / 384 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/0.2616, allocations: 0.6687 MB / 384.7 MB, free: 38.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2616, allocations: 0 / 384.7 MB, free: 38.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.2619, allocations: 74.72 kB / 384.8 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.262, allocations: 2.281 kB / 384.8 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.262, allocations: 10.05 kB / 384.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.262, allocations: 6.094 kB / 384.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.262, allocations: 1.062 kB / 384.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.2627, allocations: 462.5 kB / 385.2 MB, free: 37.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2627, allocations: 93.23 kB / 385.3 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.2628, allocations: 11.2 kB / 385.3 MB, free: 37.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2629, allocations: 15.78 kB / 385.3 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.263, allocations: 17.34 kB / 385.4 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.263, allocations: 8.719 kB / 385.4 MB, free: 37.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.882e-05/0.2631, allocations: 116.2 kB / 385.5 MB, free: 37.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2631, allocations: 4 kB / 385.5 MB, free: 37.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000307/0.2634, allocations: 58.97 kB / 385.6 MB, free: 37.5 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.2635, allocations: 102 kB / 385.6 MB, free: 37.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.2639, allocations: 214.4 kB / 385.9 MB, free: 37.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.264, allocations: 0 / 385.9 MB, free: 37.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.2642, allocations: 107.1 kB / 386 MB, free: 37.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.2646, allocations: 35.66 kB / 386 MB, free: 37.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2658, allocations: 1.03 MB / 387 MB, free: 36.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.266, allocations: 0.7563 MB / 387.8 MB, free: 35.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.2661, allocations: 19.44 kB / 387.8 MB, free: 35.48 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2661, allocations: 3.938 kB / 387.8 MB, free: 35.48 MB / 298.7 MB Notification: Performance of Templates: time 0.003607/0.2697, allocations: 2.728 MB / 390.5 MB, free: 32.76 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches