Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 120.9 kB / 19.13 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 210.6 kB / 22.08 MB, free: 0.9531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 252.3 MB, free: 68 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.16 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 84.7 kB / 490.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1259, allocations: 62.46 MB / 0.5403 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007441/0.1334, allocations: 5.4 MB / 0.5456 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.1372, allocations: 1.799 MB / 0.5474 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/0.1377, allocations: 27.94 kB / 0.5474 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1391, allocations: 0.5291 MB / 0.5479 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.1412, allocations: 0.9068 MB / 0.5488 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.1413, allocations: 15.97 kB / 0.5488 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1434, allocations: 1.521 MB / 0.5503 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.1444, allocations: 0.754 MB / 0.551 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/0.1452, allocations: 0.5213 MB / 0.5515 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.1472, allocations: 1.613 MB / 0.5531 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.1475, allocations: 92 kB / 0.5532 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006991/0.1482, allocations: 307.5 kB / 0.5535 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006814/0.1489, allocations: 0.7088 MB / 0.5542 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008273/0.1498, allocations: 0.8612 MB / 0.555 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.1528, allocations: 2.811 MB / 0.5578 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1528, allocations: 0 / 0.5578 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.3e-06/0.1528, allocations: 0 / 0.5578 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.705e-05/0.1529, allocations: 3.938 kB / 0.5578 GB, free: 2.312 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.003353/0.1562, allocations: 2.097 MB / 0.5598 GB, free: 156 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1563, allocations: 8.031 kB / 0.5598 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005282/0.1616, allocations: 1.511 MB / 0.5613 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.1633, allocations: 0.8684 MB / 0.5622 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/0.1634, allocations: 87.59 kB / 0.5622 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.1637, allocations: 107.9 kB / 0.5623 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007381/0.1711, allocations: 4.976 MB / 0.5672 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/0.1712, allocations: 19.81 kB / 0.5672 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.1713, allocations: 63.91 kB / 0.5673 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001955/0.1733, allocations: 1.185 MB / 0.5684 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007418/0.1807, allocations: 4.262 MB / 0.5726 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.2045, allocations: 20.54 MB / 0.5927 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.2062, allocations: 1.22 MB / 0.5938 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.2067, allocations: 385.5 kB / 0.5942 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.2068, allocations: 11.92 kB / 0.5942 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.2068, allocations: 38.56 kB / 0.5943 GB, free: 11.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.256e-06/0.2068, allocations: 0 / 0.5943 GB, free: 11.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001894/0.2087, allocations: 1.154 MB / 0.5954 GB, free: 10.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.2089, allocations: 136.5 kB / 0.5955 GB, free: 10.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/0.2124, allocations: 2.445 MB / 0.5979 GB, free: 7.648 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.2125, allocations: 29.7 kB / 0.5979 GB, free: 7.613 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.2141, allocations: 1.87 MB / 0.5998 GB, free: 5.723 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.2145, allocations: 317.8 kB / 0.6001 GB, free: 5.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.2155, allocations: 0.794 MB / 0.6008 GB, free: 4.609 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.2158, allocations: 357.9 kB / 0.6012 GB, free: 4.254 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.2173, allocations: 1.026 MB / 0.6022 GB, free: 3.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.302/0.5193, allocations: 3.692 MB / 0.6058 GB, free: 55.71 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.5247, allocations: 5.161 MB / 0.6108 GB, free: 51.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.121e-05/0.5249, allocations: 27.34 kB / 0.6109 GB, free: 51.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008619/0.5335, allocations: 4.453 MB / 0.6152 GB, free: 50.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.5336, allocations: 45.81 kB / 0.6152 GB, free: 50.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/0.5338, allocations: 95.66 kB / 0.6153 GB, free: 50.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.534, allocations: 128 kB / 0.6155 GB, free: 50.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.5367, allocations: 0.8724 MB / 0.6163 GB, free: 49.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002104/0.5369, allocations: 186.1 kB / 0.6165 GB, free: 49.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.5395, allocations: 0.57 MB / 0.617 GB, free: 49.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/0.5399, allocations: 253.5 kB / 0.6173 GB, free: 49.71 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.001645/0.5415, allocations: 1.192 MB / 0.6185 GB, free: 49.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.5418, allocations: 191.6 kB / 0.6186 GB, free: 49.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.5421, allocations: 222.1 kB / 0.6188 GB, free: 48.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/0.5422, allocations: 16.92 kB / 0.6189 GB, free: 48.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.5422, allocations: 1.031 kB / 0.6189 GB, free: 48.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5422, allocations: 2.922 kB / 0.6189 GB, free: 48.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.5458, allocations: 2.071 MB / 0.6209 GB, free: 48.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5458, allocations: 1.188 kB / 0.6209 GB, free: 48.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.5462, allocations: 62.75 kB / 0.621 GB, free: 48.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.5462, allocations: 6.438 kB / 0.621 GB, free: 48.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.5462, allocations: 9.609 kB / 0.621 GB, free: 48.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5462, allocations: 3.469 kB / 0.621 GB, free: 48.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5462, allocations: 2.156 kB / 0.621 GB, free: 48.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.5474, allocations: 1.208 MB / 0.6222 GB, free: 47.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.5477, allocations: 261.6 kB / 0.6224 GB, free: 47.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.5478, allocations: 8.266 kB / 0.6224 GB, free: 47.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.5483, allocations: 17.3 kB / 0.6224 GB, free: 47.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.5484, allocations: 26.06 kB / 0.6225 GB, free: 47.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.5485, allocations: 18.06 kB / 0.6225 GB, free: 47.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002034/0.5505, allocations: 1.494 MB / 0.6239 GB, free: 46.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5505, allocations: 4 kB / 0.6239 GB, free: 46.63 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002873/0.5534, allocations: 0.5232 MB / 0.6244 GB, free: 46.54 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.0002476/0.5536, allocations: 129.3 kB / 0.6246 GB, free: 46.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003431/0.5571, allocations: 2.356 MB / 0.6269 GB, free: 45.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5571, allocations: 1.344 kB / 0.6269 GB, free: 45.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.5575, allocations: 368.1 kB / 0.6272 GB, free: 45.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5586, allocations: 177.9 kB / 0.6274 GB, free: 45.47 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/0.5643, allocations: 4.311 MB / 0.6316 GB, free: 43.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.5656, allocations: 1.869 MB / 0.6334 GB, free: 42.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.566, allocations: 164.5 kB / 0.6336 GB, free: 42.57 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.566, allocations: 0 / 0.6336 GB, free: 42.57 MB / 462.1 MB Notification: Performance of Templates: time 0.03195/0.598, allocations: 27.97 MB / 0.6609 GB, free: 17.59 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 9.764738040044904]