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.0009783/0.0009783, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00128/0.00128, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.804e-06/1.804e-06, allocations: 0 / 273.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.542e-05, allocations: 2.312 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003451/0.003476, allocations: 2.189 MB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.004228, allocations: 0.5685 MB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.004315, allocations: 7.938 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.00444, allocations: 31.66 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.368e-05/0.004514, allocations: 63.48 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.004644, allocations: 51.86 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.004806, allocations: 215 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.004915, allocations: 54.38 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.005013, allocations: 107.8 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.446e-05/0.005107, allocations: 67.8 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.005131, allocations: 16 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.005148, allocations: 16 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.005176, allocations: 43.84 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.005219, allocations: 63.83 kB / 277 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.005394, allocations: 135.5 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005397, allocations: 0 / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005398, allocations: 0 / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.005402, allocations: 0 / 277.1 MB, free: 13.65 MB / 266.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.0003873/0.005789, allocations: 380.1 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.005817, allocations: 8.031 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.005854, allocations: 28.92 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.006008, allocations: 153.5 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.006022, allocations: 12.16 kB / 277.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.006044, allocations: 20.33 kB / 277.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.006188, allocations: 126.8 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.006199, allocations: 4.172 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.006212, allocations: 12.38 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.00622, allocations: 11.92 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.882e-05/0.006279, allocations: 43.53 kB / 277.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.006693, allocations: 390.8 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/0.006783, allocations: 70.53 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.006807, allocations: 16.8 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.006819, allocations: 4.25 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.006838, allocations: 34.56 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.006839, allocations: 0 / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007919/0.00763, allocations: 0.5241 MB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.007652, allocations: 55.41 kB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.007721, allocations: 146 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.007732, allocations: 29.7 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.007774, allocations: 136.4 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.007802, allocations: 67.41 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.007841, allocations: 41.7 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.007905, allocations: 326.8 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.007926, allocations: 12 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.007968, allocations: 63.5 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.008045, allocations: 101 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008046, allocations: 4 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001426/0.008189, allocations: 145.8 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.008199, allocations: 8 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.008203, allocations: 0 / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.008305, allocations: 36.83 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.008392, allocations: 32.11 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006198/0.009012, allocations: 1.268 MB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.009049, allocations: 4 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.009057, allocations: 4 kB / 281.4 MB, free: 9.047 MB / 266.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.185e-05/0.009119, allocations: 117.8 kB / 281.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.009142, allocations: 15.98 kB / 281.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.009163, allocations: 21.16 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.009167, allocations: 7.938 kB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.009168, allocations: 3.938 kB / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.009172, allocations: 3.984 kB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.009495, allocations: 373.2 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.009496, allocations: 0 / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.771e-05/0.009574, allocations: 32.16 kB / 281.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.035e-05/0.009634, allocations: 36.78 kB / 282 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.009643, allocations: 8 kB / 282 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006736/0.01032, allocations: 1.229 MB / 283.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01032, allocations: 3.984 kB / 283.2 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.01048, allocations: 232.3 kB / 283.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.01049, allocations: 11.91 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.0105, allocations: 3.938 kB / 283.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.01055, allocations: 8 kB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.01057, allocations: 11.97 kB / 283.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.01058, allocations: 4 kB / 283.5 MB, free: 6.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.98e-05/0.0106, allocations: 28.83 kB / 283.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 0 / 283.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000152/0.01075, allocations: 44 kB / 283.5 MB, free: 6.719 MB / 266.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.429e-05/0.01082, allocations: 88.44 kB / 283.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.01102, allocations: 219 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01102, allocations: 0 / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.01112, allocations: 175.3 kB / 284 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.01127, allocations: 23.98 kB / 284 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.01185, allocations: 428 kB / 284.4 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.01188, allocations: 75.98 kB / 284.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.01192, allocations: 17.48 kB / 284.5 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.01198, allocations: 71.31 kB / 284.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01198, allocations: 0 / 284.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of Templates: time 0.003435/0.01542, allocations: 1.984 MB / 286.6 MB, free: 3.609 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.6141683920286596]