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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 204.3 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2208/0.2208, allocations: 44.91 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 69.92 kB / 499.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1409, allocations: 65.42 MB / 0.5517 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007255/0.1481, allocations: 5.428 MB / 0.557 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.1519, allocations: 1.827 MB / 0.5588 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004297/0.1523, allocations: 19.94 kB / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1536, allocations: 0.5485 MB / 0.5594 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.1555, allocations: 0.9185 MB / 0.5603 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.1556, allocations: 11.98 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.1576, allocations: 1.526 MB / 0.5618 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.1585, allocations: 0.6759 MB / 0.5624 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.1591, allocations: 0.5291 MB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.1611, allocations: 1.699 MB / 0.5646 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.1613, allocations: 92 kB / 0.5647 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006198/0.1619, allocations: 319.5 kB / 0.565 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.1626, allocations: 0.7242 MB / 0.5657 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.1633, allocations: 0.8729 MB / 0.5665 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.1662, allocations: 2.808 MB / 0.5693 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1662, allocations: 0 / 0.5693 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1662, allocations: 3.938 kB / 0.5693 GB, free: 8.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.763e-05/0.1663, allocations: 0 / 0.5693 GB, free: 8.105 MB / 430.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.003006/0.1693, allocations: 2.101 MB / 0.5713 GB, free: 5.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1693, allocations: 12.03 kB / 0.5714 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004163/0.1697, allocations: 373.9 kB / 0.5717 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/0.175, allocations: 1.512 MB / 0.5732 GB, free: 4.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.1771, allocations: 0.853 MB / 0.574 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.1772, allocations: 90.22 kB / 0.5741 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/0.1774, allocations: 111.9 kB / 0.5742 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.1844, allocations: 4.976 MB / 0.5791 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.1844, allocations: 23.75 kB / 0.5791 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.1846, allocations: 63.91 kB / 0.5792 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/0.1866, allocations: 1.182 MB / 0.5803 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007662/0.1942, allocations: 4.254 MB / 0.5845 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3006/0.4948, allocations: 20.53 MB / 0.6045 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.4967, allocations: 1.182 MB / 0.6057 GB, free: 20.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.4972, allocations: 350.9 kB / 0.606 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.4973, allocations: 9.312 kB / 0.606 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.4973, allocations: 44.2 kB / 0.6061 GB, free: 20.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 4.298e-06/0.4973, allocations: 0 / 0.6061 GB, free: 20.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002609/0.4999, allocations: 1.166 MB / 0.6072 GB, free: 20.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.5, allocations: 137.1 kB / 0.6073 GB, free: 20.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.5042, allocations: 2.432 MB / 0.6097 GB, free: 19.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.5042, allocations: 32.33 kB / 0.6097 GB, free: 19.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.5056, allocations: 1.874 MB / 0.6116 GB, free: 17.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.5059, allocations: 318.2 kB / 0.6119 GB, free: 17.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.5071, allocations: 0.7917 MB / 0.6126 GB, free: 17.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5073, allocations: 352.1 kB / 0.613 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.5091, allocations: 1.032 MB / 0.614 GB, free: 16.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.512, allocations: 3.693 MB / 0.6176 GB, free: 12.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/0.5168, allocations: 5.154 MB / 0.6226 GB, free: 7.941 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/0.5169, allocations: 26.66 kB / 0.6226 GB, free: 7.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008062/0.525, allocations: 4.453 MB / 0.627 GB, free: 6.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.5251, allocations: 46.98 kB / 0.627 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/0.5253, allocations: 99.09 kB / 0.6271 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.5256, allocations: 127.7 kB / 0.6273 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/0.5282, allocations: 0.8683 MB / 0.6281 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000197/0.5284, allocations: 185.4 kB / 0.6283 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.5312, allocations: 0.5735 MB / 0.6288 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004751/0.5317, allocations: 255 kB / 0.6291 GB, free: 5.66 MB / 446.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.002054/0.5338, allocations: 1.189 MB / 0.6302 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.5341, allocations: 199.1 kB / 0.6304 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.5345, allocations: 221.6 kB / 0.6306 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/0.5346, allocations: 24.98 kB / 0.6307 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.5346, allocations: 3.938 kB / 0.6307 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.5346, allocations: 2.016 kB / 0.6307 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.5379, allocations: 2.066 MB / 0.6327 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5379, allocations: 0 / 0.6327 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.5382, allocations: 61.59 kB / 0.6328 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.5382, allocations: 3.969 kB / 0.6328 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.5382, allocations: 19.12 kB / 0.6328 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.5382, allocations: 2.375 kB / 0.6328 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5382, allocations: 0 / 0.6328 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.5391, allocations: 1.205 MB / 0.634 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.5394, allocations: 261.8 kB / 0.6342 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.5395, allocations: 7.734 kB / 0.6342 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.54, allocations: 25.72 kB / 0.6342 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.5401, allocations: 22.31 kB / 0.6343 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.5401, allocations: 26.7 kB / 0.6343 GB, free: 3.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00148/0.5416, allocations: 1.49 MB / 0.6357 GB, free: 2.492 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5416, allocations: 0 / 0.6357 GB, free: 2.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002731/0.5443, allocations: 0.5175 MB / 0.6362 GB, free: 2.367 MB / 446.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.001188/0.5455, allocations: 1.807 MB / 0.638 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003565/0.5491, allocations: 2.267 MB / 0.6402 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5491, allocations: 0.9375 kB / 0.6402 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.5495, allocations: 335.7 kB / 0.6405 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5507, allocations: 179.6 kB / 0.6407 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03663/0.5873, allocations: 23.07 MB / 0.6632 GB, free: 3.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.5897, allocations: 1.869 MB / 0.6651 GB, free: 2.012 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002796/0.5925, allocations: 1.252 MB / 0.6663 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.5937, allocations: 0.7843 MB / 0.6671 GB, free: 15.97 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5937, allocations: 0 / 0.6671 GB, free: 15.97 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07076/0.6644, allocations: 30.12 MB / 0.6965 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.59, allocations: 3.984 kB / 0.6965 GB, free: 2.055 MB / 0.4981 GB " [Timeout remaining time 646] (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.00019992 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable visGroundAxis.n[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.717558315955102]