Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.0008957/0.0008957, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 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.0009983/0.0009983, allocations: 167.1 kB / 25.7 MB, free: 8.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8901/0.8901, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.001e-05, allocations: 6.25 kB / 251.5 MB, free: 7.289 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002381/0.002401, allocations: 2.13 MB / 253.6 MB, free: 5.145 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.003156, allocations: 0.585 MB / 254.2 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.003252, allocations: 7.938 kB / 254.2 MB, free: 4.543 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.003388, allocations: 31.72 kB / 254.3 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.003468, allocations: 55.48 kB / 254.3 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.003618, allocations: 47.89 kB / 254.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.003802, allocations: 222.9 kB / 254.6 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.003926, allocations: 50.42 kB / 254.6 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.00404, allocations: 115.8 kB / 254.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.004144, allocations: 55.81 kB / 254.8 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.004173, allocations: 16 kB / 254.8 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.004193, allocations: 20 kB / 254.8 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.004227, allocations: 35.89 kB / 254.9 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.004279, allocations: 59.84 kB / 254.9 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.004454, allocations: 139.4 kB / 255.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004455, allocations: 0 / 255.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004456, allocations: 0 / 255.1 MB, free: 3.711 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00446, allocations: 4 kB / 255.1 MB, free: 3.707 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.0004075/0.004867, allocations: 380.1 kB / 255.4 MB, free: 3.312 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.004897, allocations: 11.98 kB / 255.5 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.004936, allocations: 28.92 kB / 255.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.005089, allocations: 161.4 kB / 255.6 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.005104, allocations: 20.38 kB / 255.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.00513, allocations: 12.38 kB / 255.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.005286, allocations: 138.4 kB / 255.8 MB, free: 2.914 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.005295, allocations: 192 / 255.8 MB, free: 2.914 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.005307, allocations: 8.375 kB / 255.8 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005313, allocations: 7.938 kB / 255.8 MB, free: 2.898 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.005371, allocations: 39.97 kB / 255.9 MB, free: 2.859 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.005799, allocations: 382.8 kB / 256.2 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.005896, allocations: 70.53 kB / 256.3 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.005923, allocations: 28.8 kB / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.005934, allocations: 0 / 256.3 MB, free: 2.355 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.005954, allocations: 38.55 kB / 256.4 MB, free: 2.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 8.51e-07/0.005955, allocations: 3.938 kB / 256.4 MB, free: 2.305 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007377/0.006693, allocations: 0.5188 MB / 256.9 MB, free: 1.73 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.006719, allocations: 59.39 kB / 257 MB, free: 1.66 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.006794, allocations: 143.2 kB / 257.1 MB, free: 1.508 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.006805, allocations: 25.7 kB / 257.1 MB, free: 1.477 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.00686, allocations: 140.3 kB / 257.3 MB, free: 1.336 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.006896, allocations: 67.42 kB / 257.3 MB, free: 1.27 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.006937, allocations: 37.69 kB / 257.4 MB, free: 1.227 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.007021, allocations: 326.8 kB / 257.7 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.007043, allocations: 15.98 kB / 257.7 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/0.007091, allocations: 69.06 kB / 257.8 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.079e-05/0.007172, allocations: 93.03 kB / 257.8 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007173, allocations: 0 / 257.8 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001632/0.007336, allocations: 142.2 kB / 258 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.007348, allocations: 12.11 kB / 258 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007353, allocations: 0 / 258 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001143/0.007467, allocations: 36.83 kB / 258 MB, free: 500 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.007554, allocations: 31.98 kB / 258.1 MB, free: 468 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00079/0.008344, allocations: 1.257 MB / 259.3 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.008386, allocations: 8.031 kB / 259.3 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.008395, allocations: 8 kB / 259.3 MB, free: 15.09 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 6.732e-05/0.008463, allocations: 113.8 kB / 259.4 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.008485, allocations: 15.98 kB / 259.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.008512, allocations: 17.12 kB / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.008513, allocations: 0 / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.008519, allocations: 3.938 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.008525, allocations: 7.984 kB / 259.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.00888, allocations: 373.8 kB / 259.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.008883, allocations: 4 kB / 259.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.008957, allocations: 23.98 kB / 259.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.172e-05/0.009029, allocations: 40.78 kB / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.009035, allocations: 4 kB / 259.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005483/0.009583, allocations: 1.218 MB / 261.1 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.009584, allocations: 7.875 kB / 261.2 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.009751, allocations: 228.3 kB / 261.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.009762, allocations: 15.84 kB / 261.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.009772, allocations: 0 / 261.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.492e-05/0.009817, allocations: 11.94 kB / 261.4 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.009854, allocations: 19.88 kB / 261.4 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.009862, allocations: 4 kB / 261.4 MB, free: 12.85 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.147e-05/0.009883, allocations: 33.02 kB / 261.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009883, allocations: 0 / 261.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.01004, allocations: 48 kB / 261.5 MB, free: 12.77 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 7.861e-05/0.01012, allocations: 76.41 kB / 261.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.01034, allocations: 206.4 kB / 261.8 MB, free: 12.47 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01034, allocations: 0 / 261.8 MB, free: 12.47 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01046, allocations: 183.6 kB / 262 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.01062, allocations: 24.16 kB / 262 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.01125, allocations: 427.6 kB / 262.4 MB, free: 11.81 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01129, allocations: 83.92 kB / 262.5 MB, free: 11.71 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.097e-05/0.01133, allocations: 13.48 kB / 262.5 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.0114, allocations: 67.38 kB / 262.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.0114, allocations: 0 / 262.6 MB, free: 11.62 MB / 250.7 MB Notification: Performance of Templates: time 0.003554/0.01496, allocations: 1.974 MB / 264.5 MB, free: 9.66 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.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.559157667681575]