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.001014/0.001014, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.00244, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007256/0.0007256, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009197/0.001645, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9108/0.9108, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08826/0.999, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.142e-06/1.142e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.756e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002467/0.002484, allocations: 2.503 MB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.003474, allocations: 0.6307 MB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.003603, allocations: 4 kB / 247.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.612e-05/0.003699, allocations: 43.58 kB / 247.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.003835, allocations: 83.2 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.003952, allocations: 55.92 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.004189, allocations: 310.5 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.004325, allocations: 81.97 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.004517, allocations: 187.6 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.004625, allocations: 95.69 kB / 248.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.004656, allocations: 20 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.711e-05/0.004683, allocations: 24 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.004713, allocations: 39.88 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.004779, allocations: 83.81 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.004987, allocations: 171.4 kB / 248.8 MB, free: 9.984 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.005003, allocations: 3.984 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005004, allocations: 0 / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.00502, allocations: 0 / 248.8 MB, free: 9.98 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.0005311/0.005551, allocations: 0.4999 MB / 249.3 MB, free: 9.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.00558, allocations: 12.03 kB / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.005628, allocations: 36.91 kB / 249.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.005809, allocations: 169.9 kB / 249.5 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.005826, allocations: 17.03 kB / 249.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.005868, allocations: 32.33 kB / 249.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.006062, allocations: 167.4 kB / 249.8 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.006077, allocations: 19.91 kB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.00609, allocations: 8 kB / 249.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.006099, allocations: 8 kB / 249.8 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.006182, allocations: 64.55 kB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.006776, allocations: 476.5 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.006993, allocations: 136.8 kB / 250.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.007045, allocations: 48.84 kB / 250.5 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.007058, allocations: 11.98 kB / 250.5 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.007081, allocations: 38.5 kB / 250.6 MB, free: 8.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.007083, allocations: 0 / 250.6 MB, free: 8.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006453/0.007728, allocations: 0.547 MB / 251.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.007757, allocations: 55.41 kB / 251.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.007835, allocations: 154.5 kB / 251.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.007848, allocations: 29.7 kB / 251.3 MB, free: 7.309 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.0079, allocations: 148.7 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.007952, allocations: 103.1 kB / 251.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.007998, allocations: 49.69 kB / 251.6 MB, free: 7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.008068, allocations: 326.8 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.008097, allocations: 23.98 kB / 252 MB, free: 6.648 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.008153, allocations: 76.72 kB / 252 MB, free: 6.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.786e-05/0.00825, allocations: 107.3 kB / 252.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008252, allocations: 0 / 252.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001302/0.008382, allocations: 145.6 kB / 252.3 MB, free: 6.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.008395, allocations: 10.91 kB / 252.3 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.008403, allocations: 11.98 kB / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.008411, allocations: 0 / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.008632, allocations: 96.84 kB / 252.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008637, allocations: 7.984 kB / 252.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.008685, allocations: 8 kB / 252.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.008693, allocations: 8.094 kB / 252.4 MB, free: 6.16 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 6.546e-05/0.008758, allocations: 125.8 kB / 252.6 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.008785, allocations: 23.92 kB / 252.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.008821, allocations: 29.95 kB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008823, allocations: 0 / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008826, allocations: 7.938 kB / 252.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008829, allocations: 0 / 252.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.009189, allocations: 381.2 kB / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.009191, allocations: 0 / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.009391, allocations: 95.92 kB / 253.1 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.009407, allocations: 15.86 kB / 253.1 MB, free: 5.461 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.00941, allocations: 4 kB / 253.1 MB, free: 5.457 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.009421, allocations: 7.984 kB / 253.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.009424, allocations: 4 kB / 253.1 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.009426, allocations: 3.938 kB / 253.1 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.009633, allocations: 291.4 kB / 253.4 MB, free: 5.133 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.00965, allocations: 8 kB / 253.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.009712, allocations: 12 kB / 253.4 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.009748, allocations: 27.89 kB / 253.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.009753, allocations: 0 / 253.4 MB, free: 5.086 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.273e-05/0.009776, allocations: 31.88 kB / 253.5 MB, free: 5.055 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.009776, allocations: 0 / 253.5 MB, free: 5.055 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.009937, allocations: 60 kB / 253.5 MB, free: 4.996 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 8.309e-05/0.01002, allocations: 88.36 kB / 253.6 MB, free: 4.898 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01015, allocations: 113.3 kB / 253.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.01016, allocations: 8.062 kB / 253.7 MB, free: 4.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.01022, allocations: 68.75 kB / 253.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.01042, allocations: 64.02 kB / 253.9 MB, free: 4.645 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.01381, allocations: 0.5605 MB / 254.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.01387, allocations: 84.64 kB / 254.5 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.675e-05/0.01393, allocations: 21.95 kB / 254.5 MB, free: 3.926 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.01403, allocations: 95.34 kB / 254.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01403, allocations: 0 / 254.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of Templates: time 0.004201/0.01824, allocations: 2.515 MB / 257.1 MB, free: 1.371 MB / 250.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 -ignoreHideResult -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.3489800971001387]