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.001879/0.001879, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00231/0.00231, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001529/0.001529, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2149, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003353/0.2182, allocations: 2.028 MB / 434.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009731/0.2192, allocations: 0.557 MB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2193, allocations: 7.938 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.2194, allocations: 31.7 kB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2195, allocations: 47.52 kB / 435 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.2197, allocations: 55.92 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.22, allocations: 207 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2201, allocations: 53.78 kB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2202, allocations: 79.66 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.2203, allocations: 83.62 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.2204, allocations: 20 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.463e-05/0.2204, allocations: 16 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.2204, allocations: 35.91 kB / 435.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.2205, allocations: 75.66 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.2208, allocations: 217.8 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2208, allocations: 0 / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2208, allocations: 4 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2208, allocations: 0 / 435.8 MB, free: 3.207 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.0006804/0.2215, allocations: 397.5 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2215, allocations: 12.03 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.2216, allocations: 20.83 kB / 436.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2218, allocations: 162.2 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2219, allocations: 16.16 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.2219, allocations: 20.38 kB / 436.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.2222, allocations: 153.9 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2223, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2223, allocations: 8 kB / 436.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2223, allocations: 4 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.2225, allocations: 107.7 kB / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.2234, allocations: 490.8 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2236, allocations: 106.6 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.2237, allocations: 40.83 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2237, allocations: 4 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2238, allocations: 34.56 kB / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2238, allocations: 0 / 437.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001493/0.2252, allocations: 0.6411 MB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.2253, allocations: 59.41 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2254, allocations: 144.3 kB / 438.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2254, allocations: 29.7 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.2255, allocations: 132.4 kB / 438.4 MB, free: 476 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.2256, allocations: 79.28 kB / 438.4 MB, free: 396 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.2257, allocations: 33.72 kB / 438.5 MB, free: 356 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2258, allocations: 330.8 kB / 438.8 MB, free: 16 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2259, allocations: 43.92 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2261, allocations: 77.27 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.2263, allocations: 131.3 kB / 439 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2263, allocations: 4 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004026/0.2267, allocations: 202.2 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2267, allocations: 11.94 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2267, allocations: 4 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.2269, allocations: 40.83 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2271, allocations: 27.98 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.2284, allocations: 1.401 MB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.2285, allocations: 8.031 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2285, allocations: 4 kB / 440.7 MB, free: 13.93 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.0001308/0.2286, allocations: 133.7 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.2287, allocations: 19.88 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.2287, allocations: 17.12 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2287, allocations: 8.062 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2287, allocations: 192 / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2287, allocations: 0 / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/0.2296, allocations: 0.5093 MB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2296, allocations: 4 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.2297, allocations: 23.98 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.2298, allocations: 28.84 kB / 441.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.2299, allocations: 8 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.2311, allocations: 1.347 MB / 442.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2311, allocations: 3.938 kB / 442.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.2316, allocations: 335.1 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.2316, allocations: 15.88 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2316, allocations: 8.125 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2317, allocations: 8 kB / 443.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.2318, allocations: 15.97 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2318, allocations: 0 / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.2319, allocations: 109.7 kB / 443.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2319, allocations: 0 / 443.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.2322, allocations: 48 kB / 443.4 MB, free: 11.12 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.0001093/0.2323, allocations: 99.19 kB / 443.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.2328, allocations: 253.6 kB / 443.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2328, allocations: 0 / 443.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.2331, allocations: 186.5 kB / 443.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.2334, allocations: 23.92 kB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.2343, allocations: 0.5064 MB / 444.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2344, allocations: 112.2 kB / 444.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.2345, allocations: 17.42 kB / 444.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.2345, allocations: 15.44 kB / 444.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2345, allocations: 0 / 444.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Templates: time 0.005498/0.24, allocations: 2.053 MB / 446.6 MB, free: 7.824 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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.254477109003346]