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.001368/0.001368, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009593/0.0009593, allocations: 138.6 kB / 24.97 MB, free: 9.309 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.9467/0.9467, allocations: 173.3 MB / 201.5 MB, free: 9.297 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 3.566e-06/3.566e-06, allocations: 4 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.401e-05, allocations: 10.25 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002633/0.002657, allocations: 2.137 MB / 270.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007572/0.003414, allocations: 0.5336 MB / 270.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.003519, allocations: 8 kB / 270.7 MB, free: 4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.003655, allocations: 35.59 kB / 270.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.00374, allocations: 59.48 kB / 270.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.003906, allocations: 51.92 kB / 270.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.004109, allocations: 214.9 kB / 271.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.004274, allocations: 45.78 kB / 271.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.004425, allocations: 115.8 kB / 271.3 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.004555, allocations: 59.8 kB / 271.3 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.004594, allocations: 20 kB / 271.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.004618, allocations: 20 kB / 271.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.004655, allocations: 35.84 kB / 271.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.004718, allocations: 59.89 kB / 271.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.004933, allocations: 135.5 kB / 271.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.004936, allocations: 0 / 271.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.004938, allocations: 0 / 271.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.004944, allocations: 0 / 271.6 MB, free: 3.16 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.0005199/0.005464, allocations: 0.4958 MB / 272.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.0055, allocations: 12.92 kB / 272.1 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.00556, allocations: 40.8 kB / 272.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.005745, allocations: 164.3 kB / 272.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.005758, allocations: 8.375 kB / 272.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.005787, allocations: 20.38 kB / 272.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.005993, allocations: 134.4 kB / 272.4 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.006006, allocations: 4.188 kB / 272.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.006021, allocations: 4.375 kB / 272.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.00603, allocations: 7.938 kB / 272.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.00613, allocations: 63.89 kB / 272.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.006751, allocations: 0.5254 MB / 273 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.006915, allocations: 87.06 kB / 273.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.00696, allocations: 27.67 kB / 273.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.006976, allocations: 4 kB / 273.2 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.006999, allocations: 33.39 kB / 273.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.007, allocations: 0 / 273.2 MB, free: 1.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009387/0.007939, allocations: 0.5828 MB / 273.8 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.007967, allocations: 51.41 kB / 273.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.008069, allocations: 197.9 kB / 274 MB, free: 500 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.008084, allocations: 29.7 kB / 274.1 MB, free: 464 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.008152, allocations: 183.2 kB / 274.2 MB, free: 276 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.00819, allocations: 63.44 kB / 274.3 MB, free: 212 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.008237, allocations: 47.36 kB / 274.3 MB, free: 156 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.008354, allocations: 0.4923 MB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.008399, allocations: 23.98 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.008463, allocations: 69.66 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.008572, allocations: 102.6 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008573, allocations: 0 / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002095/0.008783, allocations: 165.1 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.008797, allocations: 12.05 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.008802, allocations: 0 / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.008952, allocations: 39.61 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.009055, allocations: 35.92 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009171/0.009972, allocations: 1.83 MB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.01001, allocations: 12.02 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.01002, allocations: 8 kB / 277.1 MB, free: 13.19 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 0.0003216/0.01034, allocations: 164.5 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.01037, allocations: 23.84 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.0104, allocations: 21.12 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.0104, allocations: 0 / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.0104, allocations: 0 / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.0104, allocations: 3.984 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.01085, allocations: 0.5232 MB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.01086, allocations: 192 / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.85e-05/0.01094, allocations: 35.92 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.997e-05/0.01102, allocations: 35.59 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.01103, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007212/0.01176, allocations: 1.799 MB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01176, allocations: 4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.01201, allocations: 325.9 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.01202, allocations: 15.89 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.01203, allocations: 4 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.01209, allocations: 7.938 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.01212, allocations: 15.97 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.01213, allocations: 4 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.684e-05/0.01218, allocations: 146.3 kB / 280.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01218, allocations: 0 / 280.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.01236, allocations: 48 kB / 280.3 MB, free: 9.809 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 8.768e-05/0.01245, allocations: 99.25 kB / 280.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.01275, allocations: 281.3 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01275, allocations: 0 / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.01289, allocations: 241.5 kB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01312, allocations: 23.92 kB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.01386, allocations: 449.6 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.755e-05/0.01392, allocations: 75.98 kB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.01396, allocations: 9.484 kB / 281.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.01399, allocations: 16.5 kB / 281.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01399, allocations: 0 / 281.5 MB, free: 8.543 MB / 266.7 MB Notification: Performance of Templates: time 0.003499/0.01749, allocations: 1.861 MB / 283.3 MB, free: 6.707 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: 2.732979216845706]