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.00131/0.00131, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001451/0.001451, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.493/1.493, allocations: 230.4 MB / 254 MB, free: 15.18 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.2412/0.2412, allocations: 46.91 MB / 357 MB, free: 10.22 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.0025/0.0025, allocations: 76.16 kB / 0.4909 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1454, allocations: 66.04 MB / 0.5554 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007951/0.1533, allocations: 5.437 MB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.1578, allocations: 1.811 MB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000871/0.1587, allocations: 23.94 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1604, allocations: 0.5407 MB / 0.5631 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.1632, allocations: 0.9263 MB / 0.564 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1634, allocations: 19.97 kB / 0.564 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.1659, allocations: 1.521 MB / 0.5655 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.1672, allocations: 0.676 MB / 0.5661 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1685, allocations: 0.5291 MB / 0.5666 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.1713, allocations: 1.703 MB / 0.5683 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004236/0.1717, allocations: 88 kB / 0.5684 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.1727, allocations: 327.5 kB / 0.5687 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.1738, allocations: 0.7203 MB / 0.5694 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.1754, allocations: 0.8612 MB / 0.5703 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.1792, allocations: 2.815 MB / 0.573 GB, free: 3.496 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1792, allocations: 0 / 0.573 GB, free: 3.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1792, allocations: 0 / 0.573 GB, free: 3.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.769e-05/0.1792, allocations: 0 / 0.573 GB, free: 3.496 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.00344/0.1827, allocations: 2.105 MB / 0.5751 GB, free: 1.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.423e-05/0.1827, allocations: 12.03 kB / 0.5751 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004797/0.1832, allocations: 373.8 kB / 0.5754 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.1884, allocations: 1.513 MB / 0.5769 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.1903, allocations: 0.853 MB / 0.5777 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.171e-05/0.1904, allocations: 90.22 kB / 0.5778 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.1907, allocations: 103.9 kB / 0.5779 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007305/0.198, allocations: 4.98 MB / 0.5828 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.198, allocations: 19.81 kB / 0.5828 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.1982, allocations: 63.91 kB / 0.5829 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00201/0.2002, allocations: 1.178 MB / 0.584 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007301/0.2075, allocations: 4.266 MB / 0.5882 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3211/0.5286, allocations: 20.54 MB / 0.6082 GB, free: 17.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.5299, allocations: 1.178 MB / 0.6094 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.5304, allocations: 354.8 kB / 0.6097 GB, free: 16.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.5304, allocations: 4.625 kB / 0.6097 GB, free: 16.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.5304, allocations: 46.2 kB / 0.6098 GB, free: 16.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.897e-06/0.5304, allocations: 0 / 0.6098 GB, free: 16.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001811/0.5322, allocations: 1.164 MB / 0.6109 GB, free: 15.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.5323, allocations: 134.2 kB / 0.611 GB, free: 15.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.5354, allocations: 2.428 MB / 0.6134 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.5355, allocations: 31.98 kB / 0.6134 GB, free: 14.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009524/0.5364, allocations: 1.876 MB / 0.6153 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.5367, allocations: 314.9 kB / 0.6156 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.5377, allocations: 0.795 MB / 0.6163 GB, free: 13.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.5378, allocations: 355.9 kB / 0.6167 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.5393, allocations: 1.031 MB / 0.6177 GB, free: 12.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.5418, allocations: 3.693 MB / 0.6213 GB, free: 8.398 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/0.5462, allocations: 5.159 MB / 0.6263 GB, free: 3.562 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.243e-05/0.5463, allocations: 26.38 kB / 0.6264 GB, free: 3.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.0073/0.5536, allocations: 4.464 MB / 0.6307 GB, free: 1.828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.5537, allocations: 49 kB / 0.6308 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.413e-05/0.5538, allocations: 95.44 kB / 0.6309 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.5539, allocations: 124.3 kB / 0.631 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.5561, allocations: 0.8753 MB / 0.6318 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001393/0.5562, allocations: 188.6 kB / 0.632 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.5586, allocations: 0.5616 MB / 0.6326 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.5589, allocations: 259.2 kB / 0.6328 GB, free: 1.273 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.00133/0.5603, allocations: 1.19 MB / 0.634 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.5605, allocations: 194.7 kB / 0.6342 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.5608, allocations: 217.5 kB / 0.6344 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.933e-05/0.5609, allocations: 23.69 kB / 0.6344 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.5609, allocations: 3.844 kB / 0.6344 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5609, allocations: 0 / 0.6344 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/0.5641, allocations: 2.082 MB / 0.6364 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5641, allocations: 0 / 0.6364 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.5644, allocations: 59.23 kB / 0.6365 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5644, allocations: 0 / 0.6365 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.5644, allocations: 20.03 kB / 0.6365 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.5644, allocations: 3.938 kB / 0.6365 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5644, allocations: 3.844 kB / 0.6365 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.5656, allocations: 1.2 MB / 0.6377 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.566, allocations: 258.6 kB / 0.6379 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5662, allocations: 11.5 kB / 0.6379 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.5667, allocations: 21.14 kB / 0.638 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.5667, allocations: 37.55 kB / 0.638 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.5668, allocations: 18.25 kB / 0.638 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00202/0.5688, allocations: 1.485 MB / 0.6395 GB, free: 14 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5688, allocations: 112 / 0.6395 GB, free: 14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003169/0.572, allocations: 0.5312 MB / 0.64 GB, free: 13.73 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.002049/0.574, allocations: 1.797 MB / 0.6417 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.5781, allocations: 2.269 MB / 0.6439 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.5781, allocations: 0 / 0.6439 GB, free: 9.656 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.5786, allocations: 339 kB / 0.6443 GB, free: 9.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5798, allocations: 176.5 kB / 0.6444 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/0.61, allocations: 23.07 MB / 0.667 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.6118, allocations: 1.863 MB / 0.6688 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002581/0.6144, allocations: 1.258 MB / 0.67 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.6155, allocations: 0.7922 MB / 0.6708 GB, free: 10.73 MB / 494.1 MB Notification: Performance of SimCode: time 1.432e-06/0.6155, allocations: 0 / 0.6708 GB, free: 10.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06476/0.6803, allocations: 30.11 MB / 0.7002 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.41, allocations: 11.02 kB / 0.7002 GB, free: 12.76 MB / 0.5137 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.750341622973792]