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.0009609/0.0009609, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001025/0.001025, allocations: 173.9 kB / 24.92 MB, free: 9.184 MB / 18.57 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 0.9918/0.9918, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.248/0.248, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.799e-05, allocations: 3.781 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005317/0.005345, allocations: 5.44 MB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.008671, allocations: 1.842 MB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.009318, allocations: 23.94 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.01038, allocations: 0.5446 MB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.01175, allocations: 0.7231 MB / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.01186, allocations: 27.91 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.0135, allocations: 1.45 MB / 333.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009049/0.01441, allocations: 0.767 MB / 334 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008245/0.01523, allocations: 0.7168 MB / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.01615, allocations: 0.6778 MB / 335.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.01636, allocations: 88 kB / 335.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.0169, allocations: 259.5 kB / 335.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.01733, allocations: 0.701 MB / 336.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.0177, allocations: 414.2 kB / 336.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.01919, allocations: 1.672 MB / 338.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.0192, allocations: 0 / 338.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.0192, allocations: 0 / 338.5 MB, free: 10.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.268e-05/0.01925, allocations: 0 / 338.5 MB, free: 10.31 MB / 314.7 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.001907/0.02116, allocations: 1.81 MB / 340.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.02119, allocations: 8.031 kB / 340.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.02294, allocations: 0.6367 MB / 341 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.0238, allocations: 0.6388 MB / 341.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.02385, allocations: 78.28 kB / 341.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.02397, allocations: 100.3 kB / 341.8 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.02615, allocations: 2.244 MB / 344 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.02618, allocations: 19.81 kB / 344.1 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.02629, allocations: 51.92 kB / 344.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008371/0.02712, allocations: 0.9627 MB / 345.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.02886, allocations: 1.103 MB / 346.2 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.03985, allocations: 15.49 MB / 361.7 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.04054, allocations: 312.7 kB / 362 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.04068, allocations: 86.66 kB / 362.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.04069, allocations: 8 kB / 362.1 MB, free: 1.617 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.04073, allocations: 42.55 kB / 362.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 3.506e-06/0.04073, allocations: 4 kB / 362.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=60): time 0.000484/0.04122, allocations: 299.8 kB / 362.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.04126, allocations: 110.8 kB / 362.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.04235, allocations: 1.512 MB / 364 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.04238, allocations: 29.7 kB / 364.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/0.0431, allocations: 1.645 MB / 365.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.04329, allocations: 270.1 kB / 366 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004663/0.04375, allocations: 0.6319 MB / 366.6 MB, free: 13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.04384, allocations: 341.9 kB / 366.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.0441, allocations: 226.5 kB / 367.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.04563, allocations: 2.522 MB / 369.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.04809, allocations: 3.235 MB / 372.9 MB, free: 4.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.189e-05/0.04813, allocations: 20 kB / 372.9 MB, free: 4.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.003052/0.05118, allocations: 2.241 MB / 375.2 MB, free: 2.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.05123, allocations: 43.94 kB / 375.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.466e-05/0.0513, allocations: 80 kB / 375.3 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.616e-05/0.05137, allocations: 104 kB / 375.4 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.05264, allocations: 0.7408 MB / 376.1 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.812e-05/0.05274, allocations: 156 kB / 376.3 MB, free: 1.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.05406, allocations: 472.5 kB / 376.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.05424, allocations: 196 kB / 376.9 MB, free: 380 kB / 346.7 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.0005241/0.05476, allocations: 390.7 kB / 377.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.05488, allocations: 83.91 kB / 377.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.05502, allocations: 154 kB / 377.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.05503, allocations: 8 kB / 377.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.05503, allocations: 4 kB / 377.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.05504, allocations: 0 / 377.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.05653, allocations: 1.155 MB / 378.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.05654, allocations: 4 kB / 378.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.05668, allocations: 51.92 kB / 378.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.05668, allocations: 4 kB / 378.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.0567, allocations: 4 kB / 378.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.0567, allocations: 7.938 kB / 378.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.0567, allocations: 0 / 378.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.05714, allocations: 0.6134 MB / 379.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.05729, allocations: 134.8 kB / 379.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.05736, allocations: 8 kB / 379.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.05758, allocations: 8 kB / 379.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.05761, allocations: 23.95 kB / 379.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.05764, allocations: 16 kB / 379.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004793/0.05812, allocations: 0.5698 MB / 380.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05812, allocations: 0 / 380.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001547/0.05967, allocations: 0.5105 MB / 380.7 MB, free: 12.57 MB / 362.7 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.0002215/0.05989, allocations: 104.2 kB / 380.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.06141, allocations: 1.252 MB / 382 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.074e-05/0.06149, allocations: 47.94 kB / 382.1 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.0616, allocations: 108.7 kB / 382.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.06216, allocations: 154.5 kB / 382.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.06563, allocations: 3.099 MB / 385.4 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.06607, allocations: 0.5309 MB / 386 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005664/0.06663, allocations: 247.6 kB / 386.2 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.06691, allocations: 263.3 kB / 386.5 MB, free: 6.691 MB / 362.7 MB Notification: Performance of SimCode: time 1.853e-06/0.06691, allocations: 4 kB / 386.5 MB, free: 6.688 MB / 362.7 MB Notification: Performance of Templates: time 0.02146/0.08838, allocations: 12.32 MB / 398.8 MB, free: 10.5 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.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: 3.269352739676833]