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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 76.38 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1354, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008486/0.1439, allocations: 5.707 MB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.1482, allocations: 1.838 MB / 487.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007354/0.1489, allocations: 16 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.1505, allocations: 0.5252 MB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.1526, allocations: 0.6691 MB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1528, allocations: 23.97 kB / 488.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.1551, allocations: 1.42 MB / 490.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1565, allocations: 0.7043 MB / 491 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000935/0.1574, allocations: 493.9 kB / 491.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.1586, allocations: 0.6771 MB / 492.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.159, allocations: 88 kB / 492.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000901/0.1599, allocations: 315.5 kB / 492.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007857/0.1607, allocations: 0.6582 MB / 493.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.1621, allocations: 0.8186 MB / 494.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.1654, allocations: 2.504 MB / 496.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.1654, allocations: 4 kB / 496.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1655, allocations: 4 kB / 496.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.1656, allocations: 0 / 496.6 MB, free: 4.66 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.004172/0.1698, allocations: 1.947 MB / 498.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1698, allocations: 12.02 kB / 498.5 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000714/0.1705, allocations: 352 kB / 498.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/0.1758, allocations: 1.468 MB / 0.4886 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.178, allocations: 0.8473 MB / 0.4894 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.1782, allocations: 78.05 kB / 0.4895 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004795/0.1787, allocations: 107.9 kB / 0.4896 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008026/0.1867, allocations: 4.618 MB / 0.4941 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.1868, allocations: 19.81 kB / 0.4941 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.1873, allocations: 55.91 kB / 0.4942 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002301/0.1896, allocations: 1.099 MB / 0.4953 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0073/0.1969, allocations: 4.015 MB / 0.4992 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2357/0.4326, allocations: 18.47 MB / 0.5172 GB, free: 25.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.434, allocations: 1.175 MB / 0.5184 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.4345, allocations: 345 kB / 0.5187 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.4346, allocations: 6.672 kB / 0.5187 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4346, allocations: 45.14 kB / 0.5188 GB, free: 24.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/0.4346, allocations: 2.031 kB / 0.5188 GB, free: 24.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001698/0.4363, allocations: 1.031 MB / 0.5198 GB, free: 24.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4364, allocations: 108.2 kB / 0.5199 GB, free: 24.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/0.4396, allocations: 2.196 MB / 0.522 GB, free: 23.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.4397, allocations: 31.52 kB / 0.522 GB, free: 23.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.4408, allocations: 1.618 MB / 0.5236 GB, free: 22.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.4411, allocations: 264.2 kB / 0.5239 GB, free: 22.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008407/0.4419, allocations: 0.6782 MB / 0.5245 GB, free: 21.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.442, allocations: 358 kB / 0.5249 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.4435, allocations: 0.8948 MB / 0.5258 GB, free: 21.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.4457, allocations: 3.173 MB / 0.5289 GB, free: 17.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.4498, allocations: 4.442 MB / 0.5332 GB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-05/0.4499, allocations: 23.5 kB / 0.5332 GB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005844/0.4557, allocations: 3.844 MB / 0.537 GB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.4558, allocations: 39.22 kB / 0.537 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.4559, allocations: 85.94 kB / 0.5371 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.456, allocations: 105.2 kB / 0.5372 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.4579, allocations: 0.7531 MB / 0.5379 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.899e-05/0.458, allocations: 158.3 kB / 0.5381 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.4602, allocations: 498.7 kB / 0.5386 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.4605, allocations: 217.2 kB / 0.5388 GB, free: 11.67 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.001129/0.4616, allocations: 1.097 MB / 0.5398 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.4619, allocations: 164.8 kB / 0.54 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.4621, allocations: 204.1 kB / 0.5402 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4621, allocations: 6.906 kB / 0.5402 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4621, allocations: 3.344 kB / 0.5402 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4621, allocations: 0 / 0.5402 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.4647, allocations: 2.022 MB / 0.5422 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4647, allocations: 0 / 0.5422 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.465, allocations: 59.44 kB / 0.5422 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.465, allocations: 11.56 kB / 0.5422 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.4651, allocations: 7.406 kB / 0.5422 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.4651, allocations: 0 / 0.5422 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4651, allocations: 3.688 kB / 0.5422 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.4659, allocations: 1.032 MB / 0.5433 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.4662, allocations: 229.8 kB / 0.5435 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.4663, allocations: 11.59 kB / 0.5435 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.4668, allocations: 27.95 kB / 0.5435 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.4669, allocations: 26.14 kB / 0.5435 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.4669, allocations: 17.12 kB / 0.5436 GB, free: 9.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001412/0.4683, allocations: 1.37 MB / 0.5449 GB, free: 8.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4683, allocations: 4 kB / 0.5449 GB, free: 8.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002222/0.4705, allocations: 493.8 kB / 0.5454 GB, free: 8.094 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.001092/0.4716, allocations: 1.641 MB / 0.547 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.4744, allocations: 2.147 MB / 0.5491 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4744, allocations: 0 / 0.5491 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.4747, allocations: 331.7 kB / 0.5494 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4757, allocations: 169 kB / 0.5495 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02524/0.501, allocations: 21.42 MB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.5031, allocations: 1.789 MB / 0.5722 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002733/0.5058, allocations: 1.109 MB / 0.5733 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.5071, allocations: 0.7297 MB / 0.574 GB, free: 7.398 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5071, allocations: 0 / 0.574 GB, free: 7.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05428/0.5614, allocations: 28.46 MB / 0.6018 GB, free: 11.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/9.341, allocations: 9.375 kB / 0.6018 GB, free: 11.07 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv","/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