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.002703/0.002708, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.696/3.696, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001876/0.001876, allocations: 97.53 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006224/0.0006227, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5265, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004933/0.5315, allocations: 1.942 MB / 376.5 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.5338, allocations: 0.6074 MB / 377.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.5343, allocations: 4.531 kB / 377.1 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.5345, allocations: 24.12 kB / 377.1 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005098/0.535, allocations: 90.92 kB / 377.2 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.5354, allocations: 41.67 kB / 377.2 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000645/0.536, allocations: 205.2 kB / 377.4 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.5364, allocations: 83.06 kB / 377.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.5367, allocations: 94.05 kB / 377.6 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.537, allocations: 107.8 kB / 377.7 MB, free: 43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.558e-05/0.5371, allocations: 12.38 kB / 377.7 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.5372, allocations: 13.44 kB / 377.7 MB, free: 43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.5373, allocations: 39.31 kB / 377.8 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.5374, allocations: 70.36 kB / 377.8 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.5379, allocations: 213.5 kB / 378 MB, free: 42.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5379, allocations: 3.938 kB / 378.1 MB, free: 42.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5379, allocations: 1.312 kB / 378.1 MB, free: 42.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.538, allocations: 0 / 378.1 MB, free: 42.76 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.001418/0.5394, allocations: 0.504 MB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.5395, allocations: 8.656 kB / 378.6 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.5396, allocations: 34.31 kB / 378.6 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.5401, allocations: 240.1 kB / 378.8 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.5402, allocations: 17.69 kB / 378.9 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.5403, allocations: 29.72 kB / 378.9 MB, free: 41.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.5415, allocations: 224.3 kB / 379.1 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/0.5416, allocations: 1.031 kB / 379.1 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.414e-05/0.5417, allocations: 11.25 kB / 379.1 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.5417, allocations: 10 kB / 379.1 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.5428, allocations: 189.4 kB / 379.3 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.5456, allocations: 0.7657 MB / 380.1 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.5467, allocations: 220 kB / 380.3 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.5468, allocations: 7.578 kB / 380.3 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.5469, allocations: 44.2 kB / 380.3 MB, free: 40.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 5.209e-06/0.5469, allocations: 0 / 380.3 MB, free: 40.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.003952/0.5509, allocations: 0.9932 MB / 381.3 MB, free: 40.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.551, allocations: 58.73 kB / 381.4 MB, free: 40.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.5513, allocations: 153.5 kB / 381.5 MB, free: 40.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.5513, allocations: 35.05 kB / 381.6 MB, free: 39.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5515, allocations: 206 kB / 381.8 MB, free: 39.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.5516, allocations: 98.95 kB / 381.9 MB, free: 39.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.5517, allocations: 5.312 kB / 381.9 MB, free: 39.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5518, allocations: 325.7 kB / 382.2 MB, free: 39.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.5523, allocations: 77.89 kB / 382.3 MB, free: 39.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.5528, allocations: 126.2 kB / 382.4 MB, free: 39.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.5534, allocations: 90.17 kB / 382.5 MB, free: 39.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5534, allocations: 4 kB / 382.5 MB, free: 39.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001221/0.5546, allocations: 266.6 kB / 382.7 MB, free: 39.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.5547, allocations: 10.02 kB / 382.8 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5547, allocations: 3.938 kB / 382.8 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/0.5548, allocations: 7.219 kB / 382.8 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.5556, allocations: 76.72 kB / 382.8 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.5556, allocations: 2.375 kB / 382.8 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.556, allocations: 15.7 kB / 382.9 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.5561, allocations: 7.562 kB / 382.9 MB, free: 39.05 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.0002648/0.5564, allocations: 135.9 kB / 383 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5565, allocations: 29.02 kB / 383 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.5566, allocations: 25.55 kB / 383.1 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.5567, allocations: 3.125 kB / 383.1 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.5567, allocations: 0 / 383.1 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5567, allocations: 0.875 kB / 383.1 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.5589, allocations: 0.6725 MB / 383.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.559, allocations: 1.5 kB / 383.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/0.56, allocations: 77.48 kB / 383.8 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.56, allocations: 2.125 kB / 383.8 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.5601, allocations: 6.375 kB / 383.8 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.5601, allocations: 6.156 kB / 383.8 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5601, allocations: 1.344 kB / 383.8 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.5619, allocations: 475.6 kB / 384.3 MB, free: 37.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.5621, allocations: 102.5 kB / 384.4 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.5622, allocations: 6.25 kB / 384.4 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.5626, allocations: 15.22 kB / 384.4 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.5627, allocations: 24.48 kB / 384.4 MB, free: 37.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.5628, allocations: 6.562 kB / 384.4 MB, free: 37.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.563, allocations: 116.2 kB / 384.5 MB, free: 37.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.563, allocations: 0 / 384.5 MB, free: 37.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008035/0.5638, allocations: 57.97 kB / 384.6 MB, free: 37.73 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.0002141/0.5641, allocations: 102.1 kB / 384.7 MB, free: 37.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5653, allocations: 207.3 kB / 384.9 MB, free: 37.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.5654, allocations: 0 / 384.9 MB, free: 37.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.5659, allocations: 119.5 kB / 385 MB, free: 37.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.5667, allocations: 35.38 kB / 385.1 MB, free: 37.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.5701, allocations: 1.029 MB / 386.1 MB, free: 36.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.5706, allocations: 0.7536 MB / 386.8 MB, free: 35.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5708, allocations: 25.22 kB / 386.9 MB, free: 35.92 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5709, allocations: 0.9688 kB / 386.9 MB, free: 35.92 MB / 298.7 MB Notification: Performance of Templates: time 0.009957/0.5808, allocations: 2.667 MB / 389.5 MB, free: 33.33 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/jenkins1/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