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.001851/0.001851, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00262/0.00262, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.3 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.5 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1625, allocations: 62.45 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.0154/0.1779, allocations: 8.874 MB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.1849, allocations: 2.368 MB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.1863, allocations: 27.94 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.188, allocations: 0.5023 MB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.1905, allocations: 0.8645 MB / 491.9 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.1906, allocations: 8 kB / 491.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005761/0.1964, allocations: 3.277 MB / 495.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.198, allocations: 0.7544 MB / 496 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.1989, allocations: 434 kB / 496.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.2002, allocations: 0.7823 MB / 497.2 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.2004, allocations: 64 kB / 497.2 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.2013, allocations: 295.5 kB / 497.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009129/0.2022, allocations: 0.6893 MB / 498.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.2033, allocations: 0.8651 MB / 499.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.2068, allocations: 2.624 MB / 0.4899 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2069, allocations: 4 kB / 0.4899 GB, free: 15.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2069, allocations: 0 / 0.4899 GB, free: 15.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.795e-05/0.2069, allocations: 0 / 0.4899 GB, free: 15.2 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.004385/0.2113, allocations: 2.046 MB / 0.4919 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.2114, allocations: 8.031 kB / 0.4919 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00754/0.219, allocations: 1.495 MB / 0.4934 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.2214, allocations: 0.8565 MB / 0.4942 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.2215, allocations: 82.47 kB / 0.4943 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.2218, allocations: 111.8 kB / 0.4944 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008764/0.2306, allocations: 4.972 MB / 0.4993 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/0.2308, allocations: 31.75 kB / 0.4993 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.231, allocations: 55.91 kB / 0.4994 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002005/0.233, allocations: 1.185 MB / 0.5005 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2732/0.5062, allocations: 4.242 MB / 0.5047 GB, free: 39.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.5286, allocations: 20.6 MB / 0.5248 GB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.5299, allocations: 1.176 MB / 0.5259 GB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.5304, allocations: 344.9 kB / 0.5263 GB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5304, allocations: 6.938 kB / 0.5263 GB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.5304, allocations: 42.45 kB / 0.5263 GB, free: 22.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.906e-06/0.5304, allocations: 0 / 0.5263 GB, free: 22.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002432/0.5329, allocations: 1.049 MB / 0.5273 GB, free: 21.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.533, allocations: 107.7 kB / 0.5274 GB, free: 21.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/0.5379, allocations: 2.468 MB / 0.5298 GB, free: 20.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.538, allocations: 32.02 kB / 0.5299 GB, free: 20.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.5391, allocations: 1.821 MB / 0.5317 GB, free: 19.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.5394, allocations: 277.1 kB / 0.5319 GB, free: 19.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009843/0.5404, allocations: 0.7938 MB / 0.5327 GB, free: 18.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5405, allocations: 350.1 kB / 0.533 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.5419, allocations: 1.022 MB / 0.534 GB, free: 18.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.5446, allocations: 3.733 MB / 0.5377 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003854/0.5484, allocations: 5.177 MB / 0.5427 GB, free: 8.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/0.5485, allocations: 28.91 kB / 0.5428 GB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005258/0.5537, allocations: 4.465 MB / 0.5471 GB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.5538, allocations: 46.94 kB / 0.5472 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-05/0.5539, allocations: 96.97 kB / 0.5472 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/0.554, allocations: 131.4 kB / 0.5474 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.556, allocations: 0.8882 MB / 0.5482 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001083/0.5561, allocations: 187.2 kB / 0.5484 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.5583, allocations: 0.5565 MB / 0.549 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.5585, allocations: 252 kB / 0.5492 GB, free: 5.191 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.001098/0.5596, allocations: 1.194 MB / 0.5504 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5598, allocations: 185.5 kB / 0.5505 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.5601, allocations: 229.3 kB / 0.5508 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5601, allocations: 8 kB / 0.5508 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.5601, allocations: 7.938 kB / 0.5508 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5601, allocations: 0 / 0.5508 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.5628, allocations: 2.04 MB / 0.5528 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5628, allocations: 4 kB / 0.5528 GB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.563, allocations: 59.89 kB / 0.5528 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.563, allocations: 4 kB / 0.5528 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.5631, allocations: 12 kB / 0.5528 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.5631, allocations: 0 / 0.5528 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5631, allocations: 0 / 0.5528 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.5639, allocations: 1.058 MB / 0.5539 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.5641, allocations: 250.5 kB / 0.5541 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.5643, allocations: 8 kB / 0.5541 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.5647, allocations: 19.98 kB / 0.5541 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.5648, allocations: 23.91 kB / 0.5542 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.5648, allocations: 20.34 kB / 0.5542 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.5667, allocations: 1.514 MB / 0.5557 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5667, allocations: 0 / 0.5557 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002457/0.5691, allocations: 0.5259 MB / 0.5562 GB, free: 13.93 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.0002618/0.5694, allocations: 126 kB / 0.5563 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003074/0.5725, allocations: 2.317 MB / 0.5586 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5725, allocations: 0 / 0.5586 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.5729, allocations: 331.7 kB / 0.5589 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.5738, allocations: 172.9 kB / 0.559 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.5797, allocations: 4.871 MB / 0.5638 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.5813, allocations: 1.862 MB / 0.5656 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002728/0.5841, allocations: 1.267 MB / 0.5669 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.5843, allocations: 131.4 kB / 0.567 GB, free: 2.809 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5843, allocations: 0 / 0.567 GB, free: 2.809 MB / 398.1 MB Notification: Performance of Templates: time 0.02579/0.6101, allocations: 12.76 MB / 0.5794 GB, free: 6.07 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches