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.001676/0.001676, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002274/0.002274, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2251/0.2251, allocations: 44.94 MB / 358.9 MB, free: 6.023 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="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.00206/0.00206, allocations: 71.88 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3888, allocations: 65.47 MB / 0.5569 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006679/0.3955, allocations: 4.849 MB / 0.5617 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003591/0.3991, allocations: 1.694 MB / 0.5633 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.3996, allocations: 23.94 kB / 0.5634 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4008, allocations: 0.5368 MB / 0.5639 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.4028, allocations: 0.9263 MB / 0.5648 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000108/0.4029, allocations: 15.97 kB / 0.5648 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4048, allocations: 1.526 MB / 0.5663 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.4057, allocations: 0.7322 MB / 0.567 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/0.4064, allocations: 0.5407 MB / 0.5675 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.4084, allocations: 1.68 MB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.4087, allocations: 88 kB / 0.5693 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.4093, allocations: 235.6 kB / 0.5695 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006525/0.4099, allocations: 0.7164 MB / 0.5702 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.4105, allocations: 0.6009 MB / 0.5708 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.4134, allocations: 2.8 MB / 0.5735 GB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4134, allocations: 0 / 0.5735 GB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4134, allocations: 0 / 0.5735 GB, free: 6.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.953e-05/0.4135, allocations: 0 / 0.5735 GB, free: 6.492 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.002958/0.4164, allocations: 2.037 MB / 0.5755 GB, free: 4.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.521e-05/0.4165, allocations: 8.031 kB / 0.5755 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004125/0.4169, allocations: 377.9 kB / 0.5759 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005006/0.4219, allocations: 1.512 MB / 0.5773 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.424, allocations: 0.8043 MB / 0.5781 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/0.424, allocations: 90.22 kB / 0.5782 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.4243, allocations: 103.9 kB / 0.5783 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007395/0.4317, allocations: 4.984 MB / 0.5832 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.683e-05/0.4317, allocations: 23.75 kB / 0.5832 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.4319, allocations: 63.91 kB / 0.5833 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002035/0.4339, allocations: 1.178 MB / 0.5844 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/0.442, allocations: 4.25 MB / 0.5886 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.4654, allocations: 19.81 MB / 0.6079 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.4667, allocations: 0.7214 MB / 0.6086 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.4672, allocations: 351.1 kB / 0.6089 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4672, allocations: 8 kB / 0.609 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.4673, allocations: 42.5 kB / 0.609 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.507e-06/0.4673, allocations: 0 / 0.609 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001851/0.4691, allocations: 1.158 MB / 0.6101 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/0.4692, allocations: 136.5 kB / 0.6103 GB, free: 15.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.4726, allocations: 2.591 MB / 0.6128 GB, free: 12.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.4727, allocations: 33.7 kB / 0.6128 GB, free: 12.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.4742, allocations: 1.874 MB / 0.6146 GB, free: 10.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.4745, allocations: 317.8 kB / 0.615 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009439/0.4755, allocations: 0.7901 MB / 0.6157 GB, free: 9.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.4756, allocations: 353.9 kB / 0.6161 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.4771, allocations: 1.038 MB / 0.6171 GB, free: 8.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003596/0.4807, allocations: 3.68 MB / 0.6207 GB, free: 3.375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/0.4869, allocations: 5.163 MB / 0.6257 GB, free: 12.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-05/0.487, allocations: 28.47 kB / 0.6257 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007622/0.4946, allocations: 4.461 MB / 0.6301 GB, free: 8.391 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/0.4947, allocations: 50.19 kB / 0.6301 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/0.4948, allocations: 92 kB / 0.6302 GB, free: 8.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.4949, allocations: 127.9 kB / 0.6304 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.4973, allocations: 0.8694 MB / 0.6312 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001624/0.4974, allocations: 183.3 kB / 0.6314 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.4999, allocations: 0.566 MB / 0.6319 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003238/0.5003, allocations: 259.9 kB / 0.6322 GB, free: 6.254 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.5019, allocations: 1.188 MB / 0.6333 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.5022, allocations: 202.6 kB / 0.6335 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.5025, allocations: 213.8 kB / 0.6337 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.393e-05/0.5025, allocations: 16 kB / 0.6337 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.5026, allocations: 0 / 0.6337 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.5026, allocations: 12.02 kB / 0.6338 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.5062, allocations: 1.959 MB / 0.6357 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5062, allocations: 0 / 0.6357 GB, free: 2.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.5065, allocations: 63.91 kB / 0.6357 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5065, allocations: 0 / 0.6357 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.5065, allocations: 19.98 kB / 0.6358 GB, free: 2.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5065, allocations: 3.984 kB / 0.6358 GB, free: 2.516 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.5066, allocations: 7.922 kB / 0.6358 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.5079, allocations: 1.197 MB / 0.6369 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.5082, allocations: 186.4 kB / 0.6371 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.5084, allocations: 8 kB / 0.6371 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.5089, allocations: 19.92 kB / 0.6371 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.5089, allocations: 27.89 kB / 0.6372 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.509, allocations: 23.98 kB / 0.6372 GB, free: 1.027 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.511, allocations: 1.49 MB / 0.6386 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.511, allocations: 0 / 0.6386 GB, free: 15.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002528/0.5135, allocations: 0.5265 MB / 0.6392 GB, free: 14.99 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.001822/0.5153, allocations: 1.799 MB / 0.6409 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003946/0.5193, allocations: 2.268 MB / 0.6431 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5193, allocations: 0 / 0.6431 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.5198, allocations: 341.2 kB / 0.6435 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5209, allocations: 162.4 kB / 0.6436 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/0.553, allocations: 23.09 MB / 0.6662 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.5546, allocations: 1.287 MB / 0.6674 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002615/0.5572, allocations: 1.251 MB / 0.6686 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.5583, allocations: 0.7844 MB / 0.6694 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of SimCode: time 9.51e-07/0.5583, allocations: 0 / 0.6694 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07068/0.629, allocations: 29.51 MB / 0.6982 GB, free: 15.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.82, allocations: 6.547 kB / 0.6982 GB, free: 15.45 MB / 0.545 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: 17.061894251033664]