Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001018/0.001018, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.000979/0.000979, allocations: 159.9 kB / 25.75 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8884/0.8884, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.386e-06/3.386e-06, allocations: 0 / 251.1 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.27e-05/4.609e-05, allocations: 2.312 kB / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003341/0.003387, allocations: 2.141 MB / 253.2 MB, free: 5.668 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000795/0.004182, allocations: 0.5735 MB / 253.8 MB, free: 5.086 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.004293, allocations: 7.938 kB / 253.8 MB, free: 5.078 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.004434, allocations: 31.72 kB / 253.8 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.735e-05/0.004511, allocations: 55.42 kB / 253.9 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.004671, allocations: 51.92 kB / 254 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.004861, allocations: 214.9 kB / 254.2 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.005, allocations: 45.78 kB / 254.2 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.005116, allocations: 123.7 kB / 254.3 MB, free: 4.566 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.005224, allocations: 55.86 kB / 254.4 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.005263, allocations: 20 kB / 254.4 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.005285, allocations: 16 kB / 254.4 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.005318, allocations: 35.84 kB / 254.5 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.005381, allocations: 67.83 kB / 254.5 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005573, allocations: 135.5 kB / 254.7 MB, free: 4.242 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005575, allocations: 0 / 254.7 MB, free: 4.242 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005577, allocations: 0 / 254.7 MB, free: 4.242 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005582, allocations: 4 kB / 254.7 MB, free: 4.238 MB / 234.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.0005148/0.006097, allocations: 0.4959 MB / 255.2 MB, free: 3.707 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.006134, allocations: 11.98 kB / 255.2 MB, free: 3.695 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.006192, allocations: 36.8 kB / 255.2 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.006377, allocations: 168.2 kB / 255.4 MB, free: 3.469 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.006391, allocations: 8.375 kB / 255.4 MB, free: 3.461 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.006424, allocations: 24.31 kB / 255.4 MB, free: 3.438 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.006628, allocations: 138.4 kB / 255.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.00664, allocations: 8.141 kB / 255.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.006654, allocations: 4.375 kB / 255.5 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.006666, allocations: 7.938 kB / 255.6 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.966e-05/0.006766, allocations: 55.95 kB / 255.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.007349, allocations: 0.5179 MB / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.007489, allocations: 91.05 kB / 256.2 MB, free: 2.559 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.007529, allocations: 27.69 kB / 256.2 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.007542, allocations: 4 kB / 256.2 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.007564, allocations: 41.39 kB / 256.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.007565, allocations: 0 / 256.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009234/0.008488, allocations: 0.5649 MB / 256.8 MB, free: 1.848 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.008522, allocations: 59.34 kB / 256.9 MB, free: 1.777 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.00864, allocations: 189.9 kB / 257.1 MB, free: 1.57 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.008657, allocations: 29.7 kB / 257.1 MB, free: 1.535 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.00874, allocations: 187.2 kB / 257.3 MB, free: 1.348 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.00878, allocations: 63.38 kB / 257.4 MB, free: 1.285 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.008832, allocations: 43.36 kB / 257.4 MB, free: 1.234 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.008965, allocations: 0.4923 MB / 257.9 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.009013, allocations: 23.98 kB / 257.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.009079, allocations: 66.66 kB / 258 MB, free: 0.625 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.009186, allocations: 106.4 kB / 258.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.009188, allocations: 4 kB / 258.1 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002006/0.009388, allocations: 169.1 kB / 258.3 MB, free: 336 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.009401, allocations: 4 kB / 258.3 MB, free: 332 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009407, allocations: 4 kB / 258.3 MB, free: 328 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.009547, allocations: 35.61 kB / 258.3 MB, free: 288 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.009653, allocations: 31.92 kB / 258.3 MB, free: 256 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009037/0.01056, allocations: 1.854 MB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.0106, allocations: 11.98 kB / 260.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01061, allocations: 4 kB / 260.2 MB, free: 14.26 MB / 250.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.46e-05/0.01069, allocations: 168.5 kB / 260.4 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.01072, allocations: 19.91 kB / 260.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.01074, allocations: 17.12 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.01074, allocations: 0 / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01075, allocations: 8.031 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01075, allocations: 3.984 kB / 260.4 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.0112, allocations: 0.5077 MB / 260.9 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.0112, allocations: 4 kB / 260.9 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.01131, allocations: 23.98 kB / 261 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-05/0.0114, allocations: 43.53 kB / 261 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01141, allocations: 0 / 261 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007885/0.0122, allocations: 1.807 MB / 262.8 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0122, allocations: 0 / 262.8 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.01248, allocations: 319.3 kB / 263.1 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.01249, allocations: 11.94 kB / 263.1 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.01251, allocations: 11.94 kB / 263.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.01256, allocations: 7.938 kB / 263.1 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.01261, allocations: 20.03 kB / 263.2 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01261, allocations: 7.938 kB / 263.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.946e-05/0.01267, allocations: 147.9 kB / 263.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01267, allocations: 0 / 263.3 MB, free: 10.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.01286, allocations: 40 kB / 263.4 MB, free: 10.89 MB / 250.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.203e-05/0.01295, allocations: 95.25 kB / 263.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.01325, allocations: 280 kB / 263.7 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01325, allocations: 4 kB / 263.7 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01339, allocations: 241.3 kB / 264 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01361, allocations: 23.98 kB / 264 MB, free: 10.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.01433, allocations: 439.1 kB / 264.4 MB, free: 9.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.01438, allocations: 75.98 kB / 264.5 MB, free: 9.656 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.192e-05/0.01442, allocations: 17.42 kB / 264.5 MB, free: 9.637 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.01445, allocations: 20.5 kB / 264.5 MB, free: 9.617 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01445, allocations: 0 / 264.5 MB, free: 9.617 MB / 250.7 MB Notification: Performance of Templates: time 0.003696/0.01815, allocations: 1.852 MB / 266.4 MB, free: 7.777 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6200706348754466]