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.001765/0.001765, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002024/0.002024, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 46.1 MB / 345 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 79.88 kB / 482 MB, free: 4.152 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3516, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006127/0.3578, allocations: 5.397 MB / 0.5369 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.3615, allocations: 1.801 MB / 0.5387 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.3622, allocations: 23.12 kB / 0.5387 GB, free: 8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.3635, allocations: 0.5327 MB / 0.5392 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.3656, allocations: 0.9148 MB / 0.5401 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.3657, allocations: 16.3 kB / 0.5401 GB, free: 7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.3677, allocations: 1.525 MB / 0.5416 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.3688, allocations: 0.7499 MB / 0.5423 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008864/0.3697, allocations: 0.5174 MB / 0.5428 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.3719, allocations: 1.618 MB / 0.5444 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.3723, allocations: 88 kB / 0.5445 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/0.3731, allocations: 307.6 kB / 0.5448 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006156/0.3737, allocations: 0.7088 MB / 0.5455 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000734/0.3745, allocations: 0.8651 MB / 0.5463 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.3771, allocations: 2.803 MB / 0.5491 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3771, allocations: 0 / 0.5491 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3771, allocations: 0 / 0.5491 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.17e-05/0.3771, allocations: 0 / 0.5491 GB, free: 15.84 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.003048/0.3802, allocations: 2.042 MB / 0.5511 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3803, allocations: 8.031 kB / 0.5511 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.3852, allocations: 1.507 MB / 0.5525 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.3868, allocations: 0.8526 MB / 0.5534 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.031e-05/0.3869, allocations: 86.45 kB / 0.5535 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.3871, allocations: 111.8 kB / 0.5536 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006123/0.3933, allocations: 4.972 MB / 0.5584 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.3933, allocations: 19.81 kB / 0.5584 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.3935, allocations: 67.89 kB / 0.5585 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001849/0.3954, allocations: 1.182 MB / 0.5597 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007006/0.4024, allocations: 4.258 MB / 0.5638 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.4243, allocations: 20.5 MB / 0.5838 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.4259, allocations: 1.232 MB / 0.585 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.4265, allocations: 379.2 kB / 0.5854 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.4265, allocations: 11.92 kB / 0.5854 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.4266, allocations: 42.56 kB / 0.5855 GB, free: 9.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.697e-06/0.4266, allocations: 0 / 0.5855 GB, free: 9.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001808/0.4284, allocations: 1.142 MB / 0.5866 GB, free: 7.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.4285, allocations: 140.5 kB / 0.5867 GB, free: 7.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003605/0.4321, allocations: 2.428 MB / 0.5891 GB, free: 5.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4321, allocations: 29.7 kB / 0.5891 GB, free: 5.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.4335, allocations: 1.795 MB / 0.5909 GB, free: 3.449 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/0.4339, allocations: 300.5 kB / 0.5911 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009905/0.4349, allocations: 0.7894 MB / 0.5919 GB, free: 2.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.435, allocations: 349.9 kB / 0.5923 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.4365, allocations: 1.034 MB / 0.5933 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.4397, allocations: 3.687 MB / 0.5969 GB, free: 11.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00531/0.445, allocations: 5.163 MB / 0.6019 GB, free: 5.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-05/0.4452, allocations: 28 kB / 0.6019 GB, free: 5.434 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007445/0.4526, allocations: 4.455 MB / 0.6063 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.4527, allocations: 46.66 kB / 0.6063 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.4529, allocations: 96 kB / 0.6064 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.453, allocations: 124 kB / 0.6065 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/0.4554, allocations: 0.8694 MB / 0.6074 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001435/0.4556, allocations: 183.9 kB / 0.6076 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.4584, allocations: 0.5565 MB / 0.6081 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005019/0.4589, allocations: 256 kB / 0.6083 GB, free: 14.85 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.001889/0.4608, allocations: 1.188 MB / 0.6095 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003764/0.4612, allocations: 189.5 kB / 0.6097 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.4616, allocations: 217.7 kB / 0.6099 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-05/0.4617, allocations: 19.98 kB / 0.6099 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4617, allocations: 0 / 0.6099 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4617, allocations: 0 / 0.6099 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.4655, allocations: 2.073 MB / 0.6119 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4655, allocations: 0 / 0.6119 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.4658, allocations: 67.89 kB / 0.612 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4658, allocations: 0 / 0.612 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.4659, allocations: 8 kB / 0.612 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4659, allocations: 4 kB / 0.612 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4659, allocations: 3.938 kB / 0.612 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4671, allocations: 1.194 MB / 0.6132 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.4675, allocations: 250.5 kB / 0.6134 GB, free: 9.527 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.4677, allocations: 4 kB / 0.6134 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.4683, allocations: 15.98 kB / 0.6134 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.4683, allocations: 39.84 kB / 0.6135 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.4684, allocations: 31.91 kB / 0.6135 GB, free: 9.438 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002025/0.4704, allocations: 1.49 MB / 0.615 GB, free: 7.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4704, allocations: 0 / 0.615 GB, free: 7.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002765/0.4732, allocations: 0.5184 MB / 0.6155 GB, free: 7.41 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.0003782/0.4736, allocations: 127.2 kB / 0.6156 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.4772, allocations: 2.35 MB / 0.6179 GB, free: 4.949 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4772, allocations: 0.8125 kB / 0.6179 GB, free: 4.949 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.4777, allocations: 372.1 kB / 0.6182 GB, free: 4.586 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4789, allocations: 173.9 kB / 0.6184 GB, free: 4.414 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006924/0.4858, allocations: 4.243 MB / 0.6226 GB, free: 124 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.4878, allocations: 1.873 MB / 0.6244 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.4883, allocations: 159.4 kB / 0.6245 GB, free: 14.06 MB / 494.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4883, allocations: 4 kB / 0.6245 GB, free: 14.05 MB / 494.1 MB Notification: Performance of Templates: time 0.0414/0.5297, allocations: 27.98 MB / 0.6519 GB, free: 2.125 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