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.001525/0.001525, allocations: 121 kB / 18.5 MB, free: 4.562 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.001915/0.001915, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.221/0.221, allocations: 44.91 MB / 355.8 MB, free: 12.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",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.002191/0.002191, allocations: 63.91 kB / 0.4885 GB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1227, allocations: 65.43 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007337/0.13, allocations: 5.426 MB / 0.5577 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003854/0.1339, allocations: 1.815 MB / 0.5595 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.1345, allocations: 23.94 kB / 0.5595 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.1361, allocations: 0.5446 MB / 0.56 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.1384, allocations: 0.9262 MB / 0.5609 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1386, allocations: 11.98 kB / 0.561 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.1408, allocations: 1.525 MB / 0.5624 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.142, allocations: 0.6837 MB / 0.5631 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008572/0.1429, allocations: 0.5291 MB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.145, allocations: 1.695 MB / 0.5653 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002565/0.1452, allocations: 92 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006426/0.1459, allocations: 323.5 kB / 0.5657 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00066/0.1465, allocations: 0.7164 MB / 0.5664 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000809/0.1473, allocations: 0.8728 MB / 0.5672 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.1507, allocations: 2.804 MB / 0.57 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1507, allocations: 0 / 0.57 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1507, allocations: 0 / 0.57 GB, free: 8.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.901e-05/0.1508, allocations: 0 / 0.57 GB, free: 8.109 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.00367/0.1545, allocations: 2.113 MB / 0.572 GB, free: 5.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1545, allocations: 8.031 kB / 0.572 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.834e-05/0.1546, allocations: 46.38 kB / 0.5721 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003962/0.155, allocations: 373.9 kB / 0.5724 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005026/0.16, allocations: 1.513 MB / 0.5739 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.1616, allocations: 0.8607 MB / 0.5748 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.1617, allocations: 90.03 kB / 0.5748 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.1619, allocations: 115.8 kB / 0.575 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007162/0.169, allocations: 4.968 MB / 0.5798 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.1691, allocations: 19.81 kB / 0.5798 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.1693, allocations: 67.91 kB / 0.5799 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002109/0.1714, allocations: 1.182 MB / 0.581 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007579/0.179, allocations: 4.254 MB / 0.5852 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2824/0.4614, allocations: 20.54 MB / 0.6053 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.4629, allocations: 1.177 MB / 0.6064 GB, free: 20.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.4634, allocations: 360.1 kB / 0.6067 GB, free: 20.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.4634, allocations: 11.09 kB / 0.6068 GB, free: 20.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4635, allocations: 34.73 kB / 0.6068 GB, free: 20.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.697e-06/0.4635, allocations: 3.156 kB / 0.6068 GB, free: 20.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002094/0.4656, allocations: 1.158 MB / 0.6079 GB, free: 20.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.4656, allocations: 133.7 kB / 0.6081 GB, free: 20.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.4697, allocations: 2.435 MB / 0.6104 GB, free: 19.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.4698, allocations: 31.61 kB / 0.6105 GB, free: 19.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.471, allocations: 1.876 MB / 0.6123 GB, free: 18.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.4712, allocations: 321.4 kB / 0.6126 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.4723, allocations: 0.7867 MB / 0.6134 GB, free: 17.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4724, allocations: 356.4 kB / 0.6137 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.4742, allocations: 1.035 MB / 0.6147 GB, free: 16.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/0.4777, allocations: 3.69 MB / 0.6183 GB, free: 12.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006917/0.4846, allocations: 5.154 MB / 0.6234 GB, free: 8.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001968/0.4848, allocations: 26.62 kB / 0.6234 GB, free: 8.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.009622/0.4944, allocations: 4.454 MB / 0.6277 GB, free: 6.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.4945, allocations: 47.11 kB / 0.6278 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.4947, allocations: 94.56 kB / 0.6279 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.4948, allocations: 124.2 kB / 0.628 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.4973, allocations: 0.8725 MB / 0.6288 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001244/0.4974, allocations: 189.2 kB / 0.629 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.5003, allocations: 0.58 MB / 0.6296 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/0.5007, allocations: 251.5 kB / 0.6298 GB, free: 5.852 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.00155/0.5022, allocations: 1.185 MB / 0.631 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.5025, allocations: 197.5 kB / 0.6312 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.5028, allocations: 220.9 kB / 0.6314 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.244e-05/0.5028, allocations: 18.02 kB / 0.6314 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.5029, allocations: 7.781 kB / 0.6314 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5029, allocations: 4 kB / 0.6314 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.5059, allocations: 2.066 MB / 0.6334 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5059, allocations: 0 / 0.6334 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.5061, allocations: 63.06 kB / 0.6335 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5061, allocations: 112 / 0.6335 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.5061, allocations: 15.19 kB / 0.6335 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5062, allocations: 0 / 0.6335 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5062, allocations: 3.625 kB / 0.6335 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008655/0.507, allocations: 1.22 MB / 0.6347 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.5073, allocations: 256 kB / 0.6349 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.5074, allocations: 7.781 kB / 0.6349 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.5079, allocations: 14.78 kB / 0.635 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.5079, allocations: 27.58 kB / 0.635 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.508, allocations: 26.5 kB / 0.635 GB, free: 3.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.5094, allocations: 1.491 MB / 0.6365 GB, free: 2.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5094, allocations: 0 / 0.6365 GB, free: 2.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0026/0.512, allocations: 0.5162 MB / 0.637 GB, free: 2.566 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.001232/0.5132, allocations: 1.803 MB / 0.6387 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.5167, allocations: 2.275 MB / 0.641 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5167, allocations: 0 / 0.641 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.5172, allocations: 339.7 kB / 0.6413 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.5183, allocations: 179.5 kB / 0.6414 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/0.552, allocations: 23.09 MB / 0.664 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.554, allocations: 1.863 MB / 0.6658 GB, free: 1.918 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002572/0.5566, allocations: 1.249 MB / 0.667 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.5576, allocations: 0.7921 MB / 0.6678 GB, free: 15.88 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5576, allocations: 0 / 0.6678 GB, free: 15.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06123/0.6189, allocations: 30.16 MB / 0.6973 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.44, allocations: 8.047 kB / 0.6973 GB, free: 1.922 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.67902356898412]