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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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.2178/0.2178, allocations: 44.91 MB / 349.6 MB, free: 1.73 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.92 kB / 491.8 MB, free: 30.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1231, allocations: 64.26 MB / 0.543 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007903/0.131, allocations: 5.441 MB / 0.5483 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.1346, allocations: 1.768 MB / 0.55 GB, free: 13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.135, allocations: 23.94 kB / 0.55 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1362, allocations: 0.5252 MB / 0.5506 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.1381, allocations: 0.9223 MB / 0.5515 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.1382, allocations: 16 kB / 0.5515 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.1402, allocations: 1.557 MB / 0.553 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008432/0.141, allocations: 0.6725 MB / 0.5537 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.1416, allocations: 0.5252 MB / 0.5542 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.1435, allocations: 1.59 MB / 0.5557 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.1438, allocations: 88 kB / 0.5558 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.1445, allocations: 327.4 kB / 0.5561 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.1452, allocations: 0.7359 MB / 0.5568 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.146, allocations: 0.873 MB / 0.5577 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003136/0.1492, allocations: 2.846 MB / 0.5605 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1492, allocations: 4 kB / 0.5605 GB, free: 2.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1492, allocations: 0 / 0.5605 GB, free: 2.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.5e-05/0.1492, allocations: 4 kB / 0.5605 GB, free: 2.25 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.003236/0.1525, allocations: 2.116 MB / 0.5625 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.1525, allocations: 12.02 kB / 0.5625 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004658/0.153, allocations: 381.7 kB / 0.5629 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004896/0.1579, allocations: 1.509 MB / 0.5644 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.16, allocations: 0.8607 MB / 0.5652 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.685e-05/0.1601, allocations: 90.2 kB / 0.5653 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.1603, allocations: 111.9 kB / 0.5654 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006919/0.1672, allocations: 4.98 MB / 0.5703 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.1673, allocations: 19.81 kB / 0.5703 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.1675, allocations: 59.91 kB / 0.5704 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001902/0.1694, allocations: 1.182 MB / 0.5715 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.1766, allocations: 4.254 MB / 0.5757 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.2017, allocations: 20.54 MB / 0.5957 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.2034, allocations: 1.177 MB / 0.5969 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.2039, allocations: 351.2 kB / 0.5972 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.204, allocations: 4 kB / 0.5972 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.204, allocations: 42.55 kB / 0.5973 GB, free: 11.08 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.256e-06/0.204, allocations: 0 / 0.5973 GB, free: 11.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002033/0.206, allocations: 1.168 MB / 0.5984 GB, free: 9.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.2061, allocations: 132.5 kB / 0.5985 GB, free: 9.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.2101, allocations: 2.433 MB / 0.6009 GB, free: 7.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.2102, allocations: 37.69 kB / 0.6009 GB, free: 7.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.2118, allocations: 1.87 MB / 0.6028 GB, free: 5.348 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.2122, allocations: 329.8 kB / 0.6031 GB, free: 5.023 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.2134, allocations: 0.7823 MB / 0.6038 GB, free: 4.234 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.2136, allocations: 353.9 kB / 0.6042 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.2154, allocations: 1.038 MB / 0.6052 GB, free: 2.844 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3187/0.534, allocations: 3.682 MB / 0.6088 GB, free: 55.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005614/0.5396, allocations: 5.156 MB / 0.6138 GB, free: 51.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.006e-05/0.5397, allocations: 33.16 kB / 0.6139 GB, free: 51.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007802/0.5475, allocations: 4.469 MB / 0.6182 GB, free: 49.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.483e-05/0.5476, allocations: 47.5 kB / 0.6183 GB, free: 49.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/0.5478, allocations: 95.67 kB / 0.6184 GB, free: 49.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.5479, allocations: 127.6 kB / 0.6185 GB, free: 49.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.5505, allocations: 0.8696 MB / 0.6193 GB, free: 49.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/0.5507, allocations: 185 kB / 0.6195 GB, free: 49.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.553, allocations: 0.5658 MB / 0.6201 GB, free: 49.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/0.5533, allocations: 254.8 kB / 0.6203 GB, free: 49.28 MB / 462.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.001678/0.555, allocations: 1.192 MB / 0.6215 GB, free: 48.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.5554, allocations: 192.8 kB / 0.6216 GB, free: 48.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.5558, allocations: 222.8 kB / 0.6219 GB, free: 48.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/0.5558, allocations: 20.22 kB / 0.6219 GB, free: 48.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5558, allocations: 1.094 kB / 0.6219 GB, free: 48.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.5558, allocations: 4.141 kB / 0.6219 GB, free: 48.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.5596, allocations: 2.062 MB / 0.6239 GB, free: 47.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5596, allocations: 1.672 kB / 0.6239 GB, free: 47.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.5599, allocations: 61.19 kB / 0.624 GB, free: 47.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5599, allocations: 9.516 kB / 0.624 GB, free: 47.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.5599, allocations: 17.39 kB / 0.624 GB, free: 47.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.5599, allocations: 2.156 kB / 0.624 GB, free: 47.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5599, allocations: 1.188 kB / 0.624 GB, free: 47.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.5611, allocations: 1.198 MB / 0.6252 GB, free: 46.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.5615, allocations: 262.1 kB / 0.6254 GB, free: 46.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.5616, allocations: 8.016 kB / 0.6254 GB, free: 46.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.5621, allocations: 26.97 kB / 0.6254 GB, free: 46.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.5622, allocations: 25.3 kB / 0.6255 GB, free: 46.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.786e-05/0.5622, allocations: 20.34 kB / 0.6255 GB, free: 46.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002181/0.5644, allocations: 1.494 MB / 0.6269 GB, free: 46.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5644, allocations: 0 / 0.6269 GB, free: 46.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003173/0.5676, allocations: 0.5346 MB / 0.6275 GB, free: 46.11 MB / 462.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.001442/0.569, allocations: 1.811 MB / 0.6292 GB, free: 44.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.5727, allocations: 2.266 MB / 0.6314 GB, free: 44.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5727, allocations: 0.9375 kB / 0.6314 GB, free: 44.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.5732, allocations: 338.7 kB / 0.6318 GB, free: 44.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5743, allocations: 178.6 kB / 0.6319 GB, free: 43.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.5987, allocations: 23.11 MB / 0.6545 GB, free: 22.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.6003, allocations: 1.858 MB / 0.6563 GB, free: 20.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002208/0.6025, allocations: 1.244 MB / 0.6575 GB, free: 19.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008662/0.6034, allocations: 0.7844 MB / 0.6583 GB, free: 18.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6034, allocations: 4 kB / 0.6583 GB, free: 18.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06076/0.6641, allocations: 30.2 MB / 0.6878 GB, free: 4.699 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.38, allocations: 5.953 kB / 0.6878 GB, free: 4.695 MB / 478.1 MB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.496982337906957]