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.001614/0.001614, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.001674/0.001674, allocations: 166.4 kB / 25.6 MB, free: 8.613 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.9918/0.9918, allocations: 158.6 MB / 187.5 MB, free: 2.805 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 1.613e-06/1.613e-06, allocations: 0 / 251.4 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.825e-05, allocations: 2.312 kB / 251.4 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002758/0.002786, allocations: 2.13 MB / 253.6 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003936, allocations: 0.5658 MB / 254.1 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.004151, allocations: 7.938 kB / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.004384, allocations: 35.59 kB / 254.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.004528, allocations: 59.55 kB / 254.2 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.004726, allocations: 55.86 kB / 254.3 MB, free: 4.391 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.004927, allocations: 203 kB / 254.5 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.005067, allocations: 49.7 kB / 254.5 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.005209, allocations: 123.7 kB / 254.7 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005319, allocations: 59.8 kB / 254.7 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.005346, allocations: 16 kB / 254.7 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.005368, allocations: 16 kB / 254.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.005401, allocations: 39.84 kB / 254.8 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.005452, allocations: 63.89 kB / 254.9 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.005626, allocations: 135.5 kB / 255 MB, free: 3.699 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005628, allocations: 0 / 255 MB, free: 3.699 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00563, allocations: 0 / 255 MB, free: 3.699 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005634, allocations: 0 / 255 MB, free: 3.699 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.0004771/0.006111, allocations: 0.492 MB / 255.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.006149, allocations: 15.92 kB / 255.5 MB, free: 3.156 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.006199, allocations: 32.8 kB / 255.5 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.006423, allocations: 184.2 kB / 255.7 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.006439, allocations: 12.38 kB / 255.7 MB, free: 2.906 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.006472, allocations: 20.33 kB / 255.7 MB, free: 2.887 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.006692, allocations: 126.4 kB / 255.9 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.006705, allocations: 192 / 255.9 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.00672, allocations: 8.375 kB / 255.9 MB, free: 2.746 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.00673, allocations: 7.938 kB / 255.9 MB, free: 2.738 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.006806, allocations: 43.89 kB / 255.9 MB, free: 2.695 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.007497, allocations: 0.495 MB / 256.4 MB, free: 2.168 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.007623, allocations: 90.73 kB / 256.5 MB, free: 2.07 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.007655, allocations: 27.67 kB / 256.5 MB, free: 2.039 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.007677, allocations: 4 kB / 256.5 MB, free: 2.035 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.007699, allocations: 33.39 kB / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.007701, allocations: 0 / 256.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007197/0.00842, allocations: 0.5185 MB / 257.1 MB, free: 1.406 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.008443, allocations: 55.41 kB / 257.1 MB, free: 1.34 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.008533, allocations: 202.3 kB / 257.3 MB, free: 1.125 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.008546, allocations: 29.7 kB / 257.4 MB, free: 1.09 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.008613, allocations: 183.1 kB / 257.5 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.008648, allocations: 67.45 kB / 257.6 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.008696, allocations: 47.31 kB / 257.7 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.008833, allocations: 0.4923 MB / 258.2 MB, free: 288 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.457e-05/0.008867, allocations: 19.97 kB / 258.2 MB, free: 268 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.008929, allocations: 82.08 kB / 258.3 MB, free: 160 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.009043, allocations: 117.3 kB / 258.4 MB, free: 20 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.009049, allocations: 3.984 kB / 258.4 MB, free: 16 kB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002828/0.009332, allocations: 165 kB / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.009352, allocations: 8 kB / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.009358, allocations: 0 / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.009519, allocations: 43.8 kB / 258.6 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.009623, allocations: 35.91 kB / 258.6 MB, free: 15.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.01064, allocations: 1.811 MB / 260.4 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.0107, allocations: 8 kB / 260.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01071, allocations: 8 kB / 260.4 MB, free: 13.81 MB / 250.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 0.0001035/0.01082, allocations: 172.5 kB / 260.6 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.01085, allocations: 23.91 kB / 260.6 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.01087, allocations: 13.12 kB / 260.6 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01088, allocations: 7.938 kB / 260.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01088, allocations: 0 / 260.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01089, allocations: 0 / 260.7 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.01133, allocations: 488.5 kB / 261.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01133, allocations: 7.938 kB / 261.1 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.849e-05/0.01141, allocations: 23.98 kB / 261.2 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.078e-05/0.01149, allocations: 35.7 kB / 261.2 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.0115, allocations: 0 / 261.2 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007752/0.01228, allocations: 1.776 MB / 263 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.01228, allocations: 0 / 263 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.01254, allocations: 319.3 kB / 263.3 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.01256, allocations: 15.89 kB / 263.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.01257, allocations: 4 kB / 263.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.01262, allocations: 8 kB / 263.3 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.01266, allocations: 11.97 kB / 263.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01267, allocations: 4 kB / 263.3 MB, free: 10.72 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.01272, allocations: 143.3 kB / 263.5 MB, free: 10.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01272, allocations: 0 / 263.5 MB, free: 10.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.01294, allocations: 44 kB / 263.5 MB, free: 10.54 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 0.0001073/0.01305, allocations: 111.1 kB / 263.6 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.01333, allocations: 268.5 kB / 263.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01333, allocations: 0 / 263.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.01347, allocations: 252.3 kB / 264.1 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01369, allocations: 24.42 kB / 264.2 MB, free: 9.848 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.01439, allocations: 434.5 kB / 264.6 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.01444, allocations: 79.98 kB / 264.7 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.01448, allocations: 13.48 kB / 264.7 MB, free: 9.281 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.01455, allocations: 94.19 kB / 264.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01455, allocations: 0 / 264.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of Templates: time 0.003715/0.01827, allocations: 2.002 MB / 266.8 MB, free: 7.199 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.842571415938437]