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.001299/0.001299, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.001415/0.001415, allocations: 210.8 kB / 23.74 MB, free: 4.543 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.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2277/0.2277, allocations: 46.92 MB / 360.8 MB, free: 4.16 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.002235/0.002235, allocations: 83.86 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3588, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007254/0.366, allocations: 5.429 MB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.3697, allocations: 1.823 MB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.3701, allocations: 19.94 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3715, allocations: 0.5602 MB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.3735, allocations: 0.9263 MB / 0.5693 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.3736, allocations: 11.98 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3757, allocations: 1.533 MB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.3767, allocations: 0.7321 MB / 0.5715 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007087/0.3774, allocations: 0.533 MB / 0.572 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.3797, allocations: 1.707 MB / 0.5737 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.3799, allocations: 88 kB / 0.5738 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.3807, allocations: 327.5 kB / 0.5741 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007418/0.3814, allocations: 0.7203 MB / 0.5748 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008867/0.3823, allocations: 0.869 MB / 0.5756 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.3856, allocations: 2.811 MB / 0.5784 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3856, allocations: 0 / 0.5784 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3856, allocations: 0 / 0.5784 GB, free: 2.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.68e-05/0.3856, allocations: 4 kB / 0.5784 GB, free: 2.117 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.003691/0.3893, allocations: 2.022 MB / 0.5804 GB, free: 52 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.3894, allocations: 12.03 kB / 0.5804 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004966/0.3899, allocations: 381.8 kB / 0.5807 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/0.3947, allocations: 1.512 MB / 0.5822 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.3965, allocations: 0.7964 MB / 0.583 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.3966, allocations: 90.2 kB / 0.5831 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.3968, allocations: 107.9 kB / 0.5832 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006641/0.4035, allocations: 4.98 MB / 0.588 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.4035, allocations: 19.81 kB / 0.5881 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.4037, allocations: 67.89 kB / 0.5881 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001896/0.4056, allocations: 1.181 MB / 0.5893 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006762/0.4124, allocations: 4.258 MB / 0.5934 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02256/0.4349, allocations: 20.46 MB / 0.6134 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.4363, allocations: 0.7315 MB / 0.6141 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.4368, allocations: 355.2 kB / 0.6145 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.4369, allocations: 8.047 kB / 0.6145 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.4369, allocations: 38.5 kB / 0.6145 GB, free: 11.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.416e-06/0.4369, allocations: 0 / 0.6145 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001914/0.4388, allocations: 1.151 MB / 0.6156 GB, free: 10.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4389, allocations: 140.5 kB / 0.6158 GB, free: 10.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.4424, allocations: 2.425 MB / 0.6181 GB, free: 7.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/0.4424, allocations: 33.7 kB / 0.6182 GB, free: 7.914 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.444, allocations: 1.87 MB / 0.62 GB, free: 6.023 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.4444, allocations: 325.7 kB / 0.6203 GB, free: 5.703 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.4455, allocations: 0.7979 MB / 0.6211 GB, free: 4.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.4457, allocations: 349.9 kB / 0.6214 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.4472, allocations: 1.034 MB / 0.6224 GB, free: 3.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.4512, allocations: 3.683 MB / 0.626 GB, free: 14.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006521/0.4577, allocations: 5.164 MB / 0.6311 GB, free: 8.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.909e-05/0.4578, allocations: 28 kB / 0.6311 GB, free: 7.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008044/0.4658, allocations: 4.454 MB / 0.6354 GB, free: 3.516 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.4659, allocations: 44 kB / 0.6355 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.466, allocations: 96.91 kB / 0.6356 GB, free: 3.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.4662, allocations: 124 kB / 0.6357 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.4686, allocations: 0.8772 MB / 0.6366 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.4688, allocations: 187.3 kB / 0.6367 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.4713, allocations: 0.5699 MB / 0.6373 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/0.4717, allocations: 252 kB / 0.6375 GB, free: 1.375 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.001736/0.4734, allocations: 1.189 MB / 0.6387 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.4737, allocations: 198.6 kB / 0.6389 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.4741, allocations: 225.7 kB / 0.6391 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-05/0.4741, allocations: 20 kB / 0.6391 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4741, allocations: 0 / 0.6391 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4742, allocations: 0 / 0.6391 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.4779, allocations: 2.051 MB / 0.6411 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4779, allocations: 0 / 0.6411 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.4782, allocations: 63.89 kB / 0.6412 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4782, allocations: 4 kB / 0.6412 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.4782, allocations: 11.94 kB / 0.6412 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.4782, allocations: 4.094 kB / 0.6412 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.4782, allocations: 11.88 kB / 0.6412 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.4796, allocations: 1.2 MB / 0.6424 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.4799, allocations: 178.5 kB / 0.6426 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.4801, allocations: 4 kB / 0.6426 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.4805, allocations: 19.97 kB / 0.6426 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.4806, allocations: 39.88 kB / 0.6426 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.4807, allocations: 20 kB / 0.6426 GB, free: 12.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002161/0.4828, allocations: 1.49 MB / 0.6441 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4828, allocations: 3.938 kB / 0.6441 GB, free: 10.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002768/0.4856, allocations: 0.5264 MB / 0.6446 GB, free: 10.03 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.001883/0.4875, allocations: 1.791 MB / 0.6464 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00395/0.4914, allocations: 2.266 MB / 0.6486 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4914, allocations: 0 / 0.6486 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.4919, allocations: 335.7 kB / 0.6489 GB, free: 5.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.493, allocations: 180.1 kB / 0.6491 GB, free: 5.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03254/0.5256, allocations: 23.09 MB / 0.6716 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/0.5275, allocations: 1.865 MB / 0.6734 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002519/0.53, allocations: 1.255 MB / 0.6746 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.531, allocations: 0.7805 MB / 0.6754 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of SimCode: time 1.203e-06/0.531, allocations: 0 / 0.6754 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07434/0.6054, allocations: 33.32 MB / 0.708 GB, free: 5.828 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.16, allocations: 23.62 kB / 0.708 GB, free: 5.809 MB / 0.545 GB " [Timeout remaining time 644] (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: 19.197424258003593]