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.001273/0.001273, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.00139/0.00139, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8 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.2338/0.2338, allocations: 46.93 MB / 360.9 MB, free: 4.254 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.89 kB / 0.4961 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3301, allocations: 66.03 MB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007187/0.3373, allocations: 5.448 MB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.3407, allocations: 1.822 MB / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.341, allocations: 23.94 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.3422, allocations: 0.5563 MB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.344, allocations: 0.9185 MB / 0.5692 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.053e-05/0.3441, allocations: 15.97 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.3459, allocations: 1.53 MB / 0.5707 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009391/0.3468, allocations: 0.7399 MB / 0.5714 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.3476, allocations: 0.533 MB / 0.5719 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.3497, allocations: 1.695 MB / 0.5736 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.3499, allocations: 88 kB / 0.5737 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006254/0.3506, allocations: 335.5 kB / 0.574 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006452/0.3512, allocations: 0.7164 MB / 0.5747 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008093/0.352, allocations: 0.8728 MB / 0.5755 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.3549, allocations: 2.808 MB / 0.5783 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3549, allocations: 4 kB / 0.5783 GB, free: 2.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3549, allocations: 0 / 0.5783 GB, free: 2.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.3549, allocations: 0 / 0.5783 GB, free: 2.301 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.002849/0.3578, allocations: 2.03 MB / 0.5803 GB, free: 232 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3578, allocations: 8.031 kB / 0.5803 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000413/0.3582, allocations: 373.9 kB / 0.5806 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.3631, allocations: 1.516 MB / 0.5821 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.3651, allocations: 0.7964 MB / 0.5829 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/0.3652, allocations: 94.2 kB / 0.583 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.3654, allocations: 107.9 kB / 0.5831 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006641/0.3721, allocations: 4.976 MB / 0.5879 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.3721, allocations: 19.81 kB / 0.588 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.3723, allocations: 71.88 kB / 0.588 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001898/0.3742, allocations: 1.181 MB / 0.5892 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007392/0.3816, allocations: 4.258 MB / 0.5933 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/0.4044, allocations: 20.46 MB / 0.6133 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.4057, allocations: 0.737 MB / 0.614 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.4062, allocations: 347.2 kB / 0.6144 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.4062, allocations: 7.938 kB / 0.6144 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.4063, allocations: 46.55 kB / 0.6144 GB, free: 11.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.595e-06/0.4063, allocations: 0 / 0.6144 GB, free: 11.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.0018/0.4081, allocations: 1.147 MB / 0.6156 GB, free: 10.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.4081, allocations: 140.5 kB / 0.6157 GB, free: 10.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.4113, allocations: 2.433 MB / 0.6181 GB, free: 8.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.4113, allocations: 33.7 kB / 0.6181 GB, free: 8.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.4127, allocations: 1.874 MB / 0.6199 GB, free: 6.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.4129, allocations: 317.8 kB / 0.6202 GB, free: 5.883 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009129/0.4138, allocations: 0.7939 MB / 0.621 GB, free: 5.082 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.414, allocations: 349.9 kB / 0.6213 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.4156, allocations: 1.034 MB / 0.6223 GB, free: 3.699 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003858/0.4194, allocations: 3.688 MB / 0.6259 GB, free: 14.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006009/0.4254, allocations: 5.163 MB / 0.631 GB, free: 8.188 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.973e-05/0.4255, allocations: 28 kB / 0.631 GB, free: 8.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007252/0.4327, allocations: 4.458 MB / 0.6354 GB, free: 3.699 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/0.4328, allocations: 50.19 kB / 0.6354 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.4329, allocations: 100.1 kB / 0.6355 GB, free: 3.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.433, allocations: 120 kB / 0.6356 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.4353, allocations: 0.8694 MB / 0.6365 GB, free: 2.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001501/0.4354, allocations: 187.3 kB / 0.6367 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.4377, allocations: 0.5699 MB / 0.6372 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.438, allocations: 256 kB / 0.6375 GB, free: 1.559 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.001579/0.4396, allocations: 1.184 MB / 0.6386 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.4399, allocations: 210.6 kB / 0.6388 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.4402, allocations: 213.8 kB / 0.639 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.693e-05/0.4403, allocations: 19.98 kB / 0.639 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4403, allocations: 0 / 0.639 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.4403, allocations: 4 kB / 0.639 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.4438, allocations: 2.041 MB / 0.641 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4438, allocations: 0 / 0.641 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.4441, allocations: 67.89 kB / 0.6411 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4441, allocations: 0 / 0.6411 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.4442, allocations: 16 kB / 0.6411 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.4442, allocations: 4 kB / 0.6411 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4442, allocations: 3.938 kB / 0.6411 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.4455, allocations: 1.205 MB / 0.6423 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.4458, allocations: 174.5 kB / 0.6425 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.446, allocations: 12 kB / 0.6425 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.4464, allocations: 23.97 kB / 0.6425 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.4465, allocations: 23.89 kB / 0.6425 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.4465, allocations: 28.08 kB / 0.6425 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002003/0.4485, allocations: 1.49 MB / 0.644 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4485, allocations: 0 / 0.644 GB, free: 10.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00267/0.4512, allocations: 0.5264 MB / 0.6445 GB, free: 10.22 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.001769/0.453, allocations: 1.802 MB / 0.6463 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003875/0.4568, allocations: 2.268 MB / 0.6485 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4569, allocations: 0.9375 kB / 0.6485 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.4573, allocations: 331.7 kB / 0.6488 GB, free: 5.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4585, allocations: 174.6 kB / 0.649 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/0.4901, allocations: 23.09 MB / 0.6715 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/0.492, allocations: 1.865 MB / 0.6733 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002689/0.4947, allocations: 1.255 MB / 0.6746 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.4957, allocations: 0.7844 MB / 0.6753 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.4957, allocations: 4 kB / 0.6753 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07667/0.5724, allocations: 33.32 MB / 0.7079 GB, free: 6.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.14, allocations: 7.844 kB / 0.7079 GB, free: 6.059 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.162680708803236]