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.00178/0.00178, allocations: 113.2 kB / 17.78 MB, free: 5.277 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.002494/0.002494, allocations: 185 kB / 18.72 MB, free: 4.352 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.515/1.515, 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.2216/0.2216, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005846/0.3556, allocations: 5.409 MB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.3592, allocations: 1.75 MB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.3596, allocations: 22.22 kB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.3608, allocations: 0.5243 MB / 0.5259 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.3628, allocations: 0.9247 MB / 0.5268 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.363, allocations: 19.52 kB / 0.5269 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.3648, allocations: 1.556 MB / 0.5284 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009021/0.3657, allocations: 0.7516 MB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000684/0.3664, allocations: 0.5199 MB / 0.5296 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.3681, allocations: 1.511 MB / 0.5311 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.3684, allocations: 88.28 kB / 0.5312 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.369, allocations: 308.9 kB / 0.5315 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006249/0.3697, allocations: 0.7148 MB / 0.5322 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.3704, allocations: 0.882 MB / 0.533 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.3733, allocations: 2.842 MB / 0.5358 GB, free: 8.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3733, allocations: 0 / 0.5358 GB, free: 8.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3734, allocations: 4 kB / 0.5358 GB, free: 8.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.379e-05/0.3734, allocations: 1.156 kB / 0.5358 GB, free: 8.207 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.003084/0.3765, allocations: 2.124 MB / 0.5379 GB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3765, allocations: 9.25 kB / 0.5379 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000398/0.3769, allocations: 377.7 kB / 0.5383 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/0.3821, allocations: 1.514 MB / 0.5397 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.3839, allocations: 0.8588 MB / 0.5406 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/0.384, allocations: 89.91 kB / 0.5407 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.3843, allocations: 110.7 kB / 0.5408 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/0.3902, allocations: 4.984 MB / 0.5456 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.3902, allocations: 19.81 kB / 0.5456 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.3904, allocations: 59.91 kB / 0.5457 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001818/0.3922, allocations: 1.178 MB / 0.5469 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006362/0.3986, allocations: 4.262 MB / 0.551 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.42, allocations: 20.54 MB / 0.5711 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.4214, allocations: 1.228 MB / 0.5723 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.422, allocations: 387.2 kB / 0.5726 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.422, allocations: 4 kB / 0.5726 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.4221, allocations: 42.56 kB / 0.5727 GB, free: 2.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 4.398e-06/0.4221, allocations: 0 / 0.5727 GB, free: 2.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.001848/0.4239, allocations: 1.158 MB / 0.5738 GB, free: 1.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.424, allocations: 132.5 kB / 0.5739 GB, free: 1.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003752/0.4278, allocations: 2.437 MB / 0.5763 GB, free: 15.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.4278, allocations: 29.7 kB / 0.5764 GB, free: 15.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.4292, allocations: 1.882 MB / 0.5782 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.4296, allocations: 313.8 kB / 0.5785 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.4307, allocations: 0.8018 MB / 0.5793 GB, free: 12.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4309, allocations: 353.9 kB / 0.5796 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.4325, allocations: 1.026 MB / 0.5806 GB, free: 10.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/0.4359, allocations: 3.695 MB / 0.5842 GB, free: 5.715 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006417/0.4423, allocations: 5.152 MB / 0.5893 GB, free: 15.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.841e-05/0.4425, allocations: 28 kB / 0.5893 GB, free: 15.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007942/0.4504, allocations: 4.461 MB / 0.5936 GB, free: 10.74 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.393e-05/0.4505, allocations: 45.03 kB / 0.5937 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/0.4507, allocations: 99.94 kB / 0.5938 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.4508, allocations: 124 kB / 0.5939 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/0.4545, allocations: 0.8733 MB / 0.5947 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002229/0.4548, allocations: 183.3 kB / 0.5949 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/0.4592, allocations: 0.5699 MB / 0.5955 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/0.4598, allocations: 252 kB / 0.5957 GB, free: 8.602 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.003056/0.4628, allocations: 1.192 MB / 0.5969 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006159/0.4635, allocations: 198.6 kB / 0.5971 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/0.4641, allocations: 217.8 kB / 0.5973 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.13e-05/0.4642, allocations: 27.98 kB / 0.5973 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4642, allocations: 0 / 0.5973 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4643, allocations: 4 kB / 0.5973 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/0.4708, allocations: 2.069 MB / 0.5993 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.4708, allocations: 4 kB / 0.5993 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.4712, allocations: 55.91 kB / 0.5994 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.4712, allocations: 4 kB / 0.5994 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.4713, allocations: 11.98 kB / 0.5994 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/0.4713, allocations: 15.92 kB / 0.5994 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4713, allocations: 7.938 kB / 0.5994 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.4732, allocations: 1.188 MB / 0.6006 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007256/0.4739, allocations: 255.6 kB / 0.6008 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/0.4744, allocations: 8 kB / 0.6008 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.4755, allocations: 15.98 kB / 0.6008 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.4756, allocations: 35.84 kB / 0.6009 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.4757, allocations: 23.98 kB / 0.6009 GB, free: 3.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003351/0.479, allocations: 1.494 MB / 0.6024 GB, free: 1.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4791, allocations: 0 / 0.6024 GB, free: 1.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004878/0.484, allocations: 0.542 MB / 0.6029 GB, free: 1.113 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.002482/0.4864, allocations: 1.802 MB / 0.6047 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004955/0.4914, allocations: 2.354 MB / 0.607 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4914, allocations: 0 / 0.607 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.4921, allocations: 371.8 kB / 0.6073 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.494, allocations: 175.8 kB / 0.6075 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/0.5319, allocations: 23.12 MB / 0.6301 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/0.5343, allocations: 1.862 MB / 0.6319 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002569/0.5369, allocations: 1.247 MB / 0.6331 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.5381, allocations: 0.7844 MB / 0.6339 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.5381, allocations: 3.938 kB / 0.6339 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.5963, allocations: 30 MB / 0.6632 GB, free: 120 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.1, allocations: 15.88 kB / 0.6632 GB, free: 108 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