Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.001945/0.001945, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001562/0.001562, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2303/0.2303, allocations: 44.93 MB / 359.6 MB, free: 6.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 73.92 kB / 0.4942 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3536, allocations: 65.48 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007265/0.3608, allocations: 5.106 MB / 0.5632 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004023/0.3649, allocations: 1.733 MB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.3655, allocations: 23.94 kB / 0.5649 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.3669, allocations: 0.5212 MB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.3686, allocations: 0.6887 MB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.3687, allocations: 15.94 kB / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.3704, allocations: 1.425 MB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008497/0.3713, allocations: 0.7095 MB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.3718, allocations: 0.4902 MB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009345/0.3728, allocations: 0.7354 MB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.3729, allocations: 88 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.3735, allocations: 227.6 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006342/0.3741, allocations: 0.6736 MB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.3747, allocations: 0.566 MB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.3775, allocations: 2.656 MB / 0.5735 GB, free: 7.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3775, allocations: 4 kB / 0.5735 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3775, allocations: 0 / 0.5735 GB, free: 7.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.3775, allocations: 0 / 0.5735 GB, free: 7.746 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003272/0.3808, allocations: 1.927 MB / 0.5753 GB, free: 5.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3808, allocations: 12.03 kB / 0.5754 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.3859, allocations: 1.493 MB / 0.5768 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.3879, allocations: 0.7951 MB / 0.5776 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.388, allocations: 78.3 kB / 0.5777 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.3882, allocations: 103.8 kB / 0.5778 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006597/0.3948, allocations: 4.622 MB / 0.5823 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.3949, allocations: 19.81 kB / 0.5823 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.3951, allocations: 55.92 kB / 0.5824 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/0.3969, allocations: 1.107 MB / 0.5834 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006848/0.4038, allocations: 3.999 MB / 0.5873 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/0.425, allocations: 17.32 MB / 0.6043 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.4263, allocations: 0.6796 MB / 0.6049 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.4268, allocations: 320 kB / 0.6052 GB, free: 6.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4268, allocations: 8 kB / 0.6052 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4269, allocations: 38.89 kB / 0.6053 GB, free: 6.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.136e-06/0.4269, allocations: 0 / 0.6053 GB, free: 6.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001743/0.4286, allocations: 1.026 MB / 0.6063 GB, free: 4.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.4287, allocations: 110.8 kB / 0.6064 GB, free: 4.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/0.4317, allocations: 2.074 MB / 0.6084 GB, free: 2.781 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.4317, allocations: 37.69 kB / 0.6084 GB, free: 2.738 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.4331, allocations: 1.711 MB / 0.6101 GB, free: 1.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.4334, allocations: 270.1 kB / 0.6104 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009095/0.4343, allocations: 0.6829 MB / 0.611 GB, free: 52 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4345, allocations: 337.9 kB / 0.6114 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.4359, allocations: 0.8965 MB / 0.6122 GB, free: 14.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.4393, allocations: 3.166 MB / 0.6153 GB, free: 10.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.4449, allocations: 4.441 MB / 0.6197 GB, free: 4.922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.894e-05/0.4449, allocations: 20 kB / 0.6197 GB, free: 4.902 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006963/0.4519, allocations: 3.828 MB / 0.6234 GB, free: 1.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/0.4519, allocations: 43.98 kB / 0.6235 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.4521, allocations: 84.88 kB / 0.6235 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001094/0.4522, allocations: 104 kB / 0.6236 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.4543, allocations: 0.7602 MB / 0.6244 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/0.4545, allocations: 155.5 kB / 0.6245 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/0.4567, allocations: 480.4 kB / 0.625 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/0.457, allocations: 216 kB / 0.6252 GB, free: 15.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001686/0.4587, allocations: 1.101 MB / 0.6263 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.459, allocations: 155 kB / 0.6264 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.4593, allocations: 178.1 kB / 0.6266 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.4593, allocations: 8 kB / 0.6266 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4593, allocations: 4 kB / 0.6266 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.4593, allocations: 3.984 kB / 0.6266 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.4626, allocations: 1.576 MB / 0.6281 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4626, allocations: 3.984 kB / 0.6281 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.4629, allocations: 63.91 kB / 0.6282 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.4629, allocations: 0 / 0.6282 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.463, allocations: 8 kB / 0.6282 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.463, allocations: 4 kB / 0.6282 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.463, allocations: 3.938 kB / 0.6282 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.4641, allocations: 1.021 MB / 0.6292 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.4645, allocations: 143.1 kB / 0.6294 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4646, allocations: 11.98 kB / 0.6294 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.4651, allocations: 27.95 kB / 0.6294 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.4651, allocations: 31.84 kB / 0.6294 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.4652, allocations: 15.98 kB / 0.6294 GB, free: 10.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001688/0.4669, allocations: 1.182 MB / 0.6306 GB, free: 9.648 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4669, allocations: 0 / 0.6306 GB, free: 9.648 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002463/0.4693, allocations: 0.5144 MB / 0.6311 GB, free: 9.133 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003118/0.4697, allocations: 131 kB / 0.6312 GB, free: 8.996 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003323/0.473, allocations: 1.964 MB / 0.6331 GB, free: 7.055 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.473, allocations: 0 / 0.6331 GB, free: 7.055 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.4734, allocations: 299.7 kB / 0.6334 GB, free: 6.762 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.4744, allocations: 148.9 kB / 0.6336 GB, free: 6.617 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007042/0.4815, allocations: 3.959 MB / 0.6374 GB, free: 2.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.4831, allocations: 1.209 MB / 0.6386 GB, free: 1.355 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.4835, allocations: 135.4 kB / 0.6387 GB, free: 1.223 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4835, allocations: 3.938 kB / 0.6387 GB, free: 1.219 MB / 478.1 MB Notification: Performance of Templates: time 0.04669/0.5302, allocations: 25.6 MB / 0.6637 GB, free: 7.688 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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: 9.914233821909875]