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.001708/0.001708, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.3 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.13 MB / 343.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.16 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1243, allocations: 62.47 MB / 479.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01133/0.1357, allocations: 9.17 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.1411, allocations: 2.399 MB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009912/0.1421, allocations: 31.94 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1434, allocations: 0.4945 MB / 491.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.1448, allocations: 0.6461 MB / 492.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.929e-05/0.1449, allocations: 15.98 kB / 492.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00235/0.1472, allocations: 2.041 MB / 494.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000997/0.1483, allocations: 0.7111 MB / 494.9 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.1488, allocations: 422.1 kB / 495.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.1497, allocations: 0.7317 MB / 496 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.1499, allocations: 60 kB / 496.1 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006336/0.1505, allocations: 295.5 kB / 496.4 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.1512, allocations: 0.6425 MB / 497 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.1519, allocations: 0.8107 MB / 497.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.1545, allocations: 2.492 MB / 0.4886 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1545, allocations: 0 / 0.4886 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1545, allocations: 0 / 0.4886 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.1546, allocations: 4 kB / 0.4886 GB, free: 0.6172 MB / 366.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.003014/0.1576, allocations: 1.956 MB / 0.4905 GB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1576, allocations: 12.81 kB / 0.4905 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/0.1625, allocations: 1.472 MB / 0.492 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.1641, allocations: 0.8435 MB / 0.4928 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/0.1642, allocations: 82.22 kB / 0.4929 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.1644, allocations: 99.86 kB / 0.493 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006487/0.1709, allocations: 4.63 MB / 0.4975 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.171, allocations: 19.81 kB / 0.4975 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.1712, allocations: 55.91 kB / 0.4976 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001841/0.173, allocations: 1.099 MB / 0.4986 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007428/0.1805, allocations: 4.011 MB / 0.5026 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2376/0.4181, allocations: 18.47 MB / 0.5206 GB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.4194, allocations: 1.175 MB / 0.5217 GB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/0.4199, allocations: 344.2 kB / 0.5221 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.4199, allocations: 8 kB / 0.5221 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4199, allocations: 41.95 kB / 0.5221 GB, free: 25.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.457e-06/0.4199, allocations: 0 / 0.5221 GB, free: 25.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.0017/0.4216, allocations: 1.034 MB / 0.5231 GB, free: 24.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.4217, allocations: 110.6 kB / 0.5232 GB, free: 24.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.4252, allocations: 2.192 MB / 0.5254 GB, free: 23.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.4252, allocations: 35.08 kB / 0.5254 GB, free: 23.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.4262, allocations: 1.619 MB / 0.527 GB, free: 22.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.4265, allocations: 265.4 kB / 0.5272 GB, free: 22.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008108/0.4273, allocations: 0.6752 MB / 0.5279 GB, free: 22.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4274, allocations: 353.3 kB / 0.5282 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4287, allocations: 0.8935 MB / 0.5291 GB, free: 21.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.4311, allocations: 3.172 MB / 0.5322 GB, free: 18.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.4349, allocations: 4.45 MB / 0.5366 GB, free: 13.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.526e-05/0.435, allocations: 23.12 kB / 0.5366 GB, free: 13.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005686/0.4407, allocations: 3.841 MB / 0.5403 GB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.4407, allocations: 39.28 kB / 0.5404 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-05/0.4408, allocations: 82.47 kB / 0.5404 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.109e-05/0.4409, allocations: 106.8 kB / 0.5405 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.4426, allocations: 0.757 MB / 0.5413 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.82e-05/0.4427, allocations: 163 kB / 0.5414 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.4449, allocations: 487.6 kB / 0.5419 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.4451, allocations: 214.9 kB / 0.5421 GB, free: 11.93 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.00118/0.4463, allocations: 1.104 MB / 0.5432 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.4465, allocations: 161.2 kB / 0.5433 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.4468, allocations: 205.5 kB / 0.5435 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.4468, allocations: 7.562 kB / 0.5435 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.4468, allocations: 3.562 kB / 0.5436 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4468, allocations: 0 / 0.5436 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.4495, allocations: 2.019 MB / 0.5455 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4495, allocations: 4 kB / 0.5455 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4497, allocations: 59.89 kB / 0.5456 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4497, allocations: 4 kB / 0.5456 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4498, allocations: 8 kB / 0.5456 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4498, allocations: 7.938 kB / 0.5456 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4498, allocations: 0 / 0.5456 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.4505, allocations: 1.033 MB / 0.5466 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.4508, allocations: 230.8 kB / 0.5468 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.4509, allocations: 8 kB / 0.5468 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.4514, allocations: 31.84 kB / 0.5469 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.4514, allocations: 15.97 kB / 0.5469 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.4515, allocations: 21.88 kB / 0.5469 GB, free: 8.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.4528, allocations: 1.371 MB / 0.5482 GB, free: 6.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4528, allocations: 0 / 0.5482 GB, free: 6.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001982/0.4548, allocations: 0.4895 MB / 0.5487 GB, free: 6.422 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.0002321/0.4551, allocations: 125.3 kB / 0.5488 GB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.4574, allocations: 2.04 MB / 0.5508 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4574, allocations: 2 kB / 0.5508 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.4577, allocations: 338.2 kB / 0.5512 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009267/0.4586, allocations: 158.2 kB / 0.5513 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/0.4645, allocations: 4.559 MB / 0.5558 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/0.4665, allocations: 1.795 MB / 0.5575 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00281/0.4693, allocations: 1.105 MB / 0.5586 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.4696, allocations: 115.4 kB / 0.5587 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4696, allocations: 4 kB / 0.5587 GB, free: 12.14 MB / 398.1 MB Notification: Performance of Templates: time 0.02769/0.4973, allocations: 12.22 MB / 0.5706 GB, free: 15.97 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