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.001483/0.001483, allocations: 83.89 kB / 21.18 MB, free: 3.387 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.001725/0.001725, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9838/0.9838, allocations: 173.4 MB / 201.2 MB, free: 9.305 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 2.054e-06/2.054e-06, allocations: 0 / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.746e-05, allocations: 6.25 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002667/0.002694, allocations: 2.148 MB / 270.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.003602, allocations: 0.5298 MB / 270.7 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.003729, allocations: 4 kB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.003873, allocations: 39.59 kB / 270.7 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.003965, allocations: 55.48 kB / 270.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.004149, allocations: 51.94 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.004365, allocations: 215 kB / 271 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.004506, allocations: 53.7 kB / 271.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004624, allocations: 111.8 kB / 271.2 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.004729, allocations: 59.8 kB / 271.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.004756, allocations: 16 kB / 271.3 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.383e-05/0.00478, allocations: 20 kB / 271.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.004811, allocations: 39.83 kB / 271.3 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.004861, allocations: 55.92 kB / 271.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005052, allocations: 139.5 kB / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005055, allocations: 0 / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.005056, allocations: 4 kB / 271.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.005061, allocations: 0 / 271.5 MB, free: 2.871 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.0005251/0.005586, allocations: 499.8 kB / 272 MB, free: 2.348 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.005626, allocations: 12.86 kB / 272 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.005687, allocations: 36.8 kB / 272 MB, free: 2.301 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.005887, allocations: 172.3 kB / 272.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.005902, allocations: 12.38 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.005939, allocations: 20.38 kB / 272.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.006162, allocations: 130.5 kB / 272.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.006177, allocations: 16.09 kB / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.006192, allocations: 8.375 kB / 272.4 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.006202, allocations: 7.938 kB / 272.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.006307, allocations: 51.95 kB / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.006976, allocations: 0.5215 MB / 273 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.007121, allocations: 95 kB / 273.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.007164, allocations: 27.67 kB / 273.1 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007183, allocations: 4 kB / 273.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.007206, allocations: 37.39 kB / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.007207, allocations: 0 / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009003/0.008107, allocations: 0.5678 MB / 273.7 MB, free: 488 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.008136, allocations: 51.41 kB / 273.8 MB, free: 424 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.008239, allocations: 201.8 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.008253, allocations: 29.7 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.008332, allocations: 179.3 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.008367, allocations: 71.33 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.008414, allocations: 39.38 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.008594, allocations: 0.4923 MB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.008638, allocations: 23.98 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.008703, allocations: 73.66 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.00881, allocations: 106 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.008812, allocations: 0 / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002138/0.009025, allocations: 169.1 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.009039, allocations: 4 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.009044, allocations: 0 / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.009201, allocations: 47.59 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.009309, allocations: 35.98 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009469/0.01026, allocations: 1.842 MB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.0103, allocations: 0 / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.01031, allocations: 12 kB / 277.1 MB, free: 12.89 MB / 266.7 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 8.03e-05/0.01039, allocations: 160.5 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.01042, allocations: 23.91 kB / 277.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.01044, allocations: 25.14 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01045, allocations: 3.938 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.01045, allocations: 0 / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01046, allocations: 4.125 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.01094, allocations: 0.5194 MB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01094, allocations: 0 / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.118e-05/0.01103, allocations: 31.92 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-05/0.01113, allocations: 35.61 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01114, allocations: 4 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000965/0.0121, allocations: 1.799 MB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.0121, allocations: 4 kB / 279.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.01237, allocations: 329.8 kB / 280 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.01238, allocations: 11.97 kB / 280 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.01239, allocations: 4 kB / 280 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.01244, allocations: 11.94 kB / 280 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.01249, allocations: 11.97 kB / 280 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.0125, allocations: 8 kB / 280 MB, free: 9.699 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.096e-05/0.01257, allocations: 146.4 kB / 280.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01257, allocations: 0 / 280.2 MB, free: 9.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.01281, allocations: 44 kB / 280.2 MB, free: 9.516 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 9.529e-05/0.01291, allocations: 99.25 kB / 280.3 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.01326, allocations: 277.4 kB / 280.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01326, allocations: 0 / 280.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.0134, allocations: 245.3 kB / 280.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.01364, allocations: 16 kB / 280.8 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007827/0.01443, allocations: 446.6 kB / 281.3 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01448, allocations: 75.98 kB / 281.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.149e-05/0.01452, allocations: 13.48 kB / 281.4 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.01455, allocations: 16.5 kB / 281.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01455, allocations: 3.938 kB / 281.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of Templates: time 0.003919/0.01847, allocations: 1.862 MB / 283.2 MB, free: 6.418 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 -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: 3.022427697200328]