Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.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.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002757, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3619, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006035/0.368, allocations: 5.409 MB / 0.5358 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.3717, allocations: 1.798 MB / 0.5375 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.3722, allocations: 22.78 kB / 0.5375 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3733, allocations: 0.5329 MB / 0.5381 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.3754, allocations: 0.9206 MB / 0.539 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.3755, allocations: 23.44 kB / 0.539 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.3774, allocations: 1.519 MB / 0.5405 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009497/0.3783, allocations: 0.7585 MB / 0.5412 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/0.3791, allocations: 0.5175 MB / 0.5417 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.381, allocations: 1.606 MB / 0.5433 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003279/0.3814, allocations: 90.47 kB / 0.5434 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007166/0.3821, allocations: 322.9 kB / 0.5437 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.3827, allocations: 0.701 MB / 0.5444 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006942/0.3834, allocations: 0.8729 MB / 0.5452 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.3862, allocations: 2.803 MB / 0.548 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3862, allocations: 0 / 0.548 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3862, allocations: 0 / 0.548 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.3862, allocations: 7.938 kB / 0.548 GB, free: 15.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.002624/0.3889, allocations: 2.101 MB / 0.55 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3889, allocations: 8.031 kB / 0.55 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003512/0.3893, allocations: 377.8 kB / 0.5504 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005146/0.3944, allocations: 1.512 MB / 0.5519 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.3961, allocations: 0.8491 MB / 0.5527 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.3961, allocations: 90.22 kB / 0.5528 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.3964, allocations: 111.9 kB / 0.5529 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.4019, allocations: 4.972 MB / 0.5577 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.4019, allocations: 27.81 kB / 0.5578 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.4021, allocations: 59.91 kB / 0.5578 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00176/0.4039, allocations: 1.178 MB / 0.559 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006102/0.41, allocations: 4.27 MB / 0.5631 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.4288, allocations: 20.54 MB / 0.5832 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4302, allocations: 1.224 MB / 0.5844 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.4307, allocations: 388.8 kB / 0.5848 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4307, allocations: 7.938 kB / 0.5848 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4308, allocations: 38.56 kB / 0.5848 GB, free: 8.586 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.636e-06/0.4308, allocations: 4 kB / 0.5848 GB, free: 8.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001671/0.4325, allocations: 1.155 MB / 0.5859 GB, free: 7.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.4325, allocations: 132.5 kB / 0.5861 GB, free: 7.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.4353, allocations: 2.433 MB / 0.5884 GB, free: 4.793 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.4353, allocations: 33.7 kB / 0.5885 GB, free: 4.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.4365, allocations: 1.874 MB / 0.5903 GB, free: 2.859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.4367, allocations: 309.8 kB / 0.5906 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008042/0.4376, allocations: 0.7939 MB / 0.5914 GB, free: 1.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4377, allocations: 354 kB / 0.5917 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.439, allocations: 1.038 MB / 0.5927 GB, free: 372 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/0.4418, allocations: 3.691 MB / 0.5963 GB, free: 11.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/0.4468, allocations: 5.163 MB / 0.6014 GB, free: 4.844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.452e-05/0.4468, allocations: 28 kB / 0.6014 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006406/0.4533, allocations: 4.455 MB / 0.6058 GB, free: 364 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/0.4533, allocations: 48 kB / 0.6058 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.079e-05/0.4534, allocations: 96.83 kB / 0.6059 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.4535, allocations: 124 kB / 0.606 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.4558, allocations: 0.8694 MB / 0.6069 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001227/0.4559, allocations: 187.3 kB / 0.607 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.4583, allocations: 0.5661 MB / 0.6076 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.4585, allocations: 252 kB / 0.6078 GB, free: 14.22 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001408/0.46, allocations: 1.2 MB / 0.609 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.4602, allocations: 198.6 kB / 0.6092 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.4605, allocations: 217.7 kB / 0.6094 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.435e-05/0.4606, allocations: 24 kB / 0.6094 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.4606, allocations: 3.984 kB / 0.6094 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4606, allocations: 4 kB / 0.6094 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.4638, allocations: 2.058 MB / 0.6114 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4639, allocations: 0 / 0.6114 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.4641, allocations: 67.89 kB / 0.6115 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.4642, allocations: 4 kB / 0.6115 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.4642, allocations: 11.98 kB / 0.6115 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4642, allocations: 0 / 0.6115 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.4642, allocations: 7.938 kB / 0.6115 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4653, allocations: 1.199 MB / 0.6127 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.4656, allocations: 255.7 kB / 0.6129 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.4658, allocations: 8 kB / 0.6129 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.4663, allocations: 23.91 kB / 0.613 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.4664, allocations: 27.91 kB / 0.613 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.4664, allocations: 27.98 kB / 0.613 GB, free: 8.785 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.4681, allocations: 1.49 MB / 0.6145 GB, free: 7.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4681, allocations: 3.938 kB / 0.6145 GB, free: 7.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002544/0.4707, allocations: 0.5264 MB / 0.615 GB, free: 6.746 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.001598/0.4723, allocations: 1.795 MB / 0.6167 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.4757, allocations: 2.368 MB / 0.6191 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4758, allocations: 4 kB / 0.6191 GB, free: 2.574 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.4762, allocations: 367.7 kB / 0.6194 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4774, allocations: 169.6 kB / 0.6196 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/0.5058, allocations: 23.09 MB / 0.6421 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/0.5074, allocations: 1.857 MB / 0.6439 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002392/0.5098, allocations: 1.263 MB / 0.6452 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/0.5107, allocations: 0.7844 MB / 0.6459 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.5107, allocations: 0 / 0.6459 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/0.5674, allocations: 29.9 MB / 0.6751 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.86, allocations: 6.031 kB / 0.6751 GB, free: 5.824 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches