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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 61.36 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007029/0.1234, allocations: 5.713 MB / 476.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.1269, allocations: 1.791 MB / 478.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.1275, allocations: 20 kB / 478.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.1288, allocations: 0.5097 MB / 478.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.1303, allocations: 0.6807 MB / 479.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1305, allocations: 15.98 kB / 479.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.1324, allocations: 1.451 MB / 480.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.1334, allocations: 0.7152 MB / 481.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007012/0.1341, allocations: 490 kB / 482.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009013/0.135, allocations: 0.6771 MB / 482.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.1353, allocations: 88 kB / 482.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.1359, allocations: 323.4 kB / 483.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006227/0.1366, allocations: 0.6738 MB / 483.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009544/0.1375, allocations: 0.8304 MB / 484.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.1399, allocations: 2.673 MB / 487.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1399, allocations: 0 / 487.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1399, allocations: 3.938 kB / 487.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.664e-05/0.1399, allocations: 0 / 487.3 MB, free: 12.94 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.002537/0.1425, allocations: 1.975 MB / 489.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1425, allocations: 12.03 kB / 489.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.147, allocations: 1.476 MB / 490.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.1487, allocations: 0.8473 MB / 491.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.1488, allocations: 74.3 kB / 491.7 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.149, allocations: 111.8 kB / 491.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005085/0.1541, allocations: 4.626 MB / 496.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.1541, allocations: 19.81 kB / 496.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.1543, allocations: 55.91 kB / 496.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001554/0.1558, allocations: 1.107 MB / 497.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0058/0.1616, allocations: 4.008 MB / 0.4899 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2248/0.3865, allocations: 18.41 MB / 0.5079 GB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3877, allocations: 1.179 MB / 0.509 GB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.3881, allocations: 341.4 kB / 0.5093 GB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3881, allocations: 4.156 kB / 0.5094 GB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.3882, allocations: 41.86 kB / 0.5094 GB, free: 34.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/0.3882, allocations: 4.891 kB / 0.5094 GB, free: 34.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001413/0.3896, allocations: 1.031 MB / 0.5104 GB, free: 33.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.3896, allocations: 114.9 kB / 0.5105 GB, free: 33.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.3923, allocations: 2.199 MB / 0.5127 GB, free: 33.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3924, allocations: 32.11 kB / 0.5127 GB, free: 33.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/0.3932, allocations: 1.628 MB / 0.5143 GB, free: 32.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3933, allocations: 269.8 kB / 0.5145 GB, free: 31.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000645/0.394, allocations: 0.6704 MB / 0.5152 GB, free: 31.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.3941, allocations: 354.6 kB / 0.5155 GB, free: 31.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.3953, allocations: 0.8961 MB / 0.5164 GB, free: 31.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.3975, allocations: 3.165 MB / 0.5195 GB, free: 27.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/0.401, allocations: 4.446 MB / 0.5238 GB, free: 23.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.118e-05/0.4011, allocations: 22.34 kB / 0.5239 GB, free: 23.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00528/0.4064, allocations: 3.843 MB / 0.5276 GB, free: 22.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.4065, allocations: 44.5 kB / 0.5277 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-05/0.4066, allocations: 84.91 kB / 0.5277 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-05/0.4067, allocations: 106.2 kB / 0.5278 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.4085, allocations: 0.755 MB / 0.5286 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.673e-05/0.4086, allocations: 159.8 kB / 0.5287 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.411, allocations: 496 kB / 0.5292 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.4113, allocations: 216.3 kB / 0.5294 GB, free: 21.75 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.001364/0.4126, allocations: 1.088 MB / 0.5305 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.4129, allocations: 172.2 kB / 0.5306 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.4131, allocations: 204.8 kB / 0.5308 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.4131, allocations: 6.812 kB / 0.5308 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4131, allocations: 4.312 kB / 0.5308 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4131, allocations: 0 / 0.5308 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.416, allocations: 2.018 MB / 0.5328 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.416, allocations: 0 / 0.5328 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.4162, allocations: 67.41 kB / 0.5329 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4163, allocations: 3.406 kB / 0.5329 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.4163, allocations: 7.344 kB / 0.5329 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4163, allocations: 3.703 kB / 0.5329 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4163, allocations: 3.469 kB / 0.5329 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.4173, allocations: 1.031 MB / 0.5339 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.4176, allocations: 232.6 kB / 0.5341 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.4178, allocations: 15.2 kB / 0.5341 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.4183, allocations: 19.41 kB / 0.5342 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.4183, allocations: 29.47 kB / 0.5342 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.4184, allocations: 23.72 kB / 0.5342 GB, free: 19.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001502/0.4199, allocations: 1.373 MB / 0.5355 GB, free: 18.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.4199, allocations: 0 / 0.5355 GB, free: 18.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002482/0.4224, allocations: 0.4934 MB / 0.536 GB, free: 18.66 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.000236/0.4226, allocations: 134.7 kB / 0.5362 GB, free: 18.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.4253, allocations: 2.046 MB / 0.5382 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4253, allocations: 0 / 0.5382 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.4256, allocations: 332.3 kB / 0.5385 GB, free: 16.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.4266, allocations: 169.4 kB / 0.5386 GB, free: 16.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.4311, allocations: 3.696 MB / 0.5422 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.4322, allocations: 1.796 MB / 0.544 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001745/0.4339, allocations: 1.106 MB / 0.5451 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.4341, allocations: 123.4 kB / 0.5452 GB, free: 9.496 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4341, allocations: 3.938 kB / 0.5452 GB, free: 9.492 MB / 382.1 MB Notification: Performance of Templates: time 0.0207/0.4548, allocations: 12.69 MB / 0.5576 GB, free: 12.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches