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.001469/0.001469, allocations: 112.5 kB / 17.86 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 209.7 kB / 18.79 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.976/1.976, allocations: 227.4 MB / 246.9 MB, free: 9.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.353/0.353, allocations: 46.12 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 70.25 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1798, allocations: 62.43 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01182/0.1917, allocations: 8.882 MB / 488.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006193/0.198, allocations: 2.36 MB / 491.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.1998, allocations: 27.94 kB / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.2017, allocations: 0.514 MB / 491.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.2046, allocations: 0.8528 MB / 492.6 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.2049, allocations: 8 kB / 492.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005572/0.2105, allocations: 3.277 MB / 495.8 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.2127, allocations: 0.7583 MB / 496.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.2142, allocations: 426 kB / 497 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.216, allocations: 0.7862 MB / 497.8 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005117/0.2166, allocations: 60 kB / 497.9 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.2179, allocations: 299.5 kB / 498.2 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.2191, allocations: 0.6971 MB / 498.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.2206, allocations: 0.8612 MB / 499.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.2235, allocations: 2.129 MB / 0.4901 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2235, allocations: 4 kB / 0.4901 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2235, allocations: 0 / 0.4901 GB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.012e-05/0.2236, allocations: 0 / 0.4901 GB, free: 15.67 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.00385/0.2274, allocations: 2.046 MB / 0.4921 GB, free: 13.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.2275, allocations: 8.031 kB / 0.4921 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.2326, allocations: 1.503 MB / 0.4936 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.2344, allocations: 0.8487 MB / 0.4944 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/0.2345, allocations: 86.47 kB / 0.4945 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.2348, allocations: 115.8 kB / 0.4946 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007935/0.2427, allocations: 4.968 MB / 0.4994 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.828e-05/0.2428, allocations: 19.81 kB / 0.4994 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.2432, allocations: 63.91 kB / 0.4995 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/0.2453, allocations: 1.185 MB / 0.5007 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.373/0.6183, allocations: 4.25 MB / 0.5048 GB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03648/0.6549, allocations: 20.6 MB / 0.5249 GB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.6571, allocations: 1.168 MB / 0.5261 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/0.6579, allocations: 341 kB / 0.5264 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.6579, allocations: 8.531 kB / 0.5264 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.658, allocations: 41.77 kB / 0.5264 GB, free: 21.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 5.911e-06/0.658, allocations: 0 / 0.5264 GB, free: 21.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.003098/0.6611, allocations: 1.04 MB / 0.5275 GB, free: 21.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.6612, allocations: 116.1 kB / 0.5276 GB, free: 21.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006838/0.668, allocations: 2.471 MB / 0.53 GB, free: 20.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.6683, allocations: 32.14 kB / 0.53 GB, free: 20.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.6698, allocations: 1.819 MB / 0.5318 GB, free: 18.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.6703, allocations: 271.6 kB / 0.5321 GB, free: 18.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.6715, allocations: 0.7961 MB / 0.5328 GB, free: 18.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6716, allocations: 352.6 kB / 0.5332 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.6733, allocations: 1.024 MB / 0.5342 GB, free: 17.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/0.6776, allocations: 3.729 MB / 0.5378 GB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005735/0.6834, allocations: 5.186 MB / 0.5429 GB, free: 8.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/0.6836, allocations: 28.88 kB / 0.5429 GB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007928/0.6915, allocations: 4.461 MB / 0.5473 GB, free: 6.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.6917, allocations: 43.97 kB / 0.5473 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/0.6919, allocations: 99.81 kB / 0.5474 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.6921, allocations: 124.8 kB / 0.5475 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/0.6948, allocations: 0.8887 MB / 0.5484 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001285/0.6949, allocations: 189.5 kB / 0.5486 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.6981, allocations: 0.5555 MB / 0.5491 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.6984, allocations: 252.2 kB / 0.5493 GB, free: 5.449 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.001528/0.7, allocations: 1.204 MB / 0.5505 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.7003, allocations: 186.4 kB / 0.5507 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.7006, allocations: 217.9 kB / 0.5509 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.7006, allocations: 8 kB / 0.5509 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.7006, allocations: 7.984 kB / 0.5509 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7006, allocations: 0 / 0.5509 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.7038, allocations: 2.046 MB / 0.5529 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.7038, allocations: 4 kB / 0.5529 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.7041, allocations: 59.89 kB / 0.553 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.7041, allocations: 4 kB / 0.553 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.7042, allocations: 8 kB / 0.553 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.7042, allocations: 3.562 kB / 0.553 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7042, allocations: 0.9375 kB / 0.553 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.7051, allocations: 1.061 MB / 0.554 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.7057, allocations: 250.5 kB / 0.5543 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7058, allocations: 11.12 kB / 0.5543 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.7063, allocations: 15.98 kB / 0.5543 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.7064, allocations: 23.91 kB / 0.5543 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.7065, allocations: 16 kB / 0.5543 GB, free: 252 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002567/0.709, allocations: 1.518 MB / 0.5558 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7091, allocations: 4 kB / 0.5558 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00395/0.713, allocations: 0.5252 MB / 0.5563 GB, free: 14.19 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.000386/0.7134, allocations: 119.9 kB / 0.5565 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.7176, allocations: 2.319 MB / 0.5587 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7176, allocations: 0 / 0.5587 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.718, allocations: 332.4 kB / 0.559 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.7194, allocations: 171.2 kB / 0.5592 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009301/0.7287, allocations: 5.113 MB / 0.5642 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/0.7317, allocations: 1.862 MB / 0.566 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/0.7324, allocations: 163.4 kB / 0.5662 GB, free: 4.066 MB / 398.1 MB Notification: Performance of SimCode: time 1.723e-06/0.7324, allocations: 3.938 kB / 0.5662 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Templates: time 0.07366/0.8061, allocations: 27.71 MB / 0.5932 GB, free: 8.41 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