Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007818/0.0007818, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001865, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007375/0.0007375, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001811, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9476/0.9476, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08239/1.03, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 244.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.019e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002189/0.002209, allocations: 2.209 MB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.002912, allocations: 0.5801 MB / 247.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.003006, allocations: 4 kB / 247.5 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.003085, allocations: 35.66 kB / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.523e-05/0.00317, allocations: 59.48 kB / 247.6 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.003287, allocations: 55.86 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.003458, allocations: 203 kB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003575, allocations: 54.36 kB / 247.9 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.0037, allocations: 127.8 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.003798, allocations: 59.8 kB / 248.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.003825, allocations: 16 kB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.003846, allocations: 20 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.003875, allocations: 27.94 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.003917, allocations: 51.88 kB / 248.2 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.004078, allocations: 131.5 kB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.004088, allocations: 0 / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004088, allocations: 0 / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.004096, allocations: 0 / 248.3 MB, free: 10.61 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.0004538/0.00455, allocations: 419.7 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.004578, allocations: 12.03 kB / 248.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.00462, allocations: 28.91 kB / 248.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.00479, allocations: 149.5 kB / 248.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004803, allocations: 12.16 kB / 248.9 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.004833, allocations: 24.31 kB / 248.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.004986, allocations: 122.9 kB / 249.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.004995, allocations: 192 / 249.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.005008, allocations: 12.38 kB / 249.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005016, allocations: 7.938 kB / 249.1 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.005077, allocations: 47.69 kB / 249.1 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.005537, allocations: 386.8 kB / 249.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.005637, allocations: 70.47 kB / 249.6 MB, free: 9.262 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.005665, allocations: 24.8 kB / 249.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.005678, allocations: 0 / 249.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.005698, allocations: 34.56 kB / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 7.81e-07/0.005699, allocations: 0 / 249.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007877/0.006486, allocations: 0.5317 MB / 250.2 MB, free: 8.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.00651, allocations: 59.41 kB / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.006585, allocations: 145.6 kB / 250.4 MB, free: 8.387 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.006596, allocations: 25.7 kB / 250.4 MB, free: 8.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.006647, allocations: 144.3 kB / 250.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.006679, allocations: 67.42 kB / 250.6 MB, free: 8.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.006721, allocations: 37.69 kB / 250.6 MB, free: 8.102 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.006797, allocations: 322.8 kB / 250.9 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.00682, allocations: 16 kB / 251 MB, free: 7.762 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.006867, allocations: 73.16 kB / 251 MB, free: 7.676 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.944e-05/0.006947, allocations: 92.97 kB / 251.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006949, allocations: 8 kB / 251.1 MB, free: 7.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001552/0.007105, allocations: 138.3 kB / 251.3 MB, free: 7.414 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.007116, allocations: 4 kB / 251.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.00712, allocations: 4 kB / 251.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001054/0.007225, allocations: 32.89 kB / 251.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.007327, allocations: 43.98 kB / 251.3 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006815/0.008008, allocations: 1.261 MB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.008056, allocations: 8 kB / 252.6 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.008064, allocations: 4 kB / 252.6 MB, free: 5.969 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 7.093e-05/0.008135, allocations: 125.7 kB / 252.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.008157, allocations: 16.02 kB / 252.8 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.008181, allocations: 25.11 kB / 252.8 MB, free: 5.793 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.008183, allocations: 3.938 kB / 252.8 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008186, allocations: 4 kB / 252.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.008189, allocations: 0 / 252.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.008533, allocations: 374.4 kB / 253.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.008535, allocations: 0 / 253.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.008622, allocations: 31.98 kB / 253.2 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.008634, allocations: 15.91 kB / 253.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.35e-05/0.008697, allocations: 28.83 kB / 253.2 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.008705, allocations: 4 kB / 253.2 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005772/0.009282, allocations: 1.229 MB / 254.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009283, allocations: 0 / 254.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.009451, allocations: 243.9 kB / 254.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.009463, allocations: 8 kB / 254.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.009507, allocations: 7.984 kB / 254.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.009534, allocations: 7.984 kB / 254.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.009539, allocations: 4 kB / 254.7 MB, free: 3.707 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.707e-05/0.009566, allocations: 36.81 kB / 254.8 MB, free: 3.668 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009566, allocations: 3.938 kB / 254.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.009728, allocations: 40 kB / 254.8 MB, free: 3.625 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 8.032e-05/0.009808, allocations: 84.45 kB / 254.9 MB, free: 3.531 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.01004, allocations: 223.1 kB / 255.1 MB, free: 3.297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.599e-06/0.01005, allocations: 4 kB / 255.1 MB, free: 3.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.01022, allocations: 187.3 kB / 255.3 MB, free: 3.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01042, allocations: 198.6 kB / 255.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.01205, allocations: 412.7 kB / 255.9 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.0121, allocations: 75.98 kB / 256 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.01214, allocations: 17.7 kB / 256 MB, free: 2.324 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.01221, allocations: 71.36 kB / 256.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01221, allocations: 0 / 256.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of Templates: time 0.003857/0.01606, allocations: 2.067 MB / 258.1 MB, free: 228 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4776670187711716]