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.001486/0.001486, allocations: 108.8 kB / 17.78 MB, free: 5.27 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.00132/0.001321, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.434/1.434, 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.2267/0.2267, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 59.91 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4105, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007078/0.4176, allocations: 5.416 MB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004934/0.4226, allocations: 1.75 MB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008695/0.4235, allocations: 21.62 kB / 0.5254 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4252, allocations: 0.5197 MB / 0.5259 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.4279, allocations: 0.9262 MB / 0.5268 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.4281, allocations: 14.97 kB / 0.5268 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.4306, allocations: 1.555 MB / 0.5284 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.4318, allocations: 0.7541 MB / 0.5291 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.4329, allocations: 0.5198 MB / 0.5296 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.4351, allocations: 1.506 MB / 0.5311 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.4355, allocations: 89.03 kB / 0.5312 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007757/0.4363, allocations: 320.3 kB / 0.5315 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007463/0.4371, allocations: 0.7115 MB / 0.5322 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008829/0.438, allocations: 0.8816 MB / 0.533 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.4418, allocations: 2.825 MB / 0.5358 GB, free: 8.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.4419, allocations: 1.094 kB / 0.5358 GB, free: 8.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4419, allocations: 0 / 0.5358 GB, free: 8.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.277e-05/0.4419, allocations: 4 kB / 0.5358 GB, free: 8.234 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.003892/0.4458, allocations: 2.071 MB / 0.5378 GB, free: 6.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.4459, allocations: 8.906 kB / 0.5378 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004887/0.4464, allocations: 376.9 kB / 0.5382 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004939/0.4513, allocations: 1.501 MB / 0.5396 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.4533, allocations: 0.8621 MB / 0.5405 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.4534, allocations: 89.05 kB / 0.5406 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.4537, allocations: 114.7 kB / 0.5407 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007028/0.4607, allocations: 4.974 MB / 0.5455 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.4608, allocations: 27.75 kB / 0.5456 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.461, allocations: 63.89 kB / 0.5456 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001858/0.4629, allocations: 1.182 MB / 0.5468 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007369/0.4703, allocations: 4.254 MB / 0.5509 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02268/0.493, allocations: 20.5 MB / 0.571 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.4944, allocations: 1.22 MB / 0.5721 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.4949, allocations: 383.5 kB / 0.5725 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4949, allocations: 4 kB / 0.5725 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.4949, allocations: 50.48 kB / 0.5726 GB, free: 3.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 2.785e-06/0.4949, allocations: 0 / 0.5726 GB, free: 3.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.001653/0.4966, allocations: 1.141 MB / 0.5737 GB, free: 1.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.4967, allocations: 140.4 kB / 0.5738 GB, free: 1.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.5002, allocations: 2.429 MB / 0.5762 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.5003, allocations: 33.7 kB / 0.5762 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.5017, allocations: 1.799 MB / 0.578 GB, free: 13.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.5021, allocations: 300.6 kB / 0.5783 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.5032, allocations: 0.7893 MB / 0.579 GB, free: 12.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5033, allocations: 357.9 kB / 0.5794 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.5048, allocations: 1.03 MB / 0.5804 GB, free: 11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/0.5081, allocations: 3.691 MB / 0.584 GB, free: 5.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005232/0.5133, allocations: 5.151 MB / 0.589 GB, free: 15.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.708e-05/0.5135, allocations: 28 kB / 0.589 GB, free: 15.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007507/0.521, allocations: 4.456 MB / 0.5934 GB, free: 11.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.634e-05/0.5211, allocations: 44 kB / 0.5934 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/0.5212, allocations: 96.88 kB / 0.5935 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.5214, allocations: 124 kB / 0.5936 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.5238, allocations: 0.8772 MB / 0.5945 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001563/0.524, allocations: 183.3 kB / 0.5947 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.5267, allocations: 0.5526 MB / 0.5952 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/0.5271, allocations: 260 kB / 0.5955 GB, free: 8.883 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.001799/0.5289, allocations: 1.188 MB / 0.5966 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.5292, allocations: 185.5 kB / 0.5968 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.5296, allocations: 217.8 kB / 0.597 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-05/0.5297, allocations: 24 kB / 0.597 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.5297, allocations: 0 / 0.597 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5297, allocations: 3.984 kB / 0.597 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.5335, allocations: 2.072 MB / 0.5991 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.5335, allocations: 0 / 0.5991 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.5338, allocations: 59.91 kB / 0.5991 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.5338, allocations: 3.984 kB / 0.5991 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.5339, allocations: 12 kB / 0.5991 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5339, allocations: 0 / 0.5991 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5339, allocations: 11.94 kB / 0.5991 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.5351, allocations: 1.184 MB / 0.6003 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.5356, allocations: 254.4 kB / 0.6005 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.5358, allocations: 8 kB / 0.6005 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.5364, allocations: 19.97 kB / 0.6006 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.5364, allocations: 31.91 kB / 0.6006 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.5365, allocations: 19.98 kB / 0.6006 GB, free: 3.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002124/0.5386, allocations: 1.498 MB / 0.6021 GB, free: 1.969 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.5386, allocations: 0 / 0.6021 GB, free: 1.969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003265/0.5419, allocations: 0.534 MB / 0.6026 GB, free: 1.434 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.001908/0.5438, allocations: 1.787 MB / 0.6043 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003998/0.5478, allocations: 2.358 MB / 0.6066 GB, free: 13.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5479, allocations: 0 / 0.6066 GB, free: 13.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.5483, allocations: 371.7 kB / 0.607 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5498, allocations: 176.1 kB / 0.6072 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/0.5827, allocations: 23.04 MB / 0.6297 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.5846, allocations: 1.857 MB / 0.6315 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002366/0.5869, allocations: 1.247 MB / 0.6327 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009727/0.5879, allocations: 0.7882 MB / 0.6335 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.5879, allocations: 0 / 0.6335 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/0.6444, allocations: 30 MB / 0.6628 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.01, allocations: 19.53 kB / 0.6628 GB, free: 0.5195 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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