Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008253/0.0008253, allocations: 85.05 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008735/0.0008735, allocations: 148.4 kB / 24.89 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8996/0.8996, allocations: 173.4 MB / 201.5 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 268.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.203e-05, allocations: 2.312 kB / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002361/0.002374, allocations: 2.452 MB / 270.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.003176, allocations: 0.5841 MB / 271.5 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003278, allocations: 7.938 kB / 271.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.0034, allocations: 35.59 kB / 271.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.003531, allocations: 87.19 kB / 271.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.003663, allocations: 63.91 kB / 271.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.00389, allocations: 310.4 kB / 272 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.004013, allocations: 69.98 kB / 272 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.00417, allocations: 179.6 kB / 272.2 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.004271, allocations: 87.77 kB / 272.3 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.0043, allocations: 20 kB / 272.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.364e-05/0.004324, allocations: 24 kB / 272.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.004362, allocations: 59.75 kB / 272.4 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.004427, allocations: 91.83 kB / 272.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004615, allocations: 195.2 kB / 272.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004617, allocations: 0 / 272.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004617, allocations: 0 / 272.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.00462, allocations: 8 kB / 272.7 MB, free: 1.965 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.0004154/0.005036, allocations: 448.3 kB / 273.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.005063, allocations: 8.922 kB / 273.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.005109, allocations: 40.91 kB / 273.2 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.005264, allocations: 168.8 kB / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.005277, allocations: 21.03 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.00531, allocations: 28.33 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.005481, allocations: 179.3 kB / 273.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.005494, allocations: 7.922 kB / 273.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.005507, allocations: 15.94 kB / 273.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005512, allocations: 4 kB / 273.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.0056, allocations: 68.55 kB / 273.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.006144, allocations: 472.6 kB / 274.1 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.006335, allocations: 137.5 kB / 274.3 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.006385, allocations: 56.83 kB / 274.3 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.006395, allocations: 4 kB / 274.3 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.006413, allocations: 34.56 kB / 274.4 MB, free: 224 kB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.006415, allocations: 0 / 274.4 MB, free: 224 kB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006347/0.007049, allocations: 0.5446 MB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.007078, allocations: 55.41 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.007148, allocations: 146.6 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.00716, allocations: 29.7 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.00721, allocations: 148.6 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.007257, allocations: 103.1 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.007303, allocations: 53.67 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.007375, allocations: 334.8 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.007405, allocations: 23.94 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.007459, allocations: 71.09 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.655e-05/0.007555, allocations: 115.3 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.007556, allocations: 4 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001314/0.007688, allocations: 137.6 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.007699, allocations: 11.94 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.007703, allocations: 0 / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.007715, allocations: 4 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.00786, allocations: 75.89 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.007863, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.007913, allocations: 12 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.007922, allocations: 8.094 kB / 276.2 MB, free: 14.23 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.865e-05/0.007991, allocations: 129.8 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.008017, allocations: 19.98 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.00805, allocations: 29.89 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008052, allocations: 0 / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.008057, allocations: 7.938 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00806, allocations: 0 / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.008418, allocations: 392.7 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.00842, allocations: 4 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.008582, allocations: 75.95 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008585, allocations: 4 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.008595, allocations: 4 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.008597, allocations: 4 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008598, allocations: 0 / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.008803, allocations: 298.9 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.008819, allocations: 19.89 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.008835, allocations: 4 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.008891, allocations: 8 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.008921, allocations: 19.97 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.008929, allocations: 8 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.333e-05/0.008952, allocations: 35.25 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008952, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.009119, allocations: 60 kB / 277.3 MB, free: 13.06 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 7.813e-05/0.009197, allocations: 88.3 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.00933, allocations: 112.9 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.009333, allocations: 0 / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.00939, allocations: 76.88 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.009585, allocations: 39.92 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.01034, allocations: 0.5686 MB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.01038, allocations: 84.64 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.01044, allocations: 17.95 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.17e-05/0.01053, allocations: 83.36 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01053, allocations: 4 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Templates: time 0.003798/0.01433, allocations: 2.248 MB / 280.6 MB, free: 9.723 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.537059865426272]