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.001271/0.001271, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 71.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4771, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006766/0.4839, allocations: 5.405 MB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.4881, allocations: 1.79 MB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.489, allocations: 23.41 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.4905, allocations: 0.5325 MB / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.4934, allocations: 0.937 MB / 0.5394 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.4936, allocations: 15 kB / 0.5395 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.4962, allocations: 1.526 MB / 0.5409 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.4975, allocations: 0.742 MB / 0.5417 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.4987, allocations: 0.5223 MB / 0.5422 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.5012, allocations: 1.613 MB / 0.5438 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.5016, allocations: 88 kB / 0.5438 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007831/0.5024, allocations: 315.5 kB / 0.5441 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.503, allocations: 0.7011 MB / 0.5448 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007554/0.5038, allocations: 0.8729 MB / 0.5457 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.5067, allocations: 2.803 MB / 0.5484 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.5067, allocations: 0 / 0.5484 GB, free: 15.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5067, allocations: 0 / 0.5484 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.5068, allocations: 0 / 0.5484 GB, free: 15.78 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.003066/0.5098, allocations: 2.046 MB / 0.5504 GB, free: 13.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5099, allocations: 12.03 kB / 0.5504 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.5148, allocations: 1.495 MB / 0.5519 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.5165, allocations: 0.8526 MB / 0.5527 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/0.5166, allocations: 90.45 kB / 0.5528 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.5168, allocations: 111.8 kB / 0.5529 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00712/0.5239, allocations: 4.976 MB / 0.5578 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.524, allocations: 19.81 kB / 0.5578 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.5242, allocations: 67.89 kB / 0.5579 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002025/0.5262, allocations: 1.178 MB / 0.559 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007254/0.5335, allocations: 4.258 MB / 0.5632 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02411/0.5576, allocations: 20.5 MB / 0.5832 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.5592, allocations: 1.226 MB / 0.5844 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.5598, allocations: 390.2 kB / 0.5848 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.5598, allocations: 7.938 kB / 0.5848 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.5598, allocations: 42.56 kB / 0.5848 GB, free: 9.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.367e-06/0.5599, allocations: 0 / 0.5848 GB, free: 9.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001825/0.5617, allocations: 1.15 MB / 0.5859 GB, free: 7.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.5618, allocations: 132.5 kB / 0.5861 GB, free: 7.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.5654, allocations: 2.424 MB / 0.5884 GB, free: 5.246 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.5655, allocations: 29.7 kB / 0.5885 GB, free: 5.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.5669, allocations: 1.802 MB / 0.5902 GB, free: 3.379 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.5672, allocations: 300.5 kB / 0.5905 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000887/0.5681, allocations: 0.7894 MB / 0.5913 GB, free: 2.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5683, allocations: 345.9 kB / 0.5916 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.5697, allocations: 1.034 MB / 0.5926 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/0.5731, allocations: 3.683 MB / 0.5962 GB, free: 11.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/0.579, allocations: 5.161 MB / 0.6012 GB, free: 5.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.968e-05/0.5791, allocations: 32 kB / 0.6013 GB, free: 5.367 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00698/0.5861, allocations: 4.449 MB / 0.6056 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.5861, allocations: 44.19 kB / 0.6057 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-05/0.5862, allocations: 100 kB / 0.6058 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001126/0.5864, allocations: 124 kB / 0.6059 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.5885, allocations: 0.8734 MB / 0.6067 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001256/0.5886, allocations: 191.2 kB / 0.6069 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.591, allocations: 0.5487 MB / 0.6074 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/0.5913, allocations: 256 kB / 0.6077 GB, free: 14.79 MB / 478.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.001498/0.5928, allocations: 1.196 MB / 0.6089 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.5931, allocations: 189.5 kB / 0.609 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.5934, allocations: 217.7 kB / 0.6092 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/0.5935, allocations: 16 kB / 0.6093 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.5935, allocations: 0 / 0.6093 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5935, allocations: 3.984 kB / 0.6093 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.5968, allocations: 2.065 MB / 0.6113 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5968, allocations: 0 / 0.6113 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.5971, allocations: 63.91 kB / 0.6113 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.5971, allocations: 3.984 kB / 0.6113 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.5971, allocations: 16 kB / 0.6114 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5971, allocations: 0 / 0.6114 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5971, allocations: 3.938 kB / 0.6114 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.5983, allocations: 1.19 MB / 0.6125 GB, free: 9.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.5986, allocations: 246.5 kB / 0.6128 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.5988, allocations: 8 kB / 0.6128 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.5992, allocations: 23.97 kB / 0.6128 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.5993, allocations: 31.84 kB / 0.6128 GB, free: 9.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.5994, allocations: 23.98 kB / 0.6128 GB, free: 9.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001809/0.6012, allocations: 1.49 MB / 0.6143 GB, free: 7.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6012, allocations: 0 / 0.6143 GB, free: 7.871 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00259/0.6038, allocations: 0.5223 MB / 0.6148 GB, free: 7.348 MB / 478.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.0002766/0.6041, allocations: 131.2 kB / 0.6149 GB, free: 7.211 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003576/0.6076, allocations: 2.347 MB / 0.6172 GB, free: 4.887 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6077, allocations: 3.938 kB / 0.6172 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.6081, allocations: 370.2 kB / 0.6176 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.6092, allocations: 176.3 kB / 0.6178 GB, free: 4.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.6155, allocations: 4.008 MB / 0.6217 GB, free: 308 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.6172, allocations: 1.865 MB / 0.6235 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002456/0.6197, allocations: 1.247 MB / 0.6247 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.62, allocations: 135.4 kB / 0.6248 GB, free: 13.01 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.62, allocations: 0 / 0.6248 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Templates: time 0.02755/0.6475, allocations: 13.03 MB / 0.6376 GB, free: 0 / 494.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