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.001531/0.001531, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001207/0.001207, allocations: 170 kB / 24.82 MB, free: 9.273 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3006/0.3006, allocations: 32.81 MB / 294.6 MB, free: 1.242 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 2.385e-06/2.385e-06, allocations: 0 / 376.4 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.671e-05/6.909e-05, allocations: 6.25 kB / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005747/0.005816, allocations: 5.453 MB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.009365, allocations: 1.775 MB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003942/0.009759, allocations: 19.94 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.01087, allocations: 0.5563 MB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.01213, allocations: 0.7115 MB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.249e-05/0.01221, allocations: 15.92 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.01364, allocations: 1.466 MB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007734/0.01441, allocations: 0.7267 MB / 387.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007614/0.01517, allocations: 0.7129 MB / 387.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.016, allocations: 0.7168 MB / 388.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.01615, allocations: 88 kB / 388.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.0166, allocations: 263.6 kB / 389 MB, free: 7.863 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005418/0.01714, allocations: 0.7009 MB / 389.7 MB, free: 7.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.01752, allocations: 406.3 kB / 390.1 MB, free: 6.762 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.01914, allocations: 1.676 MB / 391.7 MB, free: 5.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01915, allocations: 0 / 391.7 MB, free: 5.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01915, allocations: 0 / 391.7 MB, free: 5.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.01916, allocations: 0 / 391.7 MB, free: 5.078 MB / 362.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.00231/0.02147, allocations: 2.168 MB / 393.9 MB, free: 2.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.02152, allocations: 8.031 kB / 393.9 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/0.024, allocations: 0.8189 MB / 394.7 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008822/0.02488, allocations: 0.7235 MB / 395.4 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.02495, allocations: 74.28 kB / 395.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.02511, allocations: 108.2 kB / 395.6 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.0277, allocations: 2.567 MB / 398.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.02773, allocations: 23.8 kB / 398.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.02786, allocations: 51.92 kB / 398.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.02899, allocations: 0.9627 MB / 399.2 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.03074, allocations: 1.089 MB / 400.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.04485, allocations: 22.11 MB / 422.4 MB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.04553, allocations: 313.8 kB / 422.7 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.04567, allocations: 107 kB / 422.8 MB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.04569, allocations: 7.938 kB / 422.8 MB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.04572, allocations: 45.33 kB / 422.9 MB, free: 4.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/0.04572, allocations: 0 / 422.9 MB, free: 4.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.0006811/0.0464, allocations: 441.6 kB / 423.3 MB, free: 3.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.04645, allocations: 110.8 kB / 423.4 MB, free: 3.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.04831, allocations: 1.949 MB / 425.4 MB, free: 1.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.04834, allocations: 33.64 kB / 425.4 MB, free: 1.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.04968, allocations: 1.819 MB / 427.2 MB, free: 12 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.0499, allocations: 290.2 kB / 427.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007388/0.05064, allocations: 0.7525 MB / 428.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.05078, allocations: 0.5121 MB / 428.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.05113, allocations: 234.4 kB / 429 MB, free: 14.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.05365, allocations: 3.628 MB / 432.6 MB, free: 9.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.05677, allocations: 4.326 MB / 437 MB, free: 3.129 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.324e-05/0.0568, allocations: 24 kB / 437 MB, free: 3.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.003491/0.06029, allocations: 2.639 MB / 439.6 MB, free: 472 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.06034, allocations: 47.88 kB / 439.7 MB, free: 424 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.565e-05/0.0604, allocations: 84 kB / 439.8 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.37e-05/0.06049, allocations: 104 kB / 439.9 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.06195, allocations: 0.7409 MB / 440.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-05/0.06205, allocations: 159.4 kB / 440.7 MB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.06349, allocations: 464.5 kB / 441.2 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.06368, allocations: 196.3 kB / 441.4 MB, free: 14.68 MB / 426.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.0004606/0.06414, allocations: 446.5 kB / 441.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.06432, allocations: 170.9 kB / 442 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.06449, allocations: 146.1 kB / 442.1 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.0645, allocations: 8 kB / 442.1 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.0645, allocations: 0 / 442.1 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.06451, allocations: 0 / 442.1 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.06621, allocations: 1.22 MB / 443.4 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.06621, allocations: 8 kB / 443.4 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.06638, allocations: 47.92 kB / 443.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.06638, allocations: 8 kB / 443.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.0664, allocations: 8 kB / 443.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.0664, allocations: 0 / 443.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0664, allocations: 0 / 443.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.06698, allocations: 0.7963 MB / 444.2 MB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.06712, allocations: 146.8 kB / 444.4 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.06721, allocations: 4 kB / 444.4 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.0675, allocations: 8 kB / 444.4 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.06755, allocations: 27.95 kB / 444.4 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.06758, allocations: 12 kB / 444.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001005/0.06858, allocations: 0.7675 MB / 445.2 MB, free: 10.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06858, allocations: 4 kB / 445.2 MB, free: 10.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001684/0.07027, allocations: 0.5067 MB / 445.7 MB, free: 10.3 MB / 426.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.0002099/0.07048, allocations: 131 kB / 445.8 MB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.07153, allocations: 1.307 MB / 447.1 MB, free: 8.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.07154, allocations: 0 / 447.1 MB, free: 8.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.07166, allocations: 124.5 kB / 447.3 MB, free: 8.746 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.07218, allocations: 160.4 kB / 447.4 MB, free: 8.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.07523, allocations: 2.992 MB / 450.4 MB, free: 5.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.07568, allocations: 0.5463 MB / 451 MB, free: 4.961 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005135/0.0762, allocations: 248.2 kB / 451.2 MB, free: 4.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.07651, allocations: 294.2 kB / 451.5 MB, free: 4.426 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.07651, allocations: 3.938 kB / 451.5 MB, free: 4.422 MB / 426.7 MB Notification: Performance of Templates: time 0.2137/0.2902, allocations: 12.33 MB / 463.8 MB, free: 110.4 MB / 426.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.93655300186947]