Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001491/0.001491, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001303/0.001303, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9245/0.9245, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1749/0.1749, allocations: 34.26 MB / 296.8 MB, free: 13.96 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 379.3 MB, free: 23.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.447e-05, allocations: 6.25 kB / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00526/0.005284, allocations: 5.433 MB / 384.7 MB, free: 18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.008289, allocations: 1.775 MB / 386.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.008691, allocations: 23.94 kB / 386.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.00956, allocations: 0.5446 MB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009156/0.01048, allocations: 0.7231 MB / 387.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.122e-05/0.01056, allocations: 19.92 kB / 387.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009012/0.01146, allocations: 1.463 MB / 389.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.01194, allocations: 0.7267 MB / 390 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.01239, allocations: 0.7207 MB / 390.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.01288, allocations: 0.7168 MB / 391.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.01297, allocations: 88 kB / 391.5 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.01331, allocations: 259.6 kB / 391.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.01362, allocations: 0.6932 MB / 392.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.01384, allocations: 414.3 kB / 392.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009641/0.0148, allocations: 1.68 MB / 394.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.01481, allocations: 4 kB / 394.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.01481, allocations: 0 / 394.5 MB, free: 8.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.01483, allocations: 0 / 394.5 MB, free: 8.117 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.001398/0.01623, allocations: 2.164 MB / 396.7 MB, free: 5.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.01626, allocations: 8.031 kB / 396.7 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.01807, allocations: 0.8228 MB / 397.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.01889, allocations: 0.7157 MB / 398.2 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.01893, allocations: 78.28 kB / 398.3 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.01904, allocations: 108.2 kB / 398.4 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.02069, allocations: 2.567 MB / 401 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.02071, allocations: 23.81 kB / 401 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.02081, allocations: 55.91 kB / 401.1 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006973/0.02151, allocations: 0.9589 MB / 402 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.02327, allocations: 1.095 MB / 403.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.03543, allocations: 22.11 MB / 425.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.03587, allocations: 305.7 kB / 425.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.03598, allocations: 107 kB / 425.6 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.03599, allocations: 4 kB / 425.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.03602, allocations: 49.27 kB / 425.7 MB, free: 7.473 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 3.556e-06/0.03602, allocations: 0 / 425.7 MB, free: 7.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=60): time 0.0006166/0.03664, allocations: 442.9 kB / 426.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.03669, allocations: 110.8 kB / 426.2 MB, free: 6.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.03824, allocations: 1.953 MB / 428.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.03827, allocations: 29.7 kB / 428.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009827/0.03925, allocations: 1.819 MB / 430 MB, free: 3.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.03948, allocations: 286.1 kB / 430.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005906/0.04007, allocations: 0.7603 MB / 431.1 MB, free: 2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.04021, allocations: 0.5081 MB / 431.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.04052, allocations: 234.4 kB / 431.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.04259, allocations: 3.629 MB / 435.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.04596, allocations: 4.324 MB / 439.8 MB, free: 6.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.531e-05/0.04603, allocations: 24 kB / 439.8 MB, free: 6.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00334/0.04937, allocations: 2.649 MB / 442.4 MB, free: 3.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.04942, allocations: 43.94 kB / 442.5 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.433e-05/0.0495, allocations: 80 kB / 442.6 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.884e-05/0.04957, allocations: 108.1 kB / 442.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.05078, allocations: 0.7485 MB / 443.4 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.579e-05/0.05088, allocations: 159.4 kB / 443.6 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.05227, allocations: 452.6 kB / 444 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.05245, allocations: 196 kB / 444.2 MB, free: 1.73 MB / 362.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.0005629/0.05301, allocations: 434.6 kB / 444.6 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.0532, allocations: 174.8 kB / 444.8 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.05334, allocations: 150 kB / 444.9 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.05336, allocations: 16 kB / 445 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.05336, allocations: 3.938 kB / 445 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.05337, allocations: 0 / 445 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.055, allocations: 1.213 MB / 446.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.055, allocations: 3.984 kB / 446.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.05514, allocations: 47.92 kB / 446.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.05515, allocations: 4 kB / 446.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.05517, allocations: 15.97 kB / 446.2 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.05517, allocations: 0 / 446.2 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.05517, allocations: 4 kB / 446.2 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.05568, allocations: 0.7861 MB / 447 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.05582, allocations: 146.8 kB / 447.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.05594, allocations: 11.98 kB / 447.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.05618, allocations: 11.98 kB / 447.2 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.05622, allocations: 15.97 kB / 447.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.05625, allocations: 19.98 kB / 447.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000627/0.05688, allocations: 0.7636 MB / 448 MB, free: 13.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.05688, allocations: 0 / 448 MB, free: 13.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001641/0.05852, allocations: 0.5105 MB / 448.5 MB, free: 13.34 MB / 378.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.0002127/0.05873, allocations: 135 kB / 448.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.06024, allocations: 1.291 MB / 449.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.06024, allocations: 0 / 449.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.06038, allocations: 132.4 kB / 450.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.06099, allocations: 151.1 kB / 450.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.0646, allocations: 3.008 MB / 453.2 MB, free: 8.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.06504, allocations: 0.5424 MB / 453.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.06559, allocations: 243.8 kB / 454 MB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.06594, allocations: 282.2 kB / 454.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.06594, allocations: 0 / 454.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of Templates: time 0.02318/0.08911, allocations: 12.57 MB / 466.8 MB, free: 11.14 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6850244272500277]