Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 85.91 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 166.6 kB / 24.82 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.027/1.027, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.105e-05, allocations: 5.266 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002896/0.002917, allocations: 2.445 MB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003927, allocations: 0.5998 MB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.004062, allocations: 11.94 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.004198, allocations: 47.52 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.004336, allocations: 79.27 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.004491, allocations: 55.92 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.004759, allocations: 306.4 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.004903, allocations: 83.27 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.00506, allocations: 171.6 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.005161, allocations: 95.75 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.00519, allocations: 27.94 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.876e-05/0.005218, allocations: 24 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.005256, allocations: 55.81 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.005321, allocations: 95.77 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.005517, allocations: 187.4 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.005519, allocations: 0 / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00552, allocations: 0 / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005524, allocations: 4 kB / 277.6 MB, free: 12.95 MB / 266.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.0005634/0.006087, allocations: 0.5703 MB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.006123, allocations: 11.98 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.006179, allocations: 52.75 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.006347, allocations: 180.8 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.006363, allocations: 20.97 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.006396, allocations: 32.33 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.006585, allocations: 171.3 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.006602, allocations: 15.91 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.006616, allocations: 8 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.006625, allocations: 12 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.006717, allocations: 72.52 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.007345, allocations: 0.5898 MB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.007565, allocations: 154.2 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.00782, allocations: 63.64 kB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.007832, allocations: 4 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.007858, allocations: 41.33 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.00786, allocations: 0 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006564/0.008516, allocations: 0.5833 MB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.008543, allocations: 55.41 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.008629, allocations: 201.8 kB / 280.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.008642, allocations: 25.7 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.008715, allocations: 199.4 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.008765, allocations: 107.1 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.008818, allocations: 55.33 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.008933, allocations: 0.504 MB / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.008968, allocations: 27.92 kB / 281.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.009033, allocations: 84.03 kB / 281.4 MB, free: 8.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.009149, allocations: 134.6 kB / 281.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009151, allocations: 0 / 281.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001648/0.009316, allocations: 185.4 kB / 281.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.009329, allocations: 11.06 kB / 281.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009334, allocations: 0 / 281.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.009347, allocations: 4 kB / 281.7 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.009501, allocations: 72 kB / 281.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.009505, allocations: 4 kB / 281.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.009557, allocations: 11.98 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.009566, allocations: 8 kB / 281.8 MB, free: 8.438 MB / 266.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 8.301e-05/0.009649, allocations: 172.5 kB / 282 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.009678, allocations: 27.84 kB / 282 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.009715, allocations: 25.97 kB / 282 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009718, allocations: 4 kB / 282 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.009721, allocations: 0 / 282 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.009726, allocations: 7.984 kB / 282 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.01017, allocations: 0.5061 MB / 282.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01017, allocations: 0 / 282.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.01033, allocations: 67.91 kB / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01033, allocations: 4 kB / 282.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.01034, allocations: 4 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.01035, allocations: 7.984 kB / 282.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01035, allocations: 0 / 282.6 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.01089, allocations: 393.8 kB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.0109, allocations: 11.91 kB / 283 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01092, allocations: 8 kB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.01098, allocations: 8 kB / 283 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.01101, allocations: 19.95 kB / 283.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01102, allocations: 8 kB / 283.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.01106, allocations: 141.4 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01124, allocations: 60 kB / 283.3 MB, free: 6.898 MB / 266.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 8.421e-05/0.01133, allocations: 107.2 kB / 283.4 MB, free: 6.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.01147, allocations: 123.5 kB / 283.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01147, allocations: 0 / 283.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.493e-05/0.01154, allocations: 75.52 kB / 283.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01179, allocations: 39.91 kB / 283.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.01265, allocations: 0.6852 MB / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.0127, allocations: 84.64 kB / 284.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.527e-05/0.01275, allocations: 17.95 kB / 284.4 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.01286, allocations: 110.2 kB / 284.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01286, allocations: 0 / 284.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Templates: time 0.004291/0.01715, allocations: 2.317 MB / 286.8 MB, free: 3.312 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.7907280032522976]