Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007794/0.0007794, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001821, 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.00105/0.00105, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002377, 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.9302/0.9302, allocations: 177.1 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07737/1.008, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.045e-05, allocations: 5.266 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002685/0.002706, allocations: 2.186 MB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006178/0.003323, allocations: 0.584 MB / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.442e-05/0.003408, allocations: 4 kB / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.364e-05/0.003492, allocations: 43.59 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.003567, allocations: 55.48 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.003778, allocations: 47.88 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.003951, allocations: 215 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.004059, allocations: 46.44 kB / 247.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.004172, allocations: 123.8 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.004265, allocations: 63.8 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.00429, allocations: 16 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.004308, allocations: 20 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.004333, allocations: 27.88 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.00438, allocations: 55.88 kB / 248 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.004533, allocations: 131.5 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/0.004546, allocations: 0 / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004547, allocations: 0 / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.00456, allocations: 0 / 248.1 MB, free: 10.7 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004665/0.005026, allocations: 415.7 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.005054, allocations: 12.03 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.005093, allocations: 28.91 kB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.005258, allocations: 153.5 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.005271, allocations: 16.16 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.005297, allocations: 20.33 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.005448, allocations: 122.8 kB / 248.9 MB, free: 9.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.005458, allocations: 4.188 kB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005469, allocations: 4.375 kB / 248.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005475, allocations: 7.938 kB / 248.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.005539, allocations: 51.75 kB / 248.9 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.005967, allocations: 386.8 kB / 249.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.006063, allocations: 58.55 kB / 249.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.006089, allocations: 28.78 kB / 249.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.006102, allocations: 4 kB / 249.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.00612, allocations: 30.56 kB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.006121, allocations: 0 / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007426/0.006864, allocations: 0.5303 MB / 250 MB, free: 8.699 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.006888, allocations: 55.41 kB / 250 MB, free: 8.633 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.006954, allocations: 138.6 kB / 250.1 MB, free: 8.484 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.006965, allocations: 33.7 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.007012, allocations: 136.3 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.007045, allocations: 67.41 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.007087, allocations: 41.69 kB / 250.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.007153, allocations: 322.8 kB / 250.7 MB, free: 7.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.007178, allocations: 23.98 kB / 250.8 MB, free: 7.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.62e-05/0.007224, allocations: 67.44 kB / 250.8 MB, free: 7.766 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.00754, allocations: 96.41 kB / 250.9 MB, free: 7.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.007543, allocations: 4 kB / 250.9 MB, free: 7.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001497/0.007693, allocations: 146.2 kB / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.007706, allocations: 4 kB / 251.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007711, allocations: 4 kB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.00782, allocations: 24.97 kB / 251.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.007925, allocations: 47.97 kB / 251.1 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/0.008612, allocations: 1.261 MB / 252.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.008659, allocations: 11.98 kB / 252.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.008667, allocations: 4 kB / 252.4 MB, free: 6.055 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.354e-05/0.008731, allocations: 121.8 kB / 252.5 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.00875, allocations: 15.98 kB / 252.6 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.008775, allocations: 21.12 kB / 252.6 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008777, allocations: 3.938 kB / 252.6 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008781, allocations: 4 kB / 252.6 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008784, allocations: 0 / 252.6 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.009129, allocations: 370.4 kB / 252.9 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.009131, allocations: 0 / 252.9 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.009218, allocations: 31.98 kB / 253 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.009229, allocations: 19.89 kB / 253 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.971e-05/0.009299, allocations: 32.81 kB / 253 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.009307, allocations: 4 kB / 253 MB, free: 5.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005629/0.00987, allocations: 1.217 MB / 254.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.009872, allocations: 3.984 kB / 254.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.01005, allocations: 239.2 kB / 254.5 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.01006, allocations: 4 kB / 254.5 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.01011, allocations: 15.94 kB / 254.5 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.01014, allocations: 11.97 kB / 254.5 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.01014, allocations: 4 kB / 254.5 MB, free: 3.805 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.691e-05/0.01017, allocations: 31.83 kB / 254.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01017, allocations: 0 / 254.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.01033, allocations: 44 kB / 254.6 MB, free: 3.73 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.775e-05/0.01042, allocations: 88.39 kB / 254.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.01065, allocations: 219.1 kB / 254.9 MB, free: 3.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.01066, allocations: 4 kB / 254.9 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.01077, allocations: 171.3 kB / 255.1 MB, free: 3.215 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01095, allocations: 44.44 kB / 255.1 MB, free: 3.172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.01266, allocations: 404.7 kB / 255.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.0127, allocations: 83.97 kB / 255.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.01275, allocations: 9.484 kB / 255.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.01281, allocations: 67.38 kB / 255.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01281, allocations: 4 kB / 255.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of Templates: time 0.003712/0.01652, allocations: 2.022 MB / 257.7 MB, free: 0.582 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.532602496445179]