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.001185/0.001185, allocations: 104.1 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.001266/0.001266, allocations: 214.4 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.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 74.34 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1416, allocations: 62.45 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006417/0.1481, allocations: 5.403 MB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.152, allocations: 1.799 MB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007544/0.1528, allocations: 20 kB / 487.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.1542, allocations: 0.5369 MB / 487.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.1565, allocations: 0.9029 MB / 488.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.1567, allocations: 11.98 kB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.1586, allocations: 1.522 MB / 490.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.1598, allocations: 0.7514 MB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008787/0.1607, allocations: 0.5252 MB / 491.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.1627, allocations: 1.609 MB / 493.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003958/0.1631, allocations: 92 kB / 493.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007505/0.1639, allocations: 315.5 kB / 493.6 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007432/0.1647, allocations: 0.6972 MB / 494.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.1657, allocations: 0.8728 MB / 495.2 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.1684, allocations: 2.64 MB / 497.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1684, allocations: 0 / 497.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1684, allocations: 0 / 497.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.138e-05/0.1685, allocations: 0 / 497.8 MB, free: 3.395 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003519/0.1721, allocations: 2.046 MB / 499.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1721, allocations: 15.97 kB / 499.9 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006671/0.1728, allocations: 373.8 kB / 0.4885 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.1778, allocations: 1.499 MB / 0.49 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.1793, allocations: 0.8526 MB / 0.4908 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.1794, allocations: 94.2 kB / 0.4909 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/0.1797, allocations: 107.9 kB / 0.491 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/0.1862, allocations: 4.972 MB / 0.4959 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/0.1863, allocations: 23.75 kB / 0.4959 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.1865, allocations: 63.89 kB / 0.4959 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/0.1884, allocations: 1.185 MB / 0.4971 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006982/0.1954, allocations: 4.254 MB / 0.5013 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2605/0.456, allocations: 20.56 MB / 0.5213 GB, free: 23.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4575, allocations: 1.218 MB / 0.5225 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.458, allocations: 385 kB / 0.5229 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.458, allocations: 5.5 kB / 0.5229 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.4581, allocations: 37.97 kB / 0.5229 GB, free: 22.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.487e-06/0.4581, allocations: 4.656 kB / 0.5229 GB, free: 22.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001737/0.4598, allocations: 1.15 MB / 0.5241 GB, free: 21.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4599, allocations: 132.6 kB / 0.5242 GB, free: 21.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004186/0.4641, allocations: 2.427 MB / 0.5266 GB, free: 20.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.4641, allocations: 31.95 kB / 0.5266 GB, free: 20.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000961/0.4651, allocations: 1.796 MB / 0.5283 GB, free: 19.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.4654, allocations: 305.4 kB / 0.5286 GB, free: 19.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000863/0.4662, allocations: 0.785 MB / 0.5294 GB, free: 18.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.4663, allocations: 357.1 kB / 0.5297 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.4678, allocations: 1.035 MB / 0.5307 GB, free: 18.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.4701, allocations: 3.692 MB / 0.5344 GB, free: 14.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/0.4742, allocations: 5.164 MB / 0.5394 GB, free: 9.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.102e-05/0.4743, allocations: 28.16 kB / 0.5394 GB, free: 9.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006124/0.4805, allocations: 4.439 MB / 0.5438 GB, free: 7.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.4806, allocations: 52.45 kB / 0.5438 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.089e-05/0.4806, allocations: 94.06 kB / 0.5439 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-05/0.4807, allocations: 123.3 kB / 0.544 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.4827, allocations: 0.8719 MB / 0.5449 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.082e-05/0.4828, allocations: 187.7 kB / 0.545 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.4851, allocations: 0.5507 MB / 0.5456 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.4854, allocations: 258.5 kB / 0.5458 GB, free: 6.867 MB / 382.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.001137/0.4865, allocations: 1.188 MB / 0.547 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.4867, allocations: 185.6 kB / 0.5472 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.487, allocations: 221.7 kB / 0.5474 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/0.487, allocations: 19.39 kB / 0.5474 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4871, allocations: 3.938 kB / 0.5474 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4871, allocations: 7.984 kB / 0.5474 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.49, allocations: 2.068 MB / 0.5494 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4901, allocations: 4 kB / 0.5494 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.4903, allocations: 55.91 kB / 0.5495 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.4903, allocations: 4 kB / 0.5495 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.4904, allocations: 15.92 kB / 0.5495 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.4904, allocations: 4.562 kB / 0.5495 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.4904, allocations: 0 / 0.5495 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.4913, allocations: 1.194 MB / 0.5507 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.4916, allocations: 242.6 kB / 0.5509 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.4918, allocations: 19.47 kB / 0.5509 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.4923, allocations: 19.97 kB / 0.5509 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.4923, allocations: 23.97 kB / 0.551 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.4924, allocations: 20 kB / 0.551 GB, free: 1.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.4938, allocations: 1.494 MB / 0.5524 GB, free: 436 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4938, allocations: 0 / 0.5524 GB, free: 436 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002447/0.4963, allocations: 0.5194 MB / 0.553 GB, free: 15.91 MB / 398.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.001574/0.4979, allocations: 1.801 MB / 0.5547 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003612/0.5015, allocations: 2.457 MB / 0.5571 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5015, allocations: 0 / 0.5571 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.5019, allocations: 371.7 kB / 0.5575 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.5031, allocations: 163.8 kB / 0.5576 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03228/0.5354, allocations: 24.4 MB / 0.5814 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.5373, allocations: 1.861 MB / 0.5833 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002747/0.5401, allocations: 1.262 MB / 0.5845 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.5411, allocations: 0.7766 MB / 0.5853 GB, free: 10.77 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5411, allocations: 0 / 0.5853 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05655/0.5977, allocations: 30.65 MB / 0.6152 GB, free: 12.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/9.144, allocations: 11.91 kB / 0.6152 GB, free: 12.23 MB / 462.1 MB (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