Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.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: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 117.1 kB / 17.78 MB, free: 5.246 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.001221/0.001221, allocations: 184.2 kB / 18.72 MB, free: 4.32 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.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2178/0.2178, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 59.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3442, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005768/0.35, allocations: 5.42 MB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.3537, allocations: 1.754 MB / 0.5254 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005238/0.3543, allocations: 19.62 kB / 0.5254 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.3556, allocations: 0.5185 MB / 0.5259 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.3577, allocations: 0.9095 MB / 0.5268 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.3579, allocations: 22.31 kB / 0.5268 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00211/0.36, allocations: 1.55 MB / 0.5284 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.3609, allocations: 0.7473 MB / 0.5291 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006933/0.3616, allocations: 0.5197 MB / 0.5296 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.3634, allocations: 1.506 MB / 0.5311 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.3637, allocations: 89.09 kB / 0.5311 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.3644, allocations: 308.1 kB / 0.5314 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006522/0.365, allocations: 0.7159 MB / 0.5321 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007993/0.3658, allocations: 0.8823 MB / 0.533 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.369, allocations: 2.845 MB / 0.5358 GB, free: 8.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3691, allocations: 4 kB / 0.5358 GB, free: 8.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3691, allocations: 5.156 kB / 0.5358 GB, free: 8.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-05/0.3691, allocations: 0 / 0.5358 GB, free: 8.227 MB / 398.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.003479/0.3726, allocations: 2.125 MB / 0.5379 GB, free: 6.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3727, allocations: 8.969 kB / 0.5379 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00046/0.3731, allocations: 373 kB / 0.5382 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/0.3781, allocations: 1.514 MB / 0.5397 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.3797, allocations: 0.8626 MB / 0.5405 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.3798, allocations: 97.36 kB / 0.5406 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.3801, allocations: 113.7 kB / 0.5408 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00675/0.3868, allocations: 4.98 MB / 0.5456 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.3869, allocations: 19.81 kB / 0.5456 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.3871, allocations: 59.91 kB / 0.5457 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.3891, allocations: 1.182 MB / 0.5468 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007591/0.3967, allocations: 4.254 MB / 0.551 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02183/0.4185, allocations: 20.54 MB / 0.5711 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.4201, allocations: 1.224 MB / 0.5723 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.4206, allocations: 387.1 kB / 0.5726 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.4206, allocations: 7.938 kB / 0.5726 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4207, allocations: 42.56 kB / 0.5727 GB, free: 2.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 3.146e-06/0.4207, allocations: 0 / 0.5727 GB, free: 2.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.001796/0.4225, allocations: 1.157 MB / 0.5738 GB, free: 1.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/0.4226, allocations: 140.5 kB / 0.5739 GB, free: 1.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/0.4259, allocations: 2.434 MB / 0.5763 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.4259, allocations: 29.7 kB / 0.5763 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.4273, allocations: 1.885 MB / 0.5782 GB, free: 13.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.4276, allocations: 321.8 kB / 0.5785 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.4286, allocations: 0.794 MB / 0.5793 GB, free: 12.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4288, allocations: 345.9 kB / 0.5796 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.4303, allocations: 1.038 MB / 0.5806 GB, free: 10.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00362/0.4339, allocations: 3.683 MB / 0.5842 GB, free: 5.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006022/0.44, allocations: 5.159 MB / 0.5892 GB, free: 15.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.906e-05/0.4401, allocations: 28 kB / 0.5893 GB, free: 15.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007432/0.4475, allocations: 4.461 MB / 0.5936 GB, free: 10.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.4476, allocations: 51.98 kB / 0.5937 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.853e-05/0.4477, allocations: 96.16 kB / 0.5938 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/0.4478, allocations: 124 kB / 0.5939 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.4501, allocations: 0.8694 MB / 0.5947 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001525/0.4503, allocations: 183.3 kB / 0.5949 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.4528, allocations: 0.5699 MB / 0.5955 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/0.4532, allocations: 256 kB / 0.5957 GB, free: 8.621 MB / 462.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.001741/0.4549, allocations: 1.18 MB / 0.5969 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.4552, allocations: 210.6 kB / 0.5971 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.4556, allocations: 213.8 kB / 0.5973 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.971e-05/0.4556, allocations: 19.98 kB / 0.5973 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4557, allocations: 4 kB / 0.5973 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4557, allocations: 288 / 0.5973 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.4591, allocations: 2.076 MB / 0.5993 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4591, allocations: 0 / 0.5993 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.4594, allocations: 67.83 kB / 0.5994 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.4594, allocations: 4 kB / 0.5994 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.4595, allocations: 12 kB / 0.5994 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.4595, allocations: 4 kB / 0.5994 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4595, allocations: 3.938 kB / 0.5994 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.4608, allocations: 1.197 MB / 0.6006 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/0.4613, allocations: 255.7 kB / 0.6008 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.4615, allocations: 15.97 kB / 0.6008 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/0.4621, allocations: 15.98 kB / 0.6008 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.4621, allocations: 27.91 kB / 0.6009 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.4622, allocations: 20 kB / 0.6009 GB, free: 3.195 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002296/0.4645, allocations: 1.494 MB / 0.6024 GB, free: 1.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4645, allocations: 0 / 0.6024 GB, free: 1.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002961/0.4675, allocations: 0.5381 MB / 0.6029 GB, free: 1.145 MB / 462.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.002067/0.4695, allocations: 1.804 MB / 0.6046 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003916/0.4735, allocations: 2.352 MB / 0.6069 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4735, allocations: 0 / 0.6069 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.474, allocations: 371.8 kB / 0.6073 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.4753, allocations: 182.9 kB / 0.6075 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03511/0.5105, allocations: 23.12 MB / 0.63 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/0.513, allocations: 1.869 MB / 0.6319 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002706/0.5158, allocations: 1.24 MB / 0.6331 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.517, allocations: 0.7883 MB / 0.6338 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.5171, allocations: 7.938 kB / 0.6339 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06851/0.5856, allocations: 29.99 MB / 0.6631 GB, free: 144 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.06, allocations: 12.03 kB / 0.6632 GB, free: 140 kB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches