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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 205.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.93 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003404/0.003404, allocations: 79.81 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3471, allocations: 66.09 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00636/0.3534, allocations: 4.843 MB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.3567, allocations: 1.706 MB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.3571, allocations: 23.94 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.3584, allocations: 0.5213 MB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.3604, allocations: 0.9302 MB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.3605, allocations: 11.94 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.3627, allocations: 1.518 MB / 0.57 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009251/0.3636, allocations: 0.7477 MB / 0.5707 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006282/0.3642, allocations: 0.533 MB / 0.5713 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.3663, allocations: 1.691 MB / 0.5729 GB, free: 7.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.3665, allocations: 88 kB / 0.573 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005455/0.3671, allocations: 227.7 kB / 0.5732 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.3677, allocations: 0.7164 MB / 0.5739 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.3683, allocations: 0.5931 MB / 0.5745 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.3712, allocations: 2.811 MB / 0.5772 GB, free: 2.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3712, allocations: 0 / 0.5772 GB, free: 2.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3712, allocations: 0 / 0.5772 GB, free: 2.988 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.938e-05/0.3712, allocations: 0 / 0.5772 GB, free: 2.988 MB / 414.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.002927/0.3742, allocations: 2.03 MB / 0.5792 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3742, allocations: 8.031 kB / 0.5792 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004075/0.3746, allocations: 381.8 kB / 0.5796 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.3795, allocations: 1.509 MB / 0.5811 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.3812, allocations: 0.812 MB / 0.5818 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.3813, allocations: 90.22 kB / 0.5819 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.3816, allocations: 107.9 kB / 0.582 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006501/0.3881, allocations: 4.972 MB / 0.5869 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.3881, allocations: 27.75 kB / 0.5869 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.3883, allocations: 59.91 kB / 0.587 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/0.3902, allocations: 1.181 MB / 0.5881 GB, free: 7.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0068/0.397, allocations: 4.254 MB / 0.5923 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0221/0.4191, allocations: 19.79 MB / 0.6116 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4203, allocations: 0.7253 MB / 0.6123 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.4208, allocations: 347.3 kB / 0.6127 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4209, allocations: 11.92 kB / 0.6127 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4209, allocations: 42.5 kB / 0.6127 GB, free: 13.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.577e-06/0.4209, allocations: 3.938 kB / 0.6127 GB, free: 13.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001968/0.4229, allocations: 1.142 MB / 0.6138 GB, free: 12.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.423, allocations: 136.5 kB / 0.614 GB, free: 11.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/0.4265, allocations: 2.595 MB / 0.6165 GB, free: 9.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.4266, allocations: 33.7 kB / 0.6165 GB, free: 9.293 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.4281, allocations: 1.878 MB / 0.6184 GB, free: 7.395 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.4284, allocations: 317.8 kB / 0.6187 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009918/0.4294, allocations: 0.7978 MB / 0.6194 GB, free: 6.277 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4296, allocations: 349.9 kB / 0.6198 GB, free: 5.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.4311, allocations: 1.03 MB / 0.6208 GB, free: 4.898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/0.4349, allocations: 3.683 MB / 0.6244 GB, free: 15.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005989/0.4409, allocations: 5.172 MB / 0.6294 GB, free: 9.379 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.231e-05/0.441, allocations: 28 kB / 0.6295 GB, free: 9.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007877/0.4488, allocations: 4.459 MB / 0.6338 GB, free: 4.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.4489, allocations: 50.34 kB / 0.6339 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.449, allocations: 96 kB / 0.6339 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/0.4491, allocations: 120.6 kB / 0.6341 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/0.4514, allocations: 0.8655 MB / 0.6349 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/0.4515, allocations: 187.2 kB / 0.6351 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.4539, allocations: 0.5777 MB / 0.6356 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.4542, allocations: 248 kB / 0.6359 GB, free: 2.754 MB / 478.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.001546/0.4557, allocations: 1.184 MB / 0.637 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.456, allocations: 206.5 kB / 0.6372 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.4563, allocations: 221.8 kB / 0.6375 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/0.4564, allocations: 15.98 kB / 0.6375 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.4564, allocations: 7.938 kB / 0.6375 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4564, allocations: 0 / 0.6375 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.4599, allocations: 1.955 MB / 0.6394 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4599, allocations: 0 / 0.6394 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.4602, allocations: 67.89 kB / 0.6394 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.4602, allocations: 0 / 0.6394 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.4602, allocations: 16 kB / 0.6395 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4602, allocations: 0 / 0.6395 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4602, allocations: 7.984 kB / 0.6395 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.4615, allocations: 1.205 MB / 0.6406 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.4619, allocations: 174.5 kB / 0.6408 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.462, allocations: 11.91 kB / 0.6408 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.4625, allocations: 19.97 kB / 0.6408 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.4626, allocations: 31.89 kB / 0.6409 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.4626, allocations: 20 kB / 0.6409 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001972/0.4646, allocations: 1.49 MB / 0.6423 GB, free: 12.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4646, allocations: 0 / 0.6423 GB, free: 12.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002555/0.4672, allocations: 0.5265 MB / 0.6429 GB, free: 11.5 MB / 494.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.00183/0.469, allocations: 1.798 MB / 0.6446 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.4725, allocations: 2.271 MB / 0.6468 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.4725, allocations: 4 kB / 0.6468 GB, free: 7.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.473, allocations: 337.6 kB / 0.6472 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.474, allocations: 183.3 kB / 0.6473 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/0.5045, allocations: 23.08 MB / 0.6699 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.5061, allocations: 1.279 MB / 0.6711 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002557/0.5087, allocations: 1.259 MB / 0.6724 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.5097, allocations: 0.7883 MB / 0.6731 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of SimCode: time 1.253e-06/0.5097, allocations: 0 / 0.6731 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06794/0.5776, allocations: 29.49 MB / 0.7019 GB, free: 11.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.88, allocations: 3.938 kB / 0.7019 GB, free: 11.88 MB / 0.545 GB " [Timeout remaining time 646] (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.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable visGroundAxis.n[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.978982117958367]