Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.001001/0.001001, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002598, allocations: 445.8 kB / 10.44 MB, free: 256 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.0008609/0.0008609, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009372/0.001798, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8351/0.8351, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1508/0.9859, allocations: 52.5 MB / 238.5 MB, free: 7.637 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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 239.7 MB, free: 6.387 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.588e-05, allocations: 2.312 kB / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002949/0.002965, allocations: 2.18 MB / 241.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006643/0.00363, allocations: 0.5388 MB / 242.5 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.003722, allocations: 7.938 kB / 242.5 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.448e-05/0.003806, allocations: 31.72 kB / 242.5 MB, free: 3.625 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.003888, allocations: 53.52 kB / 242.5 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.003999, allocations: 59.8 kB / 242.6 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.00417, allocations: 211 kB / 242.8 MB, free: 3.309 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004282, allocations: 55.33 kB / 242.9 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.004412, allocations: 119.8 kB / 243 MB, free: 3.137 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.79e-05/0.00451, allocations: 64.7 kB / 243 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.004537, allocations: 19.94 kB / 243.1 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.07e-05/0.004557, allocations: 16 kB / 243.1 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.004586, allocations: 25.72 kB / 243.1 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.004629, allocations: 55.88 kB / 243.2 MB, free: 2.961 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.004785, allocations: 127.5 kB / 243.3 MB, free: 2.836 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.004796, allocations: 0 / 243.3 MB, free: 2.836 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004796, allocations: 0.6562 kB / 243.3 MB, free: 2.836 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.004806, allocations: 0 / 243.3 MB, free: 2.836 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006194/0.005425, allocations: 414.5 kB / 243.7 MB, free: 2.41 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.466e-05/0.00546, allocations: 12.03 kB / 243.7 MB, free: 2.398 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.005506, allocations: 20.92 kB / 243.7 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.005708, allocations: 165.4 kB / 243.9 MB, free: 2.191 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.005721, allocations: 17.84 kB / 243.9 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.00575, allocations: 16.38 kB / 243.9 MB, free: 2.16 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.005933, allocations: 130.6 kB / 244 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.005945, allocations: 4.766 kB / 244.1 MB, free: 2.02 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.005956, allocations: 4.375 kB / 244.1 MB, free: 2.016 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.005964, allocations: 8.531 kB / 244.1 MB, free: 2.008 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.006029, allocations: 48.28 kB / 244.1 MB, free: 1.961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.006497, allocations: 376.4 kB / 244.5 MB, free: 1.57 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.00661, allocations: 70.47 kB / 244.5 MB, free: 1.492 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.006642, allocations: 29.94 kB / 244.6 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.006658, allocations: 4.25 kB / 244.6 MB, free: 1.457 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.006683, allocations: 30.56 kB / 244.6 MB, free: 1.418 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.006684, allocations: 1 kB / 244.6 MB, free: 1.418 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008868/0.007571, allocations: 0.5354 MB / 245.1 MB, free: 0.832 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.007598, allocations: 51.41 kB / 245.2 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.007682, allocations: 157.3 kB / 245.4 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.007693, allocations: 25.7 kB / 245.4 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.007741, allocations: 130.9 kB / 245.5 MB, free: 456 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.007776, allocations: 71.41 kB / 245.6 MB, free: 384 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.007818, allocations: 37.56 kB / 245.6 MB, free: 340 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.007915, allocations: 326.8 kB / 245.9 MB, free: 4 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.007958, allocations: 20.05 kB / 245.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.008004, allocations: 61.06 kB / 246 MB, free: 15.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.16e-05/0.008095, allocations: 113.7 kB / 246.1 MB, free: 15.78 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008097, allocations: 0.8125 kB / 246.1 MB, free: 15.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001599/0.008257, allocations: 139.9 kB / 246.3 MB, free: 15.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.008272, allocations: 4 kB / 246.3 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.008277, allocations: 4.125 kB / 246.3 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.0084, allocations: 36.83 kB / 246.3 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.008506, allocations: 39.92 kB / 246.3 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007383/0.009244, allocations: 1.264 MB / 247.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.009296, allocations: 4 kB / 247.6 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.009303, allocations: 12.03 kB / 247.6 MB, free: 14.18 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.009373, allocations: 113.8 kB / 247.7 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.009395, allocations: 15.98 kB / 247.7 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.009417, allocations: 17.12 kB / 247.8 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.00942, allocations: 7.938 kB / 247.8 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.009425, allocations: 3.984 kB / 247.8 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.009428, allocations: 0 / 247.8 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.00979, allocations: 370.4 kB / 248.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009792, allocations: 0 / 248.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.00988, allocations: 39.91 kB / 248.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.009894, allocations: 15.84 kB / 248.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.612e-05/0.00997, allocations: 24.84 kB / 248.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.009979, allocations: 7.984 kB / 248.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006359/0.01062, allocations: 1.229 MB / 249.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01062, allocations: 4 kB / 249.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.01082, allocations: 242.4 kB / 249.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.01083, allocations: 4 kB / 249.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.01088, allocations: 4 kB / 249.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.01092, allocations: 15.97 kB / 249.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.01093, allocations: 0 / 249.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.607e-05/0.01095, allocations: 27.16 kB / 249.7 MB, free: 11.9 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.01095, allocations: 4 kB / 249.7 MB, free: 11.9 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000173/0.01113, allocations: 51.98 kB / 249.8 MB, free: 11.85 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.872e-05/0.01121, allocations: 80.42 kB / 249.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.01146, allocations: 223 kB / 250.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.01147, allocations: 0 / 250.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.0116, allocations: 183.7 kB / 250.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.0119, allocations: 206.4 kB / 250.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.01414, allocations: 414.3 kB / 250.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.01419, allocations: 75.98 kB / 251 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.01426, allocations: 21.47 kB / 251 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.01435, allocations: 75.36 kB / 251 MB, free: 10.47 MB / 250.7 MB Notification: Performance of SimCode: time 1.302e-06/0.01435, allocations: 0 / 251 MB, free: 10.47 MB / 250.7 MB Notification: Performance of Templates: time 0.008663/0.02301, allocations: 2.049 MB / 253.1 MB, free: 8.469 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.382753763347864]