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.002121/0.002121, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002588/0.002588, allocations: 208.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001629/0.001629, allocations: 51.92 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.227, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003587/0.2306, allocations: 2.04 MB / 433.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2317, allocations: 0.5532 MB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.2318, allocations: 4 kB / 434.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.2319, allocations: 31.66 kB / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.232, allocations: 55.5 kB / 434.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.2322, allocations: 55.88 kB / 434.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.2325, allocations: 207 kB / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2326, allocations: 45.78 kB / 434.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2327, allocations: 75.78 kB / 434.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.2329, allocations: 67.62 kB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.2329, allocations: 16 kB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.2329, allocations: 16 kB / 434.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.233, allocations: 47.84 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.2331, allocations: 75.66 kB / 434.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.2333, allocations: 217.3 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2333, allocations: 0 / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2333, allocations: 0 / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2333, allocations: 0 / 435.1 MB, free: 3.238 MB / 334.1 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.0006681/0.234, allocations: 405.5 kB / 435.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.234, allocations: 8.031 kB / 435.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.2341, allocations: 24.84 kB / 435.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2344, allocations: 158.2 kB / 435.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2344, allocations: 16.16 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.2345, allocations: 20.38 kB / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.2348, allocations: 149.9 kB / 435.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2348, allocations: 0 / 435.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.2348, allocations: 12 kB / 435.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2348, allocations: 4 kB / 435.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.2351, allocations: 103.7 kB / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.236, allocations: 494.8 kB / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.2362, allocations: 106.6 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.2363, allocations: 40.84 kB / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2363, allocations: 0 / 436.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2364, allocations: 34.56 kB / 436.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.496e-06/0.2364, allocations: 7.922 kB / 436.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001549/0.2379, allocations: 0.6402 MB / 437.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.238, allocations: 55.34 kB / 437.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2381, allocations: 141.8 kB / 437.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.2381, allocations: 29.7 kB / 437.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.2382, allocations: 132.5 kB / 437.6 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.2383, allocations: 71.36 kB / 437.7 MB, free: 428 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.2383, allocations: 41.7 kB / 437.7 MB, free: 380 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2385, allocations: 326.8 kB / 438 MB, free: 44 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.2386, allocations: 43.92 kB / 438.1 MB, free: 0 / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.2387, allocations: 75.41 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.2389, allocations: 133.6 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2389, allocations: 0 / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004174/0.2394, allocations: 206.2 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2394, allocations: 7.938 kB / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2394, allocations: 0 / 438.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.2396, allocations: 40.83 kB / 438.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2397, allocations: 35.92 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.2411, allocations: 1.398 MB / 440 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.2411, allocations: 8.031 kB / 440 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2412, allocations: 8 kB / 440 MB, free: 13.96 MB / 350.1 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.0001311/0.2413, allocations: 133.8 kB / 440.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.2413, allocations: 11.89 kB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.2414, allocations: 21.12 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2414, allocations: 0 / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2414, allocations: 4 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2414, allocations: 0 / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.2422, allocations: 0.5121 MB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2422, allocations: 0 / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.2424, allocations: 32.11 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.2425, allocations: 32.83 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2425, allocations: 8 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.2437, allocations: 1.343 MB / 442.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2438, allocations: 3.938 kB / 442.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.2443, allocations: 334.8 kB / 442.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.2443, allocations: 19.81 kB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2443, allocations: 4 kB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2444, allocations: 11.98 kB / 442.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.2445, allocations: 7.984 kB / 442.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.2445, allocations: 4 kB / 442.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.724e-05/0.2446, allocations: 111.4 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2446, allocations: 0 / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.2449, allocations: 44 kB / 442.6 MB, free: 11.15 MB / 350.1 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.0001275/0.245, allocations: 102.2 kB / 442.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005176/0.2456, allocations: 242.5 kB / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2456, allocations: 0 / 442.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.2458, allocations: 197.5 kB / 443.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.2462, allocations: 31.38 kB / 443.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009235/0.2471, allocations: 0.4959 MB / 443.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2472, allocations: 120.2 kB / 443.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.2473, allocations: 17.42 kB / 443.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.2474, allocations: 19.38 kB / 443.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2474, allocations: 0 / 443.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Templates: time 0.005735/0.2531, allocations: 1.982 MB / 445.8 MB, free: 7.918 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.473587352782488]