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.0007608/0.0007608, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009696/0.00173, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006379/0.0006379, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008529/0.001491, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9252/0.9252, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.034, allocations: 52.49 MB / 238.3 MB, free: 4.445 MB / 234.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.313e-06/1.313e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.91e-05, allocations: 2.312 kB / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002488/0.002507, allocations: 2.48 MB / 242 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.003336, allocations: 0.5919 MB / 242.6 MB, free: 112 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.00344, allocations: 7.938 kB / 242.6 MB, free: 104 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.072e-05/0.003521, allocations: 43.58 kB / 242.7 MB, free: 60 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.003651, allocations: 91.31 kB / 242.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.003751, allocations: 59.86 kB / 242.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.004028, allocations: 310.5 kB / 243.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.004159, allocations: 77.73 kB / 243.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.004355, allocations: 183.5 kB / 243.4 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.004457, allocations: 87.77 kB / 243.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.00449, allocations: 24 kB / 243.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.004514, allocations: 24 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.004543, allocations: 43.81 kB / 243.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.372e-05/0.004607, allocations: 79.88 kB / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.004809, allocations: 179.2 kB / 243.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.00482, allocations: 0 / 243.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.004822, allocations: 3.984 kB / 243.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.004835, allocations: 4 kB / 243.8 MB, free: 14.91 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.0005103/0.005345, allocations: 0.4922 MB / 244.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.005371, allocations: 8.031 kB / 244.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.005421, allocations: 44.91 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.005599, allocations: 168.7 kB / 244.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.005614, allocations: 21.03 kB / 244.5 MB, free: 14.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.005647, allocations: 28.38 kB / 244.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.005941, allocations: 163.4 kB / 244.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.00596, allocations: 15.88 kB / 244.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.005973, allocations: 11.94 kB / 244.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.005979, allocations: 11.94 kB / 244.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.006066, allocations: 68.55 kB / 244.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.006672, allocations: 472.6 kB / 245.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.006885, allocations: 138.4 kB / 245.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.006941, allocations: 56.83 kB / 245.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.006955, allocations: 7.984 kB / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.006977, allocations: 34.56 kB / 245.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.006979, allocations: 0 / 245.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006964/0.007675, allocations: 0.5521 MB / 246.1 MB, free: 12.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.007705, allocations: 51.41 kB / 246.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.007782, allocations: 149.8 kB / 246.3 MB, free: 12.28 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.007793, allocations: 29.7 kB / 246.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.007849, allocations: 148.7 kB / 246.4 MB, free: 12.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.007903, allocations: 107 kB / 246.6 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.007953, allocations: 45.69 kB / 246.6 MB, free: 11.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.008032, allocations: 330.8 kB / 246.9 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.008065, allocations: 27.98 kB / 246.9 MB, free: 11.58 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.008119, allocations: 75.11 kB / 247 MB, free: 11.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.008223, allocations: 111.3 kB / 247.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.008226, allocations: 4 kB / 247.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001407/0.008367, allocations: 141.5 kB / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.008379, allocations: 7.938 kB / 247.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008384, allocations: 7.984 kB / 247.3 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.008392, allocations: 4.094 kB / 247.3 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.00862, allocations: 91.89 kB / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.008624, allocations: 4 kB / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.008676, allocations: 11.98 kB / 247.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.008684, allocations: 8 kB / 247.4 MB, free: 11.09 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.967e-05/0.008754, allocations: 121.8 kB / 247.5 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.00878, allocations: 23.92 kB / 247.5 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.008817, allocations: 29.94 kB / 247.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.00882, allocations: 8 kB / 247.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008824, allocations: 7.938 kB / 247.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.008828, allocations: 0 / 247.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.009216, allocations: 388.9 kB / 248 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009218, allocations: 0 / 248 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.009427, allocations: 87.88 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.009443, allocations: 15.89 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.009446, allocations: 8.062 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.009458, allocations: 7.984 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.00946, allocations: 4 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.009463, allocations: 3.938 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.009862, allocations: 283.1 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.009879, allocations: 8 kB / 248.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.00994, allocations: 8 kB / 248.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.009976, allocations: 27.83 kB / 248.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.009983, allocations: 8 kB / 248.4 MB, free: 10 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.286e-05/0.01001, allocations: 28.83 kB / 248.5 MB, free: 9.973 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01001, allocations: 4 kB / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.01017, allocations: 56 kB / 248.5 MB, free: 9.914 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.471e-05/0.01026, allocations: 84.36 kB / 248.6 MB, free: 9.824 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.01039, allocations: 117.1 kB / 248.7 MB, free: 9.707 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.0104, allocations: 4 kB / 248.7 MB, free: 9.703 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.01045, allocations: 68.7 kB / 248.8 MB, free: 9.633 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01066, allocations: 71.58 kB / 248.8 MB, free: 9.566 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.01394, allocations: 0.5645 MB / 249.4 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.435e-05/0.014, allocations: 88.64 kB / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.01406, allocations: 17.94 kB / 249.5 MB, free: 8.844 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.01416, allocations: 95.34 kB / 249.6 MB, free: 8.75 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01416, allocations: 0 / 249.6 MB, free: 8.75 MB / 250.7 MB Notification: Performance of Templates: time 0.004163/0.01832, allocations: 2.503 MB / 252.1 MB, free: 6.301 MB / 250.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 -ignoreHideResult -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.4908398054540157]