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.001289/0.001289, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.001428/0.001428, allocations: 222.1 kB / 24.5 MB, free: 3.922 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001564/0.001564, allocations: 51.92 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2172, allocations: 53.38 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003213/0.2204, allocations: 2.02 MB / 434.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.2214, allocations: 0.5532 MB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.574e-05/0.2215, allocations: 7.938 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.2216, allocations: 31.72 kB / 435 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.2217, allocations: 55.42 kB / 435 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.2219, allocations: 51.95 kB / 435.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.2221, allocations: 211 kB / 435.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2223, allocations: 53.78 kB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.812e-05/0.2224, allocations: 79.66 kB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2225, allocations: 83.62 kB / 435.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.2225, allocations: 16 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.605e-05/0.2226, allocations: 16 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.2226, allocations: 35.91 kB / 435.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.2227, allocations: 71.67 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.223, allocations: 216.8 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.223, allocations: 0 / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.223, allocations: 0 / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.223, allocations: 0 / 435.8 MB, free: 3.227 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.0006474/0.2236, allocations: 405.5 kB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2236, allocations: 8.031 kB / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.2237, allocations: 20.84 kB / 436.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.2239, allocations: 166.2 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.224, allocations: 28.12 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.224, allocations: 12.38 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2243, allocations: 161.9 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2244, allocations: 0 / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2244, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2244, allocations: 4 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.2246, allocations: 103.7 kB / 436.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.2254, allocations: 490.8 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.2257, allocations: 110.6 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.2258, allocations: 44.84 kB / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2258, allocations: 0 / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2258, allocations: 30.56 kB / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.2258, allocations: 0 / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001474/0.2273, allocations: 0.6431 MB / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2273, allocations: 55.41 kB / 438.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2274, allocations: 141.8 kB / 438.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2275, allocations: 29.7 kB / 438.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.2276, allocations: 132.5 kB / 438.4 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.2276, allocations: 67.38 kB / 438.4 MB, free: 416 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.2277, allocations: 37.7 kB / 438.5 MB, free: 372 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2278, allocations: 330.7 kB / 438.8 MB, free: 32 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2279, allocations: 40.06 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2281, allocations: 85.59 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.2283, allocations: 135.3 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2283, allocations: 0 / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004072/0.2287, allocations: 204.5 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2287, allocations: 14.58 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2287, allocations: 0 / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.2289, allocations: 36.84 kB / 439.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.2291, allocations: 32.05 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2304, allocations: 1.397 MB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.2305, allocations: 12.02 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2305, allocations: 8.188 kB / 440.7 MB, free: 13.94 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.000126/0.2306, allocations: 137.7 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.2307, allocations: 15.95 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.2307, allocations: 17.12 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2307, allocations: 7.984 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2307, allocations: 0 / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.2307, allocations: 15.91 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2307, allocations: 0 / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2309, allocations: 11.94 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.2309, allocations: 11.97 kB / 441 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005913/0.2315, allocations: 289.4 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004864/0.232, allocations: 394.5 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001117/0.2321, allocations: 54.94 kB / 441.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.535e-05/0.2322, allocations: 106 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Backend: time 3.01e-07/0.2322, allocations: 0 / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006487/0.2328, allocations: 281 kB / 442.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of SimCode: time 0.00107/0.2339, allocations: 0.9583 MB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Templates: time 0.005668/0.2395, allocations: 2.274 MB / 445.3 MB, free: 9.328 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: 4.305777800997021]