Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008827/0.0008827, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000922/0.000922, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9739/0.9739, allocations: 177 MB / 205.2 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.404e-05, allocations: 2.312 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002767/0.002781, allocations: 2.189 MB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000844/0.003625, allocations: 0.5802 MB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.003724, allocations: 7.938 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.003848, allocations: 31.66 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.003945, allocations: 55.5 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.004087, allocations: 47.94 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.004281, allocations: 211 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.004397, allocations: 58.36 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.004524, allocations: 123.6 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.004632, allocations: 51.88 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.004658, allocations: 20 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.004682, allocations: 16 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.004714, allocations: 39.83 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.004772, allocations: 67.84 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.004943, allocations: 135.5 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004944, allocations: 0 / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004945, allocations: 0 / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004948, allocations: 0 / 277 MB, free: 13.38 MB / 266.7 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.0004136/0.005362, allocations: 376.1 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.00539, allocations: 15.92 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.00544, allocations: 28.91 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.005615, allocations: 157.5 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.005629, allocations: 16.16 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.005657, allocations: 20.33 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.00582, allocations: 118.9 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.005832, allocations: 4.188 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.005843, allocations: 4.375 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005851, allocations: 7.938 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.005926, allocations: 51.53 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.006423, allocations: 386.8 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.006535, allocations: 66.53 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.006567, allocations: 28.73 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.00658, allocations: 3.984 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.0066, allocations: 34.56 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.006601, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008276/0.007429, allocations: 0.5223 MB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.007455, allocations: 59.33 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.007537, allocations: 143.7 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.007551, allocations: 33.7 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.007604, allocations: 132.4 kB / 279.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.007642, allocations: 63.42 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.007694, allocations: 45.69 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.007773, allocations: 326.8 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.007801, allocations: 19.92 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-05/0.007855, allocations: 61.12 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.007956, allocations: 89.03 kB / 279.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007957, allocations: 0 / 279.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001857/0.008143, allocations: 157 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.008155, allocations: 7.984 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.008159, allocations: 0 / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.008273, allocations: 28.84 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.008389, allocations: 39.92 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/0.009119, allocations: 1.257 MB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.009172, allocations: 8 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.009181, allocations: 4 kB / 281.3 MB, free: 8.773 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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 7.321e-05/0.009255, allocations: 129.8 kB / 281.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.009287, allocations: 8 kB / 281.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.009313, allocations: 25.11 kB / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.009315, allocations: 7.969 kB / 281.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.009319, allocations: 4 kB / 281.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.009321, allocations: 0 / 281.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.009725, allocations: 366.5 kB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.009727, allocations: 0 / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-05/0.009826, allocations: 35.92 kB / 281.9 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.945e-05/0.009895, allocations: 24.84 kB / 281.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.009905, allocations: 11.98 kB / 281.9 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/0.01054, allocations: 1.225 MB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01054, allocations: 0 / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.01074, allocations: 235.5 kB / 283.3 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.01075, allocations: 11.91 kB / 283.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.01077, allocations: 12.06 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.01083, allocations: 4 kB / 283.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.01086, allocations: 11.97 kB / 283.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.01087, allocations: 4 kB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.0109, allocations: 40.19 kB / 283.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0109, allocations: 0 / 283.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002374/0.01114, allocations: 43.94 kB / 283.5 MB, free: 6.445 MB / 266.7 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 7.32e-05/0.01121, allocations: 84.36 kB / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01146, allocations: 223.1 kB / 283.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01146, allocations: 4 kB / 283.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.01159, allocations: 171.3 kB / 283.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.01178, allocations: 23.98 kB / 284 MB, free: 5.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.01246, allocations: 417.2 kB / 284.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.01251, allocations: 75.98 kB / 284.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.01256, allocations: 17.48 kB / 284.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.01264, allocations: 75.36 kB / 284.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01264, allocations: 0 / 284.5 MB, free: 5.289 MB / 266.7 MB Notification: Performance of Templates: time 0.004005/0.01664, allocations: 1.976 MB / 286.5 MB, free: 3.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6631417591124773]