Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009686/0.0009686, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009839/0.0009839, allocations: 170.8 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9343/0.9343, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.227e-05, allocations: 6.25 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002537/0.00255, allocations: 2.451 MB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.003387, allocations: 0.6191 MB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.003509, allocations: 7.938 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.003656, allocations: 35.66 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.003787, allocations: 87.2 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.003921, allocations: 67.83 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.00413, allocations: 302.5 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004256, allocations: 81.91 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.004397, allocations: 175.6 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.952e-05/0.004497, allocations: 91.75 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.004525, allocations: 24 kB / 277.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.474e-05/0.00455, allocations: 24 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.004588, allocations: 55.77 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.00465, allocations: 95.8 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.004835, allocations: 191.2 kB / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.004836, allocations: 0 / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004837, allocations: 0 / 277.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.00484, allocations: 0 / 277.7 MB, free: 13.02 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.0004233/0.005263, allocations: 456.4 kB / 278.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.005294, allocations: 8.031 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.005343, allocations: 40.91 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.005513, allocations: 165.9 kB / 278.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.005528, allocations: 21.03 kB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.005563, allocations: 28.33 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.005756, allocations: 175.3 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.005771, allocations: 7.938 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.005788, allocations: 16 kB / 278.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.005795, allocations: 4 kB / 278.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.005881, allocations: 64.55 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.006464, allocations: 476.5 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.00666, allocations: 141.4 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.006712, allocations: 52.83 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.006722, allocations: 4 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.006747, allocations: 46.55 kB / 279.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.006749, allocations: 0 / 279.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006109/0.00736, allocations: 0.5503 MB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.007386, allocations: 51.41 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.007459, allocations: 149.9 kB / 280.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.007472, allocations: 29.7 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.007525, allocations: 144.7 kB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.007572, allocations: 107.1 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.007618, allocations: 45.7 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.0077, allocations: 338.8 kB / 280.8 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.007735, allocations: 27.98 kB / 280.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.007789, allocations: 67.84 kB / 280.9 MB, free: 9.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.007884, allocations: 111.3 kB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.007886, allocations: 4 kB / 281 MB, free: 9.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001318/0.008018, allocations: 145.6 kB / 281.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.008029, allocations: 11.88 kB / 281.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008035, allocations: 4 kB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.008046, allocations: 3.984 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.008188, allocations: 71.91 kB / 281.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00819, allocations: 0 / 281.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.008237, allocations: 8 kB / 281.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.008247, allocations: 12 kB / 281.2 MB, free: 9.277 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 6.439e-05/0.008311, allocations: 125.8 kB / 281.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.008338, allocations: 31.97 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.00837, allocations: 25.91 kB / 281.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008372, allocations: 4 kB / 281.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.008373, allocations: 0 / 281.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.008378, allocations: 3.984 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.008722, allocations: 377.5 kB / 281.8 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008723, allocations: 0 / 281.8 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.008875, allocations: 67.91 kB / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008877, allocations: 8.062 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.008886, allocations: 4 kB / 281.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.008889, allocations: 4 kB / 281.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008889, allocations: 0 / 281.9 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.009091, allocations: 304 kB / 282.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.009105, allocations: 15.91 kB / 282.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.00912, allocations: 4 kB / 282.2 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.009177, allocations: 16 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.009211, allocations: 19.95 kB / 282.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.009217, allocations: 8 kB / 282.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.365e-05/0.009241, allocations: 35.88 kB / 282.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009241, allocations: 0 / 282.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.009675, allocations: 56 kB / 282.3 MB, free: 8.125 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 6.946e-05/0.009744, allocations: 84.36 kB / 282.4 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.009869, allocations: 125.5 kB / 282.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.009871, allocations: 0 / 282.5 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.009926, allocations: 68.7 kB / 282.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.01012, allocations: 48.22 kB / 282.6 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.01083, allocations: 0.5529 MB / 283.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.01087, allocations: 92.64 kB / 283.3 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.01092, allocations: 17.95 kB / 283.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.01102, allocations: 87.34 kB / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01102, allocations: 0 / 283.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of Templates: time 0.003591/0.01461, allocations: 2.27 MB / 285.7 MB, free: 4.762 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.821265493053943]