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.00129/0.00129, allocations: 84.73 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001367/0.001367, allocations: 168.6 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.412/1.412, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.846e-06/2.846e-06, allocations: 0.6094 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.987e-05, allocations: 2.281 kB / 325 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003498/0.003528, allocations: 2.328 MB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.004668, allocations: 0.5937 MB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.004802, allocations: 9.438 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.00496, allocations: 40.14 kB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.005154, allocations: 85.02 kB / 328.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.005335, allocations: 57.25 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.00571, allocations: 303.4 kB / 328.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.005918, allocations: 86.94 kB / 328.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.006151, allocations: 180 kB / 328.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.006303, allocations: 85.28 kB / 328.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.006353, allocations: 27.8 kB / 328.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.006401, allocations: 23.59 kB / 328.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.006468, allocations: 55.59 kB / 328.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.006584, allocations: 90.08 kB / 329 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.007027, allocations: 297.4 kB / 329.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007029, allocations: 0 / 329.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00703, allocations: 0 / 329.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.007038, allocations: 1.984 kB / 329.3 MB, free: 13.95 MB / 302.1 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.0009081/0.007946, allocations: 475.5 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.007989, allocations: 9.312 kB / 329.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.008061, allocations: 30.88 kB / 329.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.008358, allocations: 186.7 kB / 330 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.008386, allocations: 20.25 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.008445, allocations: 25.48 kB / 330 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.008931, allocations: 225 kB / 330.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.008955, allocations: 13.75 kB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.008981, allocations: 10.31 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.00899, allocations: 6 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.009413, allocations: 179.2 kB / 330.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.01057, allocations: 0.5863 MB / 331 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.01108, allocations: 206.4 kB / 331.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.0113, allocations: 101.5 kB / 331.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.01132, allocations: 3.375 kB / 331.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.01135, allocations: 36.31 kB / 331.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.487e-06/0.01135, allocations: 3.984 kB / 331.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001798/0.01315, allocations: 0.8156 MB / 332.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.0132, allocations: 54.72 kB / 332.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.01333, allocations: 150 kB / 332.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.01342, allocations: 34.92 kB / 332.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.01352, allocations: 150.9 kB / 332.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.01366, allocations: 107 kB / 332.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.01374, allocations: 52.36 kB / 332.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.0139, allocations: 322.4 kB / 333 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.01409, allocations: 85.25 kB / 333.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.01431, allocations: 112.1 kB / 333.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.01471, allocations: 197.5 kB / 333.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01471, allocations: 1.031 kB / 333.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005059/0.01522, allocations: 261.9 kB / 333.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01524, allocations: 9.281 kB / 333.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01524, allocations: 1.875 kB / 333.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01526, allocations: 5.609 kB / 333.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.01555, allocations: 74.28 kB / 333.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01556, allocations: 2.531 kB / 333.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.01568, allocations: 17.3 kB / 333.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.0157, allocations: 10.97 kB / 333.8 MB, free: 10.79 MB / 302.1 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.0001342/0.01583, allocations: 136.6 kB / 333.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.01588, allocations: 20.91 kB / 333.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/0.01595, allocations: 28.23 kB / 334 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01596, allocations: 3.25 kB / 334 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01596, allocations: 0 / 334 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01597, allocations: 1.062 kB / 334 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.01692, allocations: 0.5632 MB / 334.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01692, allocations: 0 / 334.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.01727, allocations: 76.89 kB / 334.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01727, allocations: 1.406 kB / 334.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.01729, allocations: 7.594 kB / 334.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01729, allocations: 1.344 kB / 334.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.0173, allocations: 1.375 kB / 334.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.01805, allocations: 454 kB / 335.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.01808, allocations: 13.5 kB / 335.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.01811, allocations: 6.906 kB / 335.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.01826, allocations: 12.45 kB / 335.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.01834, allocations: 15.91 kB / 335.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.01836, allocations: 9.469 kB / 335.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.01845, allocations: 115.6 kB / 335.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01845, allocations: 0 / 335.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.01876, allocations: 62.84 kB / 335.3 MB, free: 9.711 MB / 302.1 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.0001454/0.01891, allocations: 110.7 kB / 335.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.01937, allocations: 188.4 kB / 335.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01937, allocations: 0 / 335.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.01958, allocations: 102.4 kB / 335.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.02001, allocations: 46.61 kB / 335.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.02127, allocations: 0.6788 MB / 336.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.0214, allocations: 139.7 kB / 336.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.02148, allocations: 24.47 kB / 336.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.02154, allocations: 21.28 kB / 336.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02154, allocations: 0 / 336.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Templates: time 0.005977/0.02751, allocations: 2.097 MB / 338.7 MB, free: 7.195 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1203387677669525]