Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009779/0.0009779, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.0009608/0.0009608, allocations: 169.4 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8031/0.8031, allocations: 158.6 MB / 187.2 MB, free: 2.516 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.637e-05, allocations: 6.312 kB / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002528/0.002544, allocations: 2.144 MB / 253.2 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009321/0.003476, allocations: 0.5773 MB / 253.7 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.003635, allocations: 11.94 kB / 253.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.003795, allocations: 27.72 kB / 253.8 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.003909, allocations: 59.42 kB / 253.8 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.004122, allocations: 51.92 kB / 253.9 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.004344, allocations: 207 kB / 254.1 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.004487, allocations: 49.72 kB / 254.1 MB, free: 476 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.004609, allocations: 123.6 kB / 254.3 MB, free: 352 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004717, allocations: 55.86 kB / 254.3 MB, free: 296 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.004744, allocations: 24 kB / 254.3 MB, free: 272 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.316e-05/0.004768, allocations: 16 kB / 254.4 MB, free: 256 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.004797, allocations: 39.84 kB / 254.4 MB, free: 216 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.004853, allocations: 67.83 kB / 254.5 MB, free: 148 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.005035, allocations: 127.5 kB / 254.6 MB, free: 20 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.005039, allocations: 0 / 254.6 MB, free: 20 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00504, allocations: 4 kB / 254.6 MB, free: 16 kB / 234.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005045, allocations: 0 / 254.6 MB, free: 16 kB / 234.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.0005325/0.005577, allocations: 0.492 MB / 255.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.005618, allocations: 15.98 kB / 255.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.005681, allocations: 36.8 kB / 255.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.005888, allocations: 170.9 kB / 255.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.0059, allocations: 8.375 kB / 255.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.005937, allocations: 24.31 kB / 255.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.006154, allocations: 146.4 kB / 255.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006165, allocations: 192 / 255.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006179, allocations: 4.375 kB / 255.5 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.006188, allocations: 7.938 kB / 255.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.879e-05/0.006287, allocations: 59.95 kB / 255.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.0069, allocations: 0.5178 MB / 256.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.007051, allocations: 95.05 kB / 256.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.007091, allocations: 27.69 kB / 256.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.007107, allocations: 0 / 256.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.007128, allocations: 41.39 kB / 256.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.61e-07/0.007129, allocations: 0 / 256.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009174/0.008046, allocations: 0.56 MB / 256.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.008074, allocations: 59.34 kB / 256.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.008175, allocations: 189.9 kB / 257 MB, free: 13.35 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.008187, allocations: 25.7 kB / 257.1 MB, free: 13.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.008256, allocations: 183.2 kB / 257.2 MB, free: 13.13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.008293, allocations: 59.44 kB / 257.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.00834, allocations: 43.36 kB / 257.3 MB, free: 13.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.008463, allocations: 0.5001 MB / 257.8 MB, free: 12.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.008512, allocations: 19.98 kB / 257.9 MB, free: 12.49 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.008578, allocations: 74.59 kB / 257.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.008687, allocations: 105.6 kB / 258 MB, free: 12.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008688, allocations: 3.938 kB / 258 MB, free: 12.28 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002157/0.008904, allocations: 165 kB / 258.2 MB, free: 12.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.008918, allocations: 8.062 kB / 258.2 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.008924, allocations: 4 kB / 258.2 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.009071, allocations: 35.61 kB / 258.2 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.009177, allocations: 35.92 kB / 258.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.0101, allocations: 1.842 MB / 260.1 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.01015, allocations: 16.02 kB / 260.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.01016, allocations: 4 kB / 260.1 MB, free: 10.04 MB / 250.7 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 8.086e-05/0.01024, allocations: 164.5 kB / 260.3 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.01027, allocations: 19.91 kB / 260.3 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.01029, allocations: 21.12 kB / 260.3 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.01029, allocations: 0 / 260.3 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.0103, allocations: 4 kB / 260.3 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.0103, allocations: 3.984 kB / 260.3 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.01076, allocations: 0.5105 MB / 260.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01076, allocations: 4 kB / 260.9 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.01085, allocations: 27.98 kB / 260.9 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-05/0.01093, allocations: 35.59 kB / 260.9 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.01094, allocations: 7.938 kB / 260.9 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007753/0.01171, allocations: 1.807 MB / 262.7 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01172, allocations: 3.938 kB / 262.7 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.01198, allocations: 323.3 kB / 263.1 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.01199, allocations: 7.953 kB / 263.1 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.012, allocations: 4 kB / 263.1 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.01205, allocations: 7.938 kB / 263.1 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.0121, allocations: 23.91 kB / 263.1 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.0121, allocations: 4 kB / 263.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.359e-05/0.01216, allocations: 147.9 kB / 263.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01216, allocations: 0 / 263.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.01235, allocations: 44 kB / 263.3 MB, free: 6.668 MB / 250.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 9.029e-05/0.01244, allocations: 91.25 kB / 263.4 MB, free: 6.566 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.01276, allocations: 284.4 kB / 263.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01277, allocations: 0 / 263.7 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01291, allocations: 245.4 kB / 263.9 MB, free: 6.008 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01314, allocations: 23.98 kB / 263.9 MB, free: 5.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.01394, allocations: 441.2 kB / 264.4 MB, free: 5.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.322e-05/0.014, allocations: 75.98 kB / 264.4 MB, free: 5.434 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.01404, allocations: 13.48 kB / 264.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.01407, allocations: 16.5 kB / 264.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01407, allocations: 0 / 264.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of Templates: time 0.003735/0.01781, allocations: 1.858 MB / 266.3 MB, free: 3.555 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7753547662869096]