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.000921/0.0009211, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001085/0.001085, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.452/1.452, allocations: 223.3 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.237/0.237, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003941, allocations: 14.75 kB / 409.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01046/0.152, allocations: 8.18 MB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.158, allocations: 2.209 MB / 482 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.1592, allocations: 31.94 kB / 482 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1603, allocations: 378.3 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.1631, allocations: 1.105 MB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.1633, allocations: 23.97 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.1653, allocations: 1.584 MB / 485.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.1672, allocations: 0.8824 MB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.1679, allocations: 462.2 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008942/0.1688, allocations: 0.7046 MB / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.169, allocations: 52 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005961/0.1696, allocations: 271.5 kB / 487.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005484/0.1701, allocations: 0.6349 MB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.1706, allocations: 368.5 kB / 488.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.1735, allocations: 1.992 MB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.1735, allocations: 4 kB / 490.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1735, allocations: 3.938 kB / 490.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.1736, allocations: 0 / 490.4 MB, free: 10.77 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.00293/0.1765, allocations: 1.676 MB / 492.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1766, allocations: 16.03 kB / 492.1 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.1813, allocations: 1.51 MB / 493.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1828, allocations: 0.8385 MB / 494.5 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.1829, allocations: 77.92 kB / 494.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.1831, allocations: 103.9 kB / 494.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007689/0.1908, allocations: 4.614 MB / 499.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.1908, allocations: 19.81 kB / 499.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.191, allocations: 55.92 kB / 499.4 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/0.1932, allocations: 1.111 MB / 0.4887 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007194/0.2004, allocations: 3.98 MB / 0.4926 GB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2741/0.4746, allocations: 18.47 MB / 0.5107 GB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.4759, allocations: 1.172 MB / 0.5118 GB, free: 33.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.4763, allocations: 341.4 kB / 0.5121 GB, free: 33.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.4764, allocations: 11.84 kB / 0.5121 GB, free: 33.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4764, allocations: 38.61 kB / 0.5122 GB, free: 33.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/0.4764, allocations: 1.25 kB / 0.5122 GB, free: 33.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001518/0.4779, allocations: 1.025 MB / 0.5132 GB, free: 33.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.478, allocations: 111 kB / 0.5133 GB, free: 33.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.4809, allocations: 2.197 MB / 0.5154 GB, free: 32.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.481, allocations: 33.41 kB / 0.5155 GB, free: 32.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009716/0.482, allocations: 1.624 MB / 0.517 GB, free: 31.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.4822, allocations: 266.5 kB / 0.5173 GB, free: 31.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4823, allocations: 66.5 kB / 0.5174 GB, free: 31.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.4826, allocations: 0.4949 MB / 0.5178 GB, free: 31.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4839, allocations: 0.8828 MB / 0.5187 GB, free: 30.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002644/0.4866, allocations: 3.152 MB / 0.5218 GB, free: 27.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.4893, allocations: 1.684 MB / 0.5234 GB, free: 26.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.595e-05/0.4894, allocations: 23.31 kB / 0.5235 GB, free: 26.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007464/0.4968, allocations: 3.811 MB / 0.5272 GB, free: 25.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/0.4969, allocations: 39.41 kB / 0.5272 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.4971, allocations: 80.94 kB / 0.5273 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.4972, allocations: 118.1 kB / 0.5274 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.4992, allocations: 0.7608 MB / 0.5281 GB, free: 25.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.363e-05/0.4993, allocations: 168.4 kB / 0.5283 GB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.5019, allocations: 494.3 kB / 0.5288 GB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.5021, allocations: 219.5 kB / 0.529 GB, free: 24.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001183/0.5033, allocations: 1.093 MB / 0.5301 GB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5035, allocations: 169.1 kB / 0.5302 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.5038, allocations: 202.2 kB / 0.5304 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.5038, allocations: 7.125 kB / 0.5304 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.5038, allocations: 3.562 kB / 0.5304 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5039, allocations: 7.703 kB / 0.5304 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.5066, allocations: 2.001 MB / 0.5324 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5067, allocations: 0.875 kB / 0.5324 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.5069, allocations: 66.97 kB / 0.5324 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.5069, allocations: 7.516 kB / 0.5325 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.507, allocations: 11.95 kB / 0.5325 GB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.507, allocations: 288 / 0.5325 GB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.507, allocations: 3.531 kB / 0.5325 GB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.5078, allocations: 1.028 MB / 0.5335 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.5081, allocations: 244.5 kB / 0.5337 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.5083, allocations: 11.3 kB / 0.5337 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.5087, allocations: 31.73 kB / 0.5337 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.5088, allocations: 22.16 kB / 0.5338 GB, free: 22.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.5088, allocations: 21.67 kB / 0.5338 GB, free: 22.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00146/0.5103, allocations: 1.368 MB / 0.5351 GB, free: 22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5103, allocations: 0 / 0.5351 GB, free: 22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002365/0.5127, allocations: 0.4918 MB / 0.5356 GB, free: 21.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002466/0.5129, allocations: 127.4 kB / 0.5357 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.5155, allocations: 2.027 MB / 0.5377 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5155, allocations: 0 / 0.5377 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.5159, allocations: 337.3 kB / 0.538 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.5168, allocations: 166.6 kB / 0.5382 GB, free: 19.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.5218, allocations: 4.409 MB / 0.5425 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.523, allocations: 1.795 MB / 0.5442 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002093/0.5251, allocations: 1.114 MB / 0.5453 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.5253, allocations: 115.4 kB / 0.5454 GB, free: 12.25 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5253, allocations: 4 kB / 0.5454 GB, free: 12.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01984/0.5452, allocations: 12 MB / 0.5572 GB, free: 336 kB / 382.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 -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/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_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches