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.001335/0.001335, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002325/0.002325, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2431/0.2431, allocations: 44.91 MB / 358.8 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 179] 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.003045/0.003045, allocations: 71.89 kB / 0.4931 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3752, allocations: 65.47 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007152/0.3824, allocations: 5.446 MB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.3863, allocations: 1.815 MB / 0.5641 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006895/0.387, allocations: 23.94 kB / 0.5641 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3884, allocations: 0.5524 MB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.3905, allocations: 0.9302 MB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.3906, allocations: 15.97 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00211/0.3927, allocations: 1.526 MB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.3936, allocations: 0.7399 MB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.3944, allocations: 0.5291 MB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.3966, allocations: 1.703 MB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.3969, allocations: 92 kB / 0.5701 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.3977, allocations: 327.5 kB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007305/0.3984, allocations: 0.7203 MB / 0.5711 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008332/0.3992, allocations: 0.869 MB / 0.5719 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.4023, allocations: 2.804 MB / 0.5747 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4023, allocations: 0 / 0.5747 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4023, allocations: 0 / 0.5747 GB, free: 5.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.4023, allocations: 0 / 0.5747 GB, free: 5.633 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.002887/0.4052, allocations: 2.041 MB / 0.5767 GB, free: 3.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4052, allocations: 8.031 kB / 0.5767 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004045/0.4056, allocations: 373.9 kB / 0.577 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004671/0.4103, allocations: 1.516 MB / 0.5785 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.412, allocations: 0.7926 MB / 0.5793 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.412, allocations: 90.22 kB / 0.5794 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.4122, allocations: 107.9 kB / 0.5795 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006559/0.4188, allocations: 4.98 MB / 0.5843 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.4188, allocations: 27.69 kB / 0.5844 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.419, allocations: 67.91 kB / 0.5844 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.4209, allocations: 1.178 MB / 0.5856 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007236/0.4281, allocations: 4.258 MB / 0.5897 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02475/0.4529, allocations: 20.47 MB / 0.6097 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.4543, allocations: 0.7356 MB / 0.6104 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.4548, allocations: 347.2 kB / 0.6108 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4548, allocations: 4 kB / 0.6108 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.4548, allocations: 42.5 kB / 0.6108 GB, free: 15.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.405e-06/0.4548, allocations: 0 / 0.6108 GB, free: 15.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.00192/0.4568, allocations: 1.154 MB / 0.6119 GB, free: 14.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.4569, allocations: 136.5 kB / 0.6121 GB, free: 13.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.4602, allocations: 2.425 MB / 0.6144 GB, free: 11.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.4603, allocations: 41.62 kB / 0.6145 GB, free: 11.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.4618, allocations: 1.878 MB / 0.6163 GB, free: 9.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.4621, allocations: 313.8 kB / 0.6166 GB, free: 9.211 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009404/0.4631, allocations: 0.7944 MB / 0.6174 GB, free: 8.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4633, allocations: 350 kB / 0.6177 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4648, allocations: 1.038 MB / 0.6187 GB, free: 7.023 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.4685, allocations: 3.68 MB / 0.6223 GB, free: 2.016 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00621/0.4747, allocations: 5.163 MB / 0.6274 GB, free: 11.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-05/0.4748, allocations: 28 kB / 0.6274 GB, free: 11.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007173/0.4819, allocations: 4.461 MB / 0.6317 GB, free: 7.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.482, allocations: 48 kB / 0.6318 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.4821, allocations: 96 kB / 0.6319 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.4822, allocations: 120 kB / 0.632 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.4845, allocations: 0.8701 MB / 0.6328 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001502/0.4847, allocations: 187.2 kB / 0.633 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/0.487, allocations: 0.5738 MB / 0.6336 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/0.4873, allocations: 256 kB / 0.6338 GB, free: 4.887 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.001633/0.489, allocations: 1.188 MB / 0.635 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.4893, allocations: 202.6 kB / 0.6352 GB, free: 3.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.4897, allocations: 217.8 kB / 0.6354 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.585e-05/0.4897, allocations: 16 kB / 0.6354 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4897, allocations: 0 / 0.6354 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4898, allocations: 11.98 kB / 0.6354 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.4941, allocations: 2.041 MB / 0.6374 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.4941, allocations: 3.984 kB / 0.6374 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.4944, allocations: 63.91 kB / 0.6375 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4944, allocations: 0 / 0.6375 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.4944, allocations: 12 kB / 0.6375 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.4944, allocations: 0 / 0.6375 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/0.4944, allocations: 7.922 kB / 0.6375 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.4958, allocations: 1.199 MB / 0.6387 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.4963, allocations: 182.5 kB / 0.6388 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.4965, allocations: 8.094 kB / 0.6388 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.4971, allocations: 19.92 kB / 0.6389 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-05/0.4972, allocations: 27.89 kB / 0.6389 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.4972, allocations: 35.89 kB / 0.6389 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002181/0.4994, allocations: 1.486 MB / 0.6404 GB, free: 14.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4994, allocations: 0 / 0.6404 GB, free: 14.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002941/0.5023, allocations: 0.5264 MB / 0.6409 GB, free: 13.54 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.001995/0.5043, allocations: 1.803 MB / 0.6427 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004085/0.5084, allocations: 2.252 MB / 0.6449 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5084, allocations: 3.938 kB / 0.6449 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.5089, allocations: 341.3 kB / 0.6452 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5103, allocations: 173.8 kB / 0.6453 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/0.547, allocations: 23.09 MB / 0.6679 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/0.5492, allocations: 1.861 MB / 0.6697 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002541/0.5518, allocations: 1.255 MB / 0.6709 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.5528, allocations: 0.7844 MB / 0.6717 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/0.5528, allocations: 7.875 kB / 0.6717 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0726/0.6254, allocations: 33.33 MB / 0.7043 GB, free: 9.383 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.26, allocations: 3.859 kB / 0.7043 GB, free: 9.379 MB / 0.545 GB " [Timeout remaining time 644] (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: 19.399203478002164]