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.0009261/0.0009261, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008877/0.0008877, allocations: 141.7 kB / 24.89 MB, free: 8.777 MB / 18.57 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.9193/0.9193, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.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.112e-06/1.112e-06, allocations: 0 / 268.5 MB, free: 6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.598e-05, allocations: 9.906 kB / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002321/0.002337, allocations: 2.178 MB / 270.7 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.003101, allocations: 0.5452 MB / 271.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.00319, allocations: 4 kB / 271.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.003316, allocations: 31.66 kB / 271.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.003401, allocations: 63.48 kB / 271.3 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.00354, allocations: 39.95 kB / 271.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.003713, allocations: 218.9 kB / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.003827, allocations: 50.42 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003935, allocations: 115.8 kB / 271.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/0.004031, allocations: 55.81 kB / 271.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.004055, allocations: 16 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.004076, allocations: 16 kB / 271.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.00411, allocations: 47.83 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.00416, allocations: 63.83 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.004329, allocations: 135.5 kB / 272.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004332, allocations: 0 / 272.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004332, allocations: 0 / 272.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004336, allocations: 0 / 272.1 MB, free: 2.402 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.0003916/0.004728, allocations: 380.1 kB / 272.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.004757, allocations: 8.922 kB / 272.4 MB, free: 2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.004797, allocations: 32.91 kB / 272.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.00496, allocations: 161.5 kB / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.004974, allocations: 16.38 kB / 272.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.004996, allocations: 12.38 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.005168, allocations: 130.4 kB / 272.8 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.005182, allocations: 4.141 kB / 272.8 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.005202, allocations: 8.375 kB / 272.8 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.005211, allocations: 7.938 kB / 272.8 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.005273, allocations: 35.97 kB / 272.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.005753, allocations: 386.6 kB / 273.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.006159, allocations: 74.47 kB / 273.3 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.006196, allocations: 28.78 kB / 273.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.006209, allocations: 0 / 273.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.006229, allocations: 34.56 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.00623, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007638/0.006994, allocations: 0.5217 MB / 273.9 MB, free: 448 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.007018, allocations: 55.41 kB / 273.9 MB, free: 380 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.007096, allocations: 146.6 kB / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.007108, allocations: 25.7 kB / 274.1 MB, free: 188 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.007169, allocations: 140.3 kB / 274.2 MB, free: 44 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.007217, allocations: 71.61 kB / 274.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.007261, allocations: 37.69 kB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.007345, allocations: 326.8 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.007372, allocations: 15.98 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.007423, allocations: 65.12 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.007506, allocations: 89.03 kB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.007507, allocations: 0 / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001634/0.00767, allocations: 149.3 kB / 275 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.007683, allocations: 8 kB / 275 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.007686, allocations: 48 / 275 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.007796, allocations: 40.81 kB / 275 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.00789, allocations: 39.91 kB / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007461/0.008636, allocations: 1.253 MB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.008687, allocations: 8 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.008697, allocations: 4 kB / 276.3 MB, free: 13.8 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 8.073e-05/0.008778, allocations: 125.7 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.008803, allocations: 15.98 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.008827, allocations: 25.16 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008829, allocations: 3.938 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.008833, allocations: 0 / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.008836, allocations: 0 / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.009233, allocations: 366.5 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.009235, allocations: 3.938 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.009322, allocations: 27.98 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.616e-05/0.009398, allocations: 40.81 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.009404, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005985/0.01, allocations: 1.229 MB / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01, allocations: 0 / 278.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.01019, allocations: 239 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.0102, allocations: 12.02 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.01021, allocations: 8 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.01026, allocations: 3.984 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.01029, allocations: 11.98 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.0103, allocations: 4 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.01032, allocations: 35.81 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01032, allocations: 0 / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.01049, allocations: 44 kB / 278.5 MB, free: 11.47 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.687e-05/0.01057, allocations: 92.3 kB / 278.6 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.0108, allocations: 219.1 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.0108, allocations: 4 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.01091, allocations: 167.4 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.01108, allocations: 23.98 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.01171, allocations: 425.1 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01175, allocations: 75.98 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.0118, allocations: 17.48 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.01186, allocations: 71.36 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01186, allocations: 0 / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of Templates: time 0.003946/0.01581, allocations: 1.987 MB / 281.6 MB, free: 8.355 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5861449730582535]