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.00096/0.00096, allocations: 80.62 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.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.0009283/0.0009283, allocations: 149.2 kB / 25.59 MB, free: 8.938 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.9299/0.9299, allocations: 173.4 MB / 202.3 MB, free: 8.258 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.784e-06/1.784e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.686e-05, allocations: 8.344 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002611/0.002637, allocations: 2.122 MB / 271.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.003443, allocations: 0.5302 MB / 271.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.003575, allocations: 8.875 kB / 271.9 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.003731, allocations: 27.72 kB / 271.9 MB, free: 7.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.003826, allocations: 60.83 kB / 271.9 MB, free: 7.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.003992, allocations: 56.45 kB / 272 MB, free: 6.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.004176, allocations: 207 kB / 272.2 MB, free: 6.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.004301, allocations: 46.78 kB / 272.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.004416, allocations: 119.7 kB / 272.4 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.00452, allocations: 58.23 kB / 272.4 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.004545, allocations: 16 kB / 272.4 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.076e-05/0.004565, allocations: 16 kB / 272.4 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.0046, allocations: 43.84 kB / 272.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.004651, allocations: 63.83 kB / 272.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.00483, allocations: 135.4 kB / 272.7 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004832, allocations: 0 / 272.7 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004833, allocations: 0.9688 kB / 272.7 MB, free: 6.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.004838, allocations: 0 / 272.7 MB, free: 6.289 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.000466/0.005304, allocations: 0.5003 MB / 273.2 MB, free: 5.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.005333, allocations: 8.031 kB / 273.2 MB, free: 5.746 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.005381, allocations: 32.8 kB / 273.2 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.005555, allocations: 172.3 kB / 273.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.005569, allocations: 12.38 kB / 273.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.005594, allocations: 20.36 kB / 273.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.005756, allocations: 122.5 kB / 273.5 MB, free: 5.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.005768, allocations: 4.125 kB / 273.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.005782, allocations: 12.38 kB / 273.6 MB, free: 5.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.005789, allocations: 7.938 kB / 273.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.005853, allocations: 43.94 kB / 273.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.006333, allocations: 498.7 kB / 274.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.006451, allocations: 83.05 kB / 274.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.006481, allocations: 27.67 kB / 274.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.006493, allocations: 3.984 kB / 274.2 MB, free: 4.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.006515, allocations: 41.33 kB / 274.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.006516, allocations: 4 kB / 274.3 MB, free: 4.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.000722/0.007238, allocations: 0.517 MB / 274.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.007265, allocations: 55.41 kB / 274.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.007359, allocations: 203.9 kB / 275 MB, free: 3.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.007372, allocations: 29.7 kB / 275.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.007451, allocations: 187.1 kB / 275.2 MB, free: 3.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.007485, allocations: 67.42 kB / 275.3 MB, free: 3.441 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.007532, allocations: 47.34 kB / 275.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.007645, allocations: 0.4923 MB / 275.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.00768, allocations: 27.92 kB / 275.9 MB, free: 2.855 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.00774, allocations: 85.95 kB / 276 MB, free: 2.746 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.579e-05/0.007835, allocations: 113 kB / 276.1 MB, free: 2.613 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007837, allocations: 0 / 276.1 MB, free: 2.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001917/0.008028, allocations: 176.9 kB / 276.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.008042, allocations: 4 kB / 276.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.008047, allocations: 4 kB / 276.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.008193, allocations: 35.66 kB / 276.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.008312, allocations: 31.98 kB / 276.3 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.009372, allocations: 1.819 MB / 278.1 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.009438, allocations: 7.984 kB / 278.1 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.009452, allocations: 8 kB / 278.1 MB, free: 408 kB / 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 9.805e-05/0.00955, allocations: 164.6 kB / 278.3 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.009585, allocations: 15.95 kB / 278.3 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.009612, allocations: 17.12 kB / 278.3 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.009615, allocations: 3.938 kB / 278.3 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.00962, allocations: 8.031 kB / 278.3 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.009625, allocations: 8.016 kB / 278.4 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.01017, allocations: 480.5 kB / 278.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01017, allocations: 192 / 278.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.01027, allocations: 35.98 kB / 278.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.93e-05/0.01036, allocations: 27.61 kB / 278.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.01038, allocations: 11.98 kB / 278.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008584/0.01123, allocations: 1.773 MB / 280.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01123, allocations: 0 / 280.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.01151, allocations: 314 kB / 281 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.01152, allocations: 15.89 kB / 281 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.01154, allocations: 7.938 kB / 281 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.01161, allocations: 8.062 kB / 281 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01165, allocations: 11.97 kB / 281 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.01166, allocations: 8 kB / 281 MB, free: 13.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.01172, allocations: 141.4 kB / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01172, allocations: 0 / 281.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.012, allocations: 51.94 kB / 281.2 MB, free: 13.12 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 0.000106/0.01211, allocations: 99.38 kB / 281.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.01244, allocations: 289.4 kB / 281.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01244, allocations: 0 / 281.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.0126, allocations: 229.4 kB / 281.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.0129, allocations: 27.25 kB / 281.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/0.0137, allocations: 438.5 kB / 282.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.629e-05/0.01375, allocations: 75.98 kB / 282.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.01381, allocations: 17.48 kB / 282.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.01389, allocations: 94.19 kB / 282.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01389, allocations: 0 / 282.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.004612/0.01851, allocations: 2.052 MB / 284.5 MB, free: 9.77 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.707913164049387]