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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007753/0.0007753, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001844, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.002338, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9269/0.9269, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1721/1.099, allocations: 52.49 MB / 238.5 MB, free: 7.59 MB / 234.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.1339/0.1339, allocations: 32.8 MB / 272 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02457/0.1584, allocations: 12.54 MB / 284.5 MB, free: 9.672 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.332e-06/1.332e-06, allocations: 0 / 285.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.946e-05, allocations: 2.312 kB / 285.8 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.004384/0.004404, allocations: 5.552 MB / 291.4 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.006953, allocations: 1.822 MB / 293.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.007266, allocations: 23.94 kB / 293.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.007985, allocations: 0.5251 MB / 293.8 MB, free: 448 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.009016, allocations: 0.7348 MB / 294.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.406e-05/0.00909, allocations: 11.94 kB / 294.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.01026, allocations: 1.471 MB / 296 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007436/0.01101, allocations: 0.6963 MB / 296.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.01171, allocations: 0.7668 MB / 297.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007174/0.01242, allocations: 0.6661 MB / 298.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.01255, allocations: 88 kB / 298.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.01296, allocations: 267.6 kB / 298.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.0133, allocations: 0.6504 MB / 299.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.01357, allocations: 354.6 kB / 299.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.01475, allocations: 1.626 MB / 301.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.285e-05/0.01477, allocations: 0 / 301.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01477, allocations: 4 kB / 301.1 MB, free: 9.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.051e-05/0.01481, allocations: 0 / 301.1 MB, free: 9.066 MB / 298.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.001992/0.0168, allocations: 2.159 MB / 303.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.01683, allocations: 12.03 kB / 303.2 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.01855, allocations: 0.7042 MB / 303.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007311/0.01928, allocations: 0.6467 MB / 304.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.01932, allocations: 70.3 kB / 304.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.01944, allocations: 100.3 kB / 304.8 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.02118, allocations: 2.247 MB / 307 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.02121, allocations: 23.8 kB / 307 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/0.0213, allocations: 51.92 kB / 307.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007887/0.02209, allocations: 0.8925 MB / 308 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.02354, allocations: 1.115 MB / 309.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009427/0.03297, allocations: 15.48 MB / 324.6 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.03336, allocations: 319.9 kB / 324.9 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.03345, allocations: 78.55 kB / 325 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1388/0.1722, allocations: 4.859 kB / 325 MB, free: 27.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.1723, allocations: 34.59 kB / 325 MB, free: 27.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 4.779e-06/0.1723, allocations: 4.156 kB / 325 MB, free: 27.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=60): time 0.0008378/0.1731, allocations: 303.3 kB / 325.3 MB, free: 27.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1732, allocations: 110.2 kB / 325.4 MB, free: 27.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.1756, allocations: 1.518 MB / 326.9 MB, free: 27.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.542e-05/0.1756, allocations: 32.83 kB / 327 MB, free: 26.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/0.1765, allocations: 1.647 MB / 328.6 MB, free: 25.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.1767, allocations: 273.8 kB / 328.9 MB, free: 25.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006523/0.1773, allocations: 0.6341 MB / 329.5 MB, free: 25.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.1774, allocations: 334.9 kB / 329.8 MB, free: 25.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.1778, allocations: 233.4 kB / 330.1 MB, free: 25.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.179, allocations: 2.516 MB / 332.6 MB, free: 22.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/0.1817, allocations: 3.502 MB / 336.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.537e-05/0.1817, allocations: 28.52 kB / 336.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.002582/0.1843, allocations: 2.235 MB / 338.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.1844, allocations: 41.94 kB / 338.4 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.38e-05/0.1844, allocations: 89.31 kB / 338.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.973e-05/0.1845, allocations: 106.7 kB / 338.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.1858, allocations: 0.8174 MB / 339.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001038/0.1859, allocations: 163.1 kB / 339.5 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.1874, allocations: 465.8 kB / 340 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/0.1876, allocations: 188.7 kB / 340.2 MB, free: 18.67 MB / 314.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.0005859/0.1882, allocations: 402.7 kB / 340.6 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1883, allocations: 87.98 kB / 340.7 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.1884, allocations: 147 kB / 340.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.1884, allocations: 3.906 kB / 340.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1884, allocations: 0 / 340.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1884, allocations: 9.094 kB / 340.8 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.1899, allocations: 1.148 MB / 342 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.1899, allocations: 7.688 kB / 342 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.19, allocations: 58.05 kB / 342 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1901, allocations: 132.9 kB / 342.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1902, allocations: 3.281 kB / 342.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1902, allocations: 6.844 kB / 342.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1902, allocations: 5.188 kB / 342.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1902, allocations: 4.172 kB / 342.2 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1905, allocations: 0.6044 MB / 342.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.1906, allocations: 7.922 kB / 342.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.1908, allocations: 15.48 kB / 342.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1909, allocations: 26.14 kB / 342.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.1909, allocations: 13.69 kB / 342.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005086/0.1914, allocations: 0.5726 MB / 343.4 MB, free: 17.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-07/0.1914, allocations: 1.641 kB / 343.4 MB, free: 17.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001621/0.193, allocations: 0.5272 MB / 343.9 MB, free: 17.49 MB / 314.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.0002615/0.1933, allocations: 119.5 kB / 344.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.1948, allocations: 1.314 MB / 345.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.748e-05/0.1949, allocations: 52.64 kB / 345.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1951, allocations: 134.9 kB / 345.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.1959, allocations: 1.084 MB / 346.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.1996, allocations: 3.133 MB / 349.8 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.2, allocations: 0.53 MB / 350.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005182/0.2005, allocations: 243.5 kB / 350.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.2007, allocations: 265 kB / 350.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.433e-06/0.2007, allocations: 0 / 350.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of Templates: time 0.01751/0.2182, allocations: 8.988 MB / 359.8 MB, free: 3.797 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.040985087864101]