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.001633/0.001633, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002382/0.002383, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.09 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 75.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4006, allocations: 62.44 MB / 0.5316 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008179/0.4088, allocations: 5.399 MB / 0.5369 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.4135, allocations: 1.798 MB / 0.5387 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009608/0.4145, allocations: 18.66 kB / 0.5387 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.4163, allocations: 0.5361 MB / 0.5392 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.4199, allocations: 0.9214 MB / 0.5401 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.4202, allocations: 14.75 kB / 0.5401 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.4241, allocations: 1.527 MB / 0.5416 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.4261, allocations: 0.757 MB / 0.5424 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.4283, allocations: 0.5139 MB / 0.5429 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.4312, allocations: 1.611 MB / 0.5444 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.4318, allocations: 95.94 kB / 0.5445 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.4331, allocations: 315.5 kB / 0.5448 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.4341, allocations: 0.7049 MB / 0.5455 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.4356, allocations: 0.869 MB / 0.5464 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.4394, allocations: 2.796 MB / 0.5491 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4394, allocations: 0 / 0.5491 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4394, allocations: 3.938 kB / 0.5491 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.498e-05/0.4395, allocations: 4 kB / 0.5491 GB, free: 15.96 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.003514/0.443, allocations: 2.042 MB / 0.5511 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4431, allocations: 8.031 kB / 0.5511 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005082/0.4482, allocations: 1.499 MB / 0.5526 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.4499, allocations: 0.8566 MB / 0.5534 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.45, allocations: 82.41 kB / 0.5535 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.4502, allocations: 115.8 kB / 0.5536 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006722/0.4569, allocations: 4.968 MB / 0.5584 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/0.457, allocations: 27.75 kB / 0.5585 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.4572, allocations: 63.91 kB / 0.5585 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001906/0.4591, allocations: 1.182 MB / 0.5597 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/0.4658, allocations: 4.258 MB / 0.5638 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.4861, allocations: 20.5 MB / 0.5839 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.4877, allocations: 1.232 MB / 0.5851 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.4885, allocations: 383.2 kB / 0.5854 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.4885, allocations: 11.92 kB / 0.5854 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4886, allocations: 42.5 kB / 0.5855 GB, free: 9.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 4.889e-06/0.4886, allocations: 0 / 0.5855 GB, free: 9.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002551/0.4911, allocations: 1.153 MB / 0.5866 GB, free: 8.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.821e-05/0.4912, allocations: 140.5 kB / 0.5867 GB, free: 7.887 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/0.496, allocations: 2.424 MB / 0.5891 GB, free: 5.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.4961, allocations: 33.7 kB / 0.5891 GB, free: 5.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.4978, allocations: 1.791 MB / 0.5909 GB, free: 3.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000387/0.4982, allocations: 304.5 kB / 0.5912 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.4996, allocations: 0.7816 MB / 0.5919 GB, free: 2.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.4998, allocations: 354 kB / 0.5923 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.502, allocations: 1.034 MB / 0.5933 GB, free: 1.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004619/0.5067, allocations: 3.683 MB / 0.5969 GB, free: 12.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00811/0.5148, allocations: 5.158 MB / 0.6019 GB, free: 5.586 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-05/0.5149, allocations: 31.94 kB / 0.602 GB, free: 5.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01405/0.529, allocations: 4.456 MB / 0.6063 GB, free: 1.094 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.5292, allocations: 48 kB / 0.6064 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/0.5294, allocations: 92 kB / 0.6064 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.5296, allocations: 124.7 kB / 0.6066 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/0.5343, allocations: 0.8656 MB / 0.6074 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000226/0.5346, allocations: 191.8 kB / 0.6076 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004829/0.5394, allocations: 0.5526 MB / 0.6081 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006301/0.5401, allocations: 252 kB / 0.6084 GB, free: 14.98 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.002794/0.5429, allocations: 1.18 MB / 0.6095 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/0.5435, allocations: 189.5 kB / 0.6097 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.544, allocations: 217.7 kB / 0.6099 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.544, allocations: 11.92 kB / 0.6099 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.544, allocations: 4 kB / 0.6099 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/0.5447, allocations: 258.4 kB / 0.6102 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.545, allocations: 7.984 kB / 0.6102 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.5459, allocations: 15.98 kB / 0.6102 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.546, allocations: 27.91 kB / 0.6102 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002009/0.5481, allocations: 1.031 MB / 0.6112 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002071/0.5502, allocations: 1.256 MB / 0.6125 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006859/0.5509, allocations: 335.8 kB / 0.6128 GB, free: 10.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003518/0.5544, allocations: 1.486 MB / 0.6142 GB, free: 8.891 MB / 478.1 MB Notification: Performance of Backend: time 7.92e-07/0.5544, allocations: 0 / 0.6142 GB, free: 8.891 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007401/0.5618, allocations: 2.152 MB / 0.6163 GB, free: 6.754 MB / 478.1 MB Notification: Performance of SimCode: time 0.01253/0.5744, allocations: 4.497 MB / 0.6207 GB, free: 2.199 MB / 478.1 MB Notification: Performance of Templates: time 0.0426/0.6171, allocations: 18.44 MB / 0.6387 GB, free: 15.77 MB / 0.4981 GB 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