Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009142/0.0009143, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009065/0.0009065, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.8 MB / 246.9 MB, free: 9.742 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.21 MB / 345.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003307, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 63.58 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.0111/0.1408, allocations: 8.683 MB / 491.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.1477, allocations: 2.372 MB / 494.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.149, allocations: 31.94 kB / 494.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008157/0.1498, allocations: 215 kB / 494.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.1517, allocations: 0.6423 MB / 495.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.1519, allocations: 11.98 kB / 495.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.1546, allocations: 2.037 MB / 497.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.1562, allocations: 0.9384 MB / 498.1 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.1569, allocations: 406.1 kB / 498.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1579, allocations: 0.7121 MB / 499.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.1581, allocations: 52 kB / 499.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.1588, allocations: 291.5 kB / 499.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006839/0.1594, allocations: 0.6465 MB / 0.4885 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007899/0.1602, allocations: 0.8202 MB / 0.4893 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.1629, allocations: 2.444 MB / 0.4917 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1629, allocations: 4 kB / 0.4917 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1629, allocations: 0 / 0.4917 GB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.163, allocations: 0 / 0.4917 GB, free: 15.67 MB / 382.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.002654/0.1656, allocations: 1.626 MB / 0.4933 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.1657, allocations: 12.88 kB / 0.4933 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005315/0.171, allocations: 1.511 MB / 0.4947 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.1728, allocations: 0.8474 MB / 0.4956 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.661e-05/0.1729, allocations: 82.28 kB / 0.4956 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.1731, allocations: 103.8 kB / 0.4957 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006642/0.1798, allocations: 4.622 MB / 0.5003 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.1798, allocations: 19.81 kB / 0.5003 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.1801, allocations: 59.91 kB / 0.5003 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/0.182, allocations: 1.103 MB / 0.5014 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007603/0.1896, allocations: 4.004 MB / 0.5053 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2936/0.4833, allocations: 18.49 MB / 0.5234 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.4847, allocations: 1.177 MB / 0.5245 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.4852, allocations: 340.8 kB / 0.5249 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.4853, allocations: 8.031 kB / 0.5249 GB, free: 23.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4853, allocations: 42.72 kB / 0.5249 GB, free: 23.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.057e-06/0.4853, allocations: 0 / 0.5249 GB, free: 23.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001906/0.4872, allocations: 1.032 MB / 0.5259 GB, free: 23.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.4873, allocations: 111.5 kB / 0.526 GB, free: 23.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.4915, allocations: 2.198 MB / 0.5282 GB, free: 22.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/0.4916, allocations: 36.73 kB / 0.5282 GB, free: 22.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.4927, allocations: 1.615 MB / 0.5298 GB, free: 20.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.4931, allocations: 270.5 kB / 0.53 GB, free: 20.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.4935, allocations: 285.3 kB / 0.5303 GB, free: 20.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4936, allocations: 354.8 kB / 0.5306 GB, free: 20.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.4955, allocations: 0.8922 MB / 0.5315 GB, free: 19.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.4985, allocations: 3.175 MB / 0.5346 GB, free: 16.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.5028, allocations: 4.444 MB / 0.539 GB, free: 12.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.669e-05/0.5029, allocations: 23.38 kB / 0.539 GB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006692/0.5096, allocations: 3.837 MB / 0.5427 GB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.274e-05/0.5097, allocations: 43.38 kB / 0.5428 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.176e-05/0.5098, allocations: 82.34 kB / 0.5428 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.202e-05/0.5099, allocations: 105.9 kB / 0.5429 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.5117, allocations: 0.7484 MB / 0.5437 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.641e-05/0.5118, allocations: 165.1 kB / 0.5438 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.5141, allocations: 496.7 kB / 0.5443 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/0.5144, allocations: 216.8 kB / 0.5445 GB, free: 10.39 MB / 382.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.001369/0.5158, allocations: 1.097 MB / 0.5456 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.516, allocations: 166.7 kB / 0.5457 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.5164, allocations: 202 kB / 0.5459 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.5164, allocations: 8.672 kB / 0.5459 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5164, allocations: 3.938 kB / 0.5459 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5164, allocations: 0 / 0.5459 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.5196, allocations: 2.018 MB / 0.5479 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5197, allocations: 0 / 0.5479 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.5199, allocations: 63.89 kB / 0.548 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5199, allocations: 1.75 kB / 0.548 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.52, allocations: 8 kB / 0.548 GB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.52, allocations: 5.125 kB / 0.548 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.52, allocations: 0 / 0.548 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/0.5209, allocations: 1.044 MB / 0.549 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003351/0.5212, allocations: 234.8 kB / 0.5492 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.5213, allocations: 11.98 kB / 0.5492 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.5218, allocations: 26.23 kB / 0.5493 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.5219, allocations: 19.98 kB / 0.5493 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.5219, allocations: 19.98 kB / 0.5493 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.5235, allocations: 1.379 MB / 0.5507 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5235, allocations: 0 / 0.5507 GB, free: 5.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002524/0.526, allocations: 492.3 kB / 0.5511 GB, free: 4.855 MB / 382.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.0002597/0.5263, allocations: 121.2 kB / 0.5512 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.5292, allocations: 2.052 MB / 0.5532 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5292, allocations: 1 kB / 0.5532 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.5295, allocations: 336.8 kB / 0.5536 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.5309, allocations: 169.1 kB / 0.5537 GB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.5375, allocations: 4.587 MB / 0.5582 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/0.5395, allocations: 1.787 MB / 0.56 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002792/0.5423, allocations: 1.109 MB / 0.561 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.5427, allocations: 119.4 kB / 0.5612 GB, free: 10.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5427, allocations: 0 / 0.5612 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Templates: time 0.02984/0.5725, allocations: 12.14 MB / 0.573 GB, free: 14.47 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches