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.0009244/0.0009246, allocations: 97.92 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 247.5 MB, free: 11.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.19 MB / 345.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 12.38 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 63.56 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008898/0.1231, allocations: 8.691 MB / 492.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00492/0.128, allocations: 2.368 MB / 494.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1293, allocations: 27.94 kB / 494.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.1299, allocations: 223.1 kB / 495 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.1314, allocations: 0.6384 MB / 495.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.903e-05/0.1315, allocations: 19.92 kB / 495.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.1335, allocations: 2.026 MB / 497.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.1348, allocations: 0.9422 MB / 498.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.1353, allocations: 402.1 kB / 499.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009227/0.1363, allocations: 0.7122 MB / 499.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1364, allocations: 56 kB / 499.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.1369, allocations: 287.5 kB / 0.4884 GB, free: 3.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005091/0.1375, allocations: 0.6426 MB / 0.489 GB, free: 3.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006137/0.1381, allocations: 0.8241 MB / 0.4898 GB, free: 2.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.1398, allocations: 1.976 MB / 0.4917 GB, free: 220 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1399, allocations: 3.938 kB / 0.4917 GB, free: 216 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1399, allocations: 0 / 0.4917 GB, free: 216 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.1399, allocations: 4 kB / 0.4917 GB, free: 212 kB / 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.002258/0.1422, allocations: 1.628 MB / 0.4933 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1422, allocations: 12.81 kB / 0.4933 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.1472, allocations: 1.515 MB / 0.4948 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.1487, allocations: 0.8552 MB / 0.4957 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.1487, allocations: 74.28 kB / 0.4957 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/0.1491, allocations: 103.9 kB / 0.4958 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/0.1548, allocations: 4.63 MB / 0.5004 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.1549, allocations: 19.81 kB / 0.5004 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.1551, allocations: 55.91 kB / 0.5004 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/0.1568, allocations: 1.103 MB / 0.5015 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006131/0.1629, allocations: 4 MB / 0.5054 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2424/0.4054, allocations: 18.48 MB / 0.5235 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4069, allocations: 1.185 MB / 0.5246 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.4074, allocations: 346.2 kB / 0.5249 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.4075, allocations: 6.531 kB / 0.5249 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4075, allocations: 42.94 kB / 0.525 GB, free: 24.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.617e-06/0.4075, allocations: 0 / 0.525 GB, free: 24.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.0018/0.4093, allocations: 1.026 MB / 0.526 GB, free: 23.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.4094, allocations: 111.5 kB / 0.5261 GB, free: 23.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/0.4143, allocations: 2.198 MB / 0.5282 GB, free: 22.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.4144, allocations: 30.8 kB / 0.5283 GB, free: 22.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.4159, allocations: 1.633 MB / 0.5299 GB, free: 21.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/0.4164, allocations: 262.5 kB / 0.5301 GB, free: 21.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006886/0.4171, allocations: 284.7 kB / 0.5304 GB, free: 21.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4172, allocations: 357.6 kB / 0.5307 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.4192, allocations: 0.8978 MB / 0.5316 GB, free: 20.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.422, allocations: 3.166 MB / 0.5347 GB, free: 17.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/0.4264, allocations: 4.447 MB / 0.539 GB, free: 12.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/0.4266, allocations: 24 kB / 0.5391 GB, free: 12.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007604/0.4342, allocations: 3.84 MB / 0.5428 GB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.4344, allocations: 39.28 kB / 0.5429 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/0.4346, allocations: 78.78 kB / 0.5429 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.4348, allocations: 112.3 kB / 0.543 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.4369, allocations: 0.7492 MB / 0.5438 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001043/0.437, allocations: 161.9 kB / 0.5439 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.4397, allocations: 492.6 kB / 0.5444 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/0.4401, allocations: 221.2 kB / 0.5446 GB, free: 10.99 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.001927/0.4421, allocations: 1.086 MB / 0.5457 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.4425, allocations: 170.9 kB / 0.5458 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.443, allocations: 205.5 kB / 0.546 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.443, allocations: 10.22 kB / 0.546 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.443, allocations: 0 / 0.546 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.443, allocations: 0.5 kB / 0.546 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.4469, allocations: 2.025 MB / 0.548 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.447, allocations: 0 / 0.548 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.4473, allocations: 71.83 kB / 0.5481 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.4473, allocations: 4 kB / 0.5481 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.4474, allocations: 8 kB / 0.5481 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.4474, allocations: 0 / 0.5481 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4474, allocations: 4 kB / 0.5481 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.4485, allocations: 1.024 MB / 0.5491 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.449, allocations: 246.6 kB / 0.5493 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.4493, allocations: 4.562 kB / 0.5493 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.4499, allocations: 27.97 kB / 0.5494 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.45, allocations: 23.97 kB / 0.5494 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.45, allocations: 25.22 kB / 0.5494 GB, free: 7.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001913/0.452, allocations: 1.371 MB / 0.5507 GB, free: 5.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.452, allocations: 4 kB / 0.5507 GB, free: 5.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002513/0.4545, allocations: 497.4 kB / 0.5512 GB, free: 5.445 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.00035/0.4549, allocations: 126.9 kB / 0.5513 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.4579, allocations: 2.043 MB / 0.5533 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.4579, allocations: 0 / 0.5533 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.4583, allocations: 341.2 kB / 0.5537 GB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.4598, allocations: 159.6 kB / 0.5538 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00784/0.4676, allocations: 4.818 MB / 0.5585 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/0.47, allocations: 1.789 MB / 0.5603 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.4705, allocations: 147.4 kB / 0.5604 GB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 4.107e-06/0.4706, allocations: 0 / 0.5604 GB, free: 11.98 MB / 398.1 MB Notification: Performance of Templates: time 0.03975/0.5103, allocations: 25.11 MB / 0.5849 GB, free: 2.918 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches