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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 46.11 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002236, allocations: 75.22 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1239, allocations: 62.45 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01142/0.1354, allocations: 8.871 MB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.1411, allocations: 2.333 MB / 491.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1425, allocations: 31.94 kB / 491.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.144, allocations: 0.4984 MB / 492 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.1461, allocations: 0.845 MB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.1462, allocations: 16 kB / 492.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003563/0.1498, allocations: 2.657 MB / 495.5 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.1511, allocations: 0.7973 MB / 496.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006761/0.1518, allocations: 497.9 kB / 496.8 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.1528, allocations: 0.8175 MB / 497.6 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.153, allocations: 88 kB / 497.7 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006696/0.1537, allocations: 327.5 kB / 498 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007187/0.1545, allocations: 0.7127 MB / 498.7 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008492/0.1553, allocations: 0.8923 MB / 499.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.1578, allocations: 2.156 MB / 0.49 GB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1579, allocations: 4 kB / 0.49 GB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1579, allocations: 0 / 0.49 GB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.1579, allocations: 0 / 0.49 GB, free: 15.96 MB / 382.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.00331/0.1612, allocations: 2.038 MB / 0.492 GB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1613, allocations: 8.031 kB / 0.492 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.1664, allocations: 1.499 MB / 0.4934 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.168, allocations: 0.8565 MB / 0.4943 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.1681, allocations: 86.47 kB / 0.4944 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.1684, allocations: 115.8 kB / 0.4945 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00725/0.1756, allocations: 4.976 MB / 0.4993 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/0.1757, allocations: 23.81 kB / 0.4994 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.1759, allocations: 59.91 kB / 0.4994 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001978/0.1779, allocations: 1.185 MB / 0.5006 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007623/0.1855, allocations: 4.242 MB / 0.5047 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2552/0.4408, allocations: 20.6 MB / 0.5248 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4422, allocations: 1.174 MB / 0.526 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.4426, allocations: 347.3 kB / 0.5263 GB, free: 21.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.4427, allocations: 4.188 kB / 0.5263 GB, free: 21.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.4427, allocations: 39.73 kB / 0.5263 GB, free: 21.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.286e-06/0.4427, allocations: 0 / 0.5263 GB, free: 21.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001786/0.4445, allocations: 1.051 MB / 0.5274 GB, free: 21.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.4446, allocations: 110.9 kB / 0.5275 GB, free: 21.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/0.4486, allocations: 2.461 MB / 0.5299 GB, free: 20.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.4487, allocations: 38.66 kB / 0.5299 GB, free: 20.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009975/0.4497, allocations: 1.818 MB / 0.5317 GB, free: 18.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/0.4499, allocations: 282.8 kB / 0.532 GB, free: 18.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009318/0.4509, allocations: 0.7926 MB / 0.5327 GB, free: 18.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.451, allocations: 352.8 kB / 0.5331 GB, free: 18.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4524, allocations: 1.023 MB / 0.5341 GB, free: 17.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.4549, allocations: 3.732 MB / 0.5377 GB, free: 13.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/0.4595, allocations: 5.182 MB / 0.5428 GB, free: 8.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.914e-05/0.4596, allocations: 28.31 kB / 0.5428 GB, free: 8.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006671/0.4663, allocations: 4.454 MB / 0.5472 GB, free: 6.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.4664, allocations: 54.06 kB / 0.5472 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.4665, allocations: 102.2 kB / 0.5473 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.4666, allocations: 125.9 kB / 0.5474 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.4689, allocations: 0.8889 MB / 0.5483 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001324/0.4691, allocations: 189.3 kB / 0.5485 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.4718, allocations: 0.5579 MB / 0.549 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.4721, allocations: 252.7 kB / 0.5493 GB, free: 5.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (484): * Single equations (assignments): 481 * Array equations: 3 * 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.001296/0.4734, allocations: 1.192 MB / 0.5504 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.4736, allocations: 189.5 kB / 0.5506 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.4739, allocations: 217.9 kB / 0.5508 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.4739, allocations: 9.953 kB / 0.5508 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.4739, allocations: 0 / 0.5508 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.474, allocations: 7.984 kB / 0.5508 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.4767, allocations: 2.031 MB / 0.5528 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4767, allocations: 4 kB / 0.5528 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.4769, allocations: 63.89 kB / 0.5529 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.477, allocations: 0 / 0.5529 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.477, allocations: 10.58 kB / 0.5529 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.477, allocations: 9.625 kB / 0.5529 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.477, allocations: 3.938 kB / 0.5529 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.4778, allocations: 1.054 MB / 0.5539 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.4782, allocations: 246.5 kB / 0.5542 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.4783, allocations: 4 kB / 0.5542 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.4788, allocations: 19.98 kB / 0.5542 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.4788, allocations: 27.89 kB / 0.5542 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.4789, allocations: 31.44 kB / 0.5542 GB, free: 376 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.4809, allocations: 1.51 MB / 0.5557 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4809, allocations: 4 kB / 0.5557 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002955/0.4839, allocations: 0.5179 MB / 0.5562 GB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.000382/0.4843, allocations: 127.1 kB / 0.5564 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00425/0.4886, allocations: 2.422 MB / 0.5587 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4886, allocations: 4 kB / 0.5587 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.4891, allocations: 338.1 kB / 0.559 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.4904, allocations: 171.2 kB / 0.5592 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008312/0.4988, allocations: 5.118 MB / 0.5642 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/0.5007, allocations: 1.865 MB / 0.566 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.5013, allocations: 163.4 kB / 0.5662 GB, free: 4.078 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5013, allocations: 0 / 0.5662 GB, free: 4.078 MB / 398.1 MB Notification: Performance of Templates: time 0.04688/0.5482, allocations: 27.72 MB / 0.5932 GB, free: 8.422 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches