Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001369/0.001369, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.001847/0.001847, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2196/0.2196, allocations: 46.96 MB / 361.7 MB, free: 4.082 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.83 kB / 0.4969 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3627, allocations: 66.03 MB / 0.5613 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006788/0.3695, allocations: 4.814 MB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.3731, allocations: 1.698 MB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.3737, allocations: 19.94 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.3749, allocations: 0.5291 MB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.377, allocations: 0.9263 MB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.3771, allocations: 15.98 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.379, allocations: 1.526 MB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.3801, allocations: 0.7437 MB / 0.5714 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007502/0.3808, allocations: 0.5331 MB / 0.5719 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.383, allocations: 1.695 MB / 0.5735 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.3832, allocations: 88 kB / 0.5736 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/0.3838, allocations: 243.6 kB / 0.5739 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000662/0.3845, allocations: 0.7086 MB / 0.5745 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007048/0.3852, allocations: 0.6048 MB / 0.5751 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004256/0.3894, allocations: 2.804 MB / 0.5779 GB, free: 3.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.3895, allocations: 4 kB / 0.5779 GB, free: 3.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3895, allocations: 0 / 0.5779 GB, free: 3.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.3896, allocations: 0 / 0.5779 GB, free: 3.258 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.003721/0.3933, allocations: 2.026 MB / 0.5799 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.3933, allocations: 12.03 kB / 0.5799 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.899e-05/0.3934, allocations: 50.38 kB / 0.5799 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005424/0.394, allocations: 377.8 kB / 0.5803 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/0.3991, allocations: 1.509 MB / 0.5817 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.4009, allocations: 0.8082 MB / 0.5825 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.401, allocations: 90.03 kB / 0.5826 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/0.4013, allocations: 115.9 kB / 0.5827 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006762/0.408, allocations: 4.972 MB / 0.5876 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.373e-05/0.4081, allocations: 27.75 kB / 0.5876 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.4082, allocations: 59.91 kB / 0.5877 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001926/0.4102, allocations: 1.185 MB / 0.5888 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007143/0.4173, allocations: 4.25 MB / 0.593 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.44, allocations: 19.8 MB / 0.6123 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.4413, allocations: 0.7358 MB / 0.613 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.4418, allocations: 348.8 kB / 0.6134 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.4418, allocations: 4 kB / 0.6134 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4418, allocations: 42.5 kB / 0.6134 GB, free: 13.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.126e-06/0.4418, allocations: 0 / 0.6134 GB, free: 13.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.0018/0.4436, allocations: 1.154 MB / 0.6145 GB, free: 12.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.4437, allocations: 132.5 kB / 0.6147 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003253/0.447, allocations: 2.437 MB / 0.617 GB, free: 9.703 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.447, allocations: 37.67 kB / 0.6171 GB, free: 9.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.4485, allocations: 1.874 MB / 0.6189 GB, free: 7.766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4488, allocations: 317.8 kB / 0.6192 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.4498, allocations: 0.794 MB / 0.62 GB, free: 6.652 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4501, allocations: 349.9 kB / 0.6203 GB, free: 6.305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.4516, allocations: 1.034 MB / 0.6213 GB, free: 5.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.4553, allocations: 3.687 MB / 0.6249 GB, free: 260 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006511/0.4618, allocations: 5.157 MB / 0.63 GB, free: 9.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/0.4619, allocations: 28 kB / 0.63 GB, free: 9.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.009176/0.4711, allocations: 4.469 MB / 0.6344 GB, free: 5.262 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.03e-05/0.4712, allocations: 44 kB / 0.6344 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.4713, allocations: 96 kB / 0.6345 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.4714, allocations: 124 kB / 0.6346 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.4739, allocations: 0.8694 MB / 0.6355 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001613/0.4741, allocations: 187.2 kB / 0.6356 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.4765, allocations: 0.5699 MB / 0.6362 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.4769, allocations: 248.3 kB / 0.6364 GB, free: 3.133 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.001587/0.4785, allocations: 1.196 MB / 0.6376 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.4787, allocations: 194.6 kB / 0.6378 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.4791, allocations: 217.8 kB / 0.638 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/0.4791, allocations: 19.98 kB / 0.638 GB, free: 1.504 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4791, allocations: 0 / 0.638 GB, free: 1.504 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4791, allocations: 0 / 0.638 GB, free: 1.504 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.4825, allocations: 1.961 MB / 0.6399 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.4825, allocations: 7.984 kB / 0.6399 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4827, allocations: 59.91 kB / 0.64 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.4827, allocations: 8 kB / 0.64 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.4828, allocations: 11.98 kB / 0.64 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.4828, allocations: 4 kB / 0.64 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4828, allocations: 3.938 kB / 0.64 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.4841, allocations: 1.201 MB / 0.6412 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.4844, allocations: 178.5 kB / 0.6414 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.4846, allocations: 11.98 kB / 0.6414 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.485, allocations: 19.97 kB / 0.6414 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.4851, allocations: 23.89 kB / 0.6414 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.4851, allocations: 27.94 kB / 0.6414 GB, free: 13.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001974/0.4871, allocations: 1.486 MB / 0.6429 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4871, allocations: 4 kB / 0.6429 GB, free: 12.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002625/0.4897, allocations: 0.5264 MB / 0.6434 GB, free: 11.88 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.001936/0.4917, allocations: 1.802 MB / 0.6452 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003674/0.4954, allocations: 2.269 MB / 0.6474 GB, free: 7.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4954, allocations: 3.938 kB / 0.6474 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.4958, allocations: 343.6 kB / 0.6477 GB, free: 7.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4969, allocations: 166 kB / 0.6479 GB, free: 7.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/0.5286, allocations: 23.09 MB / 0.6704 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.5303, allocations: 1.284 MB / 0.6717 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002588/0.5329, allocations: 1.255 MB / 0.6729 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.534, allocations: 0.7805 MB / 0.6737 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/0.534, allocations: 7.938 kB / 0.6737 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06399/0.598, allocations: 31.13 MB / 0.7041 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.23, allocations: 8 kB / 0.7041 GB, free: 10.74 MB / 0.545 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/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_4.1.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: 19.452231314964592]