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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 79.73 kB / 21.97 MB, free: 2.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 173.6 kB / 25.33 MB, free: 9.441 MB / 18.57 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 0.8979/0.8979, allocations: 158.6 MB / 187.2 MB, free: 2.527 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.186e-05, allocations: 2.312 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004505/0.004537, allocations: 2.458 MB / 253.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.005846, allocations: 0.6279 MB / 254.1 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.006043, allocations: 7.938 kB / 254.1 MB, free: 496 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.006245, allocations: 31.66 kB / 254.2 MB, free: 464 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.006488, allocations: 87.2 kB / 254.2 MB, free: 376 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.006712, allocations: 63.91 kB / 254.3 MB, free: 312 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.007095, allocations: 310.4 kB / 254.6 MB, free: 0 / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.007339, allocations: 71.34 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.007645, allocations: 167.7 kB / 254.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.007831, allocations: 91.7 kB / 254.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.007898, allocations: 24 kB / 254.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.00795, allocations: 24 kB / 255 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.008007, allocations: 55.81 kB / 255 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.00814, allocations: 91.77 kB / 255.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.008538, allocations: 207.2 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.008544, allocations: 4 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.008545, allocations: 0 / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.008557, allocations: 0 / 255.3 MB, free: 15.28 MB / 250.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.0008138/0.00937, allocations: 0.5548 MB / 255.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.009417, allocations: 15.98 kB / 255.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.009522, allocations: 48.75 kB / 255.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.009852, allocations: 192.7 kB / 256.1 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.009878, allocations: 21.03 kB / 256.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.009935, allocations: 32.33 kB / 256.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.01063, allocations: 183.4 kB / 256.4 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.01066, allocations: 7.938 kB / 256.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.01068, allocations: 12 kB / 256.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.0107, allocations: 4 kB / 256.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.01093, allocations: 99.78 kB / 256.5 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.01212, allocations: 0.6127 MB / 257.1 MB, free: 13.4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.01253, allocations: 170.7 kB / 257.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.01265, allocations: 71.64 kB / 257.3 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.01266, allocations: 4 kB / 257.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.01269, allocations: 33.39 kB / 257.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 4.138e-06/0.01269, allocations: 7.984 kB / 257.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.001232/0.01393, allocations: 0.6649 MB / 258 MB, free: 12.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.01398, allocations: 55.41 kB / 258.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.01412, allocations: 197.9 kB / 258.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01414, allocations: 33.7 kB / 258.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.01423, allocations: 195.4 kB / 258.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.01431, allocations: 107.1 kB / 258.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.0144, allocations: 59.36 kB / 258.7 MB, free: 11.69 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.01456, allocations: 0.5001 MB / 259.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.01466, allocations: 35.92 kB / 259.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.01478, allocations: 94.42 kB / 259.3 MB, free: 11.03 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.015, allocations: 138.7 kB / 259.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01501, allocations: 4 kB / 259.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003458/0.01535, allocations: 209.4 kB / 259.6 MB, free: 10.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.01538, allocations: 10.95 kB / 259.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01538, allocations: 4 kB / 259.7 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.0154, allocations: 4 kB / 259.7 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.01566, allocations: 71.91 kB / 259.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.01567, allocations: 4 kB / 259.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.523e-05/0.01577, allocations: 8 kB / 259.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01579, allocations: 11.98 kB / 259.8 MB, free: 10.55 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.01591, allocations: 172.6 kB / 259.9 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.01596, allocations: 31.8 kB / 260 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.01602, allocations: 25.97 kB / 260 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01603, allocations: 4 kB / 260 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.01603, allocations: 0 / 260 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.01604, allocations: 3.984 kB / 260 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.01681, allocations: 0.5399 MB / 260.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01681, allocations: 0 / 260.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.01711, allocations: 76.02 kB / 260.6 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.01712, allocations: 4 kB / 260.6 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.01714, allocations: 4 kB / 260.6 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.01715, allocations: 4 kB / 260.6 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01715, allocations: 3.938 kB / 260.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.01762, allocations: 405 kB / 261 MB, free: 9.207 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.01765, allocations: 11.91 kB / 261 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.01769, allocations: 11.98 kB / 261 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.01782, allocations: 8 kB / 261 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.01789, allocations: 15.97 kB / 261.1 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.0179, allocations: 12 kB / 261.1 MB, free: 9.148 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.231e-05/0.01799, allocations: 151.8 kB / 261.2 MB, free: 9 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01799, allocations: 0 / 261.2 MB, free: 9 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00032/0.01831, allocations: 63.88 kB / 261.3 MB, free: 8.938 MB / 250.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 (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.0001236/0.01843, allocations: 99.25 kB / 261.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.01873, allocations: 139.9 kB / 261.5 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01874, allocations: 3.938 kB / 261.5 MB, free: 8.688 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.01887, allocations: 91.59 kB / 261.6 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.01933, allocations: 47.97 kB / 261.7 MB, free: 8.547 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.02096, allocations: 0.6648 MB / 262.3 MB, free: 7.844 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.544e-05/0.02104, allocations: 84.64 kB / 262.4 MB, free: 7.738 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.718e-05/0.02112, allocations: 21.95 kB / 262.4 MB, free: 7.715 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.02119, allocations: 20.5 kB / 262.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of SimCode: time 1.563e-06/0.02119, allocations: 3.938 kB / 262.4 MB, free: 7.691 MB / 250.7 MB Notification: Performance of Templates: time 0.006831/0.02802, allocations: 2.218 MB / 264.7 MB, free: 5.492 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.700914356391877]