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.001854/0.001854, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002356/0.002356, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.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.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 0.00152/0.00152, allocations: 47.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2452, allocations: 53.36 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003517/0.2487, allocations: 2.143 MB / 433.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2497, allocations: 0.5998 MB / 434.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.2499, allocations: 7.938 kB / 434.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.25, allocations: 35.64 kB / 434.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2501, allocations: 43.58 kB / 434.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.2503, allocations: 55.92 kB / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.2506, allocations: 203.1 kB / 434.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2507, allocations: 53.72 kB / 434.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2508, allocations: 83.72 kB / 434.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.251, allocations: 79.62 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.251, allocations: 20 kB / 434.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.152e-05/0.2511, allocations: 16 kB / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.2511, allocations: 39.84 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2512, allocations: 87.59 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.2515, allocations: 216.4 kB / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2515, allocations: 0 / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2515, allocations: 0 / 435.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2515, allocations: 0 / 435.3 MB, free: 3.25 MB / 334.1 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.0006769/0.2522, allocations: 401.5 kB / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2522, allocations: 8.031 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.2523, allocations: 24.83 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.2525, allocations: 162.2 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2526, allocations: 16.09 kB / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.2526, allocations: 20.38 kB / 435.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.2529, allocations: 157.9 kB / 436 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2529, allocations: 0 / 436 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.253, allocations: 11.94 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.253, allocations: 4 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.2532, allocations: 103.7 kB / 436.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.2541, allocations: 0.5528 MB / 436.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.2544, allocations: 118.5 kB / 436.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.2545, allocations: 32.84 kB / 436.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.2545, allocations: 4 kB / 436.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2545, allocations: 34.56 kB / 436.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.2545, allocations: 0 / 436.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.00152/0.2561, allocations: 0.6479 MB / 437.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2561, allocations: 55.34 kB / 437.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.2563, allocations: 170.1 kB / 437.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2563, allocations: 25.7 kB / 437.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.2564, allocations: 132.4 kB / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.2564, allocations: 71.42 kB / 438 MB, free: 320 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.2565, allocations: 33.7 kB / 438 MB, free: 280 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.2567, allocations: 330.8 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.2568, allocations: 39.98 kB / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.2569, allocations: 81.09 kB / 438.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2572, allocations: 134.4 kB / 438.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2572, allocations: 4 kB / 438.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004076/0.2576, allocations: 202.2 kB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2576, allocations: 14.48 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2576, allocations: 0 / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.2578, allocations: 36.84 kB / 438.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.2579, allocations: 27.98 kB / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.2594, allocations: 1.436 MB / 440.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.2594, allocations: 7.938 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.2595, allocations: 11.94 kB / 440.3 MB, free: 13.81 MB / 350.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 (18): * Single equations (assignments): 17 * 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 0.0001255/0.2596, allocations: 133.9 kB / 440.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.2596, allocations: 15.91 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.2597, allocations: 21.05 kB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2597, allocations: 4 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2597, allocations: 0 / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2597, allocations: 3.938 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.2606, allocations: 0.5595 MB / 441.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2606, allocations: 0 / 441.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.2607, allocations: 27.98 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.2608, allocations: 32.78 kB / 441.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2609, allocations: 4.188 kB / 441.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.2622, allocations: 1.381 MB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2622, allocations: 0 / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.2627, allocations: 348.1 kB / 442.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.2627, allocations: 11.94 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2628, allocations: 4 kB / 442.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2629, allocations: 8 kB / 442.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.2629, allocations: 11.97 kB / 442.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2629, allocations: 4 kB / 442.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.263, allocations: 123.3 kB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.263, allocations: 0 / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.2633, allocations: 44 kB / 443.1 MB, free: 10.88 MB / 350.1 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 0.0001253/0.2635, allocations: 111.1 kB / 443.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005082/0.264, allocations: 241.5 kB / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.264, allocations: 4.125 kB / 443.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.2642, allocations: 182.6 kB / 443.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.2646, allocations: 30.98 kB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009256/0.2655, allocations: 0.5035 MB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.2659, allocations: 0.7281 MB / 444.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.203e-05/0.266, allocations: 17.48 kB / 444.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.266, allocations: 19.44 kB / 444.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.266, allocations: 0 / 444.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Templates: time 0.005777/0.2718, allocations: 1.959 MB / 446.8 MB, free: 7.023 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.60177906206809]