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.001551/0.001551, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001731/0.001731, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001439/0.001439, allocations: 55.92 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2193, allocations: 53.36 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003479/0.2228, allocations: 2.149 MB / 434.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2238, allocations: 0.5843 MB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.2239, allocations: 4 kB / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.224, allocations: 35.66 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2241, allocations: 51.48 kB / 435.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2243, allocations: 63.88 kB / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.2245, allocations: 207 kB / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.2247, allocations: 49.78 kB / 435.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.2248, allocations: 71.78 kB / 435.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.2249, allocations: 83.62 kB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.225, allocations: 16 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.225, allocations: 16 kB / 435.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.225, allocations: 47.78 kB / 435.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.068e-05/0.2251, allocations: 87.59 kB / 435.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.2254, allocations: 217.4 kB / 436 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2254, allocations: 4 kB / 436 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2254, allocations: 0 / 436 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2254, allocations: 0 / 436 MB, free: 3.281 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.0006791/0.2261, allocations: 401.5 kB / 436.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2261, allocations: 8.031 kB / 436.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.2262, allocations: 16.84 kB / 436.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.2264, allocations: 174.2 kB / 436.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2265, allocations: 12.16 kB / 436.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.2265, allocations: 20.38 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.2268, allocations: 149.9 kB / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2268, allocations: 7.938 kB / 436.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2269, allocations: 8 kB / 436.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2269, allocations: 4 kB / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.2271, allocations: 103.7 kB / 436.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008851/0.228, allocations: 0.549 MB / 437.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2282, allocations: 110.6 kB / 437.6 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.2283, allocations: 40.84 kB / 437.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2283, allocations: 3.938 kB / 437.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2283, allocations: 38.56 kB / 437.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.2283, allocations: 0 / 437.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001477/0.2298, allocations: 0.6575 MB / 438.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2299, allocations: 51.41 kB / 438.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.23, allocations: 166.1 kB / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.23, allocations: 25.7 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.2301, allocations: 128.4 kB / 438.7 MB, free: 436 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.2302, allocations: 71.41 kB / 438.8 MB, free: 364 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.2303, allocations: 37.66 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2304, allocations: 334.8 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2305, allocations: 43.98 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2307, allocations: 77.03 kB / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.2309, allocations: 131.3 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2309, allocations: 7.938 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003817/0.2313, allocations: 198.3 kB / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2313, allocations: 4 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2313, allocations: 4 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.2315, allocations: 44.77 kB / 439.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2316, allocations: 28.05 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.233, allocations: 1.428 MB / 441.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.2331, allocations: 19.89 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2331, allocations: 4 kB / 441.1 MB, free: 13.85 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.0001263/0.2332, allocations: 129.8 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2332, allocations: 15.91 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.2333, allocations: 21.17 kB / 441.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2333, allocations: 7.984 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2333, allocations: 0 / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2333, allocations: 11.98 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.2341, allocations: 0.5479 MB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2341, allocations: 0 / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2343, allocations: 31.92 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.2344, allocations: 32.83 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2344, allocations: 8 kB / 441.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.2356, allocations: 1.373 MB / 443.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2356, allocations: 0 / 443.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.2361, allocations: 342.8 kB / 443.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.2362, allocations: 7.984 kB / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.2362, allocations: 8 kB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.2363, allocations: 4.125 kB / 443.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.2363, allocations: 19.97 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2363, allocations: 4 kB / 443.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.882e-05/0.2364, allocations: 119.2 kB / 443.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2364, allocations: 0 / 443.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.2367, allocations: 48 kB / 443.8 MB, free: 10.92 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.0001068/0.2368, allocations: 99.31 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004973/0.2373, allocations: 262.4 kB / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2373, allocations: 0 / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.2376, allocations: 178.7 kB / 444.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2379, allocations: 34.86 kB / 444.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.2389, allocations: 0.5329 MB / 444.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.2393, allocations: 0.7281 MB / 445.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.2393, allocations: 19.44 kB / 445.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2393, allocations: 0 / 445.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of Templates: time 0.005079/0.2444, allocations: 2.901 MB / 448.6 MB, free: 6.086 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/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: 7.327946622855961]