Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001843/0.001843, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002264, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.495/1.495, allocations: 230.5 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.83 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2191, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003398/0.2225, allocations: 2.148 MB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.2235, allocations: 0.5921 MB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.2236, allocations: 4 kB / 434.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.2237, allocations: 31.66 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.2238, allocations: 47.56 kB / 434.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.224, allocations: 63.86 kB / 434.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.2243, allocations: 195.2 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2244, allocations: 57.64 kB / 435.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.2245, allocations: 79.66 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2247, allocations: 79.62 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.2247, allocations: 19.94 kB / 435.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.2247, allocations: 16 kB / 435.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.2248, allocations: 31.92 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.789e-05/0.2249, allocations: 99.52 kB / 435.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.2251, allocations: 213.1 kB / 435.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2251, allocations: 0 / 435.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2251, allocations: 4 kB / 435.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2251, allocations: 4 kB / 435.7 MB, free: 3.723 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.0007025/0.2258, allocations: 474.6 kB / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2259, allocations: 8.031 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.2259, allocations: 20.84 kB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.2262, allocations: 224 kB / 436.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2263, allocations: 20.16 kB / 436.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.2263, allocations: 20.38 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2266, allocations: 145.9 kB / 436.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.2266, allocations: 3.984 kB / 436.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2267, allocations: 12 kB / 436.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2267, allocations: 7.938 kB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.2269, allocations: 99.72 kB / 436.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009192/0.2278, allocations: 0.5928 MB / 437.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.2281, allocations: 106.6 kB / 437.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2282, allocations: 40.83 kB / 437.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2282, allocations: 4 kB / 437.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.2282, allocations: 38.56 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.2282, allocations: 0 / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001599/0.2298, allocations: 0.8043 MB / 438.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2298, allocations: 51.41 kB / 438.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.23, allocations: 162.9 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.23, allocations: 25.7 kB / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.2301, allocations: 136.4 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.2302, allocations: 67.42 kB / 438.7 MB, free: 412 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.2302, allocations: 37.7 kB / 438.8 MB, free: 368 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2304, allocations: 326.8 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2305, allocations: 51.91 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2306, allocations: 71.41 kB / 439.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.2309, allocations: 127.3 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2309, allocations: 4 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004172/0.2313, allocations: 217 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2313, allocations: 7.938 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2313, allocations: 7.984 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.2315, allocations: 40.83 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2317, allocations: 31.92 kB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2331, allocations: 1.528 MB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.2332, allocations: 15.97 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.2332, allocations: 4 kB / 441.2 MB, free: 13.77 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.0001211/0.2333, allocations: 125.8 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.2334, allocations: 19.89 kB / 441.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.2334, allocations: 21.19 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2334, allocations: 0 / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2334, allocations: 0 / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.2335, allocations: 97.05 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2335, allocations: 4 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2336, allocations: 7.938 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.2337, allocations: 11.98 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005893/0.2342, allocations: 289.5 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005072/0.2347, allocations: 402.2 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001155/0.2349, allocations: 47.97 kB / 442.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.837e-05/0.235, allocations: 123.2 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Backend: time 3e-07/0.235, allocations: 0 / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006831/0.2356, allocations: 288.1 kB / 442.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 0.0011/0.2367, allocations: 0.9569 MB / 443.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Templates: time 0.005553/0.2423, allocations: 2.072 MB / 445.6 MB, free: 9.219 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.224512394051999]