Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 112.5 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 189.2 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3247, allocations: 60.81 MB / 0.5195 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006036/0.3308, allocations: 5.429 MB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.3348, allocations: 1.745 MB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007099/0.3355, allocations: 23.56 kB / 0.5266 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.3369, allocations: 0.5228 MB / 0.5271 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.3392, allocations: 0.9153 MB / 0.528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.3394, allocations: 20.09 kB / 0.528 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.3416, allocations: 1.545 MB / 0.5295 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.3426, allocations: 0.7541 MB / 0.5302 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008194/0.3434, allocations: 0.5203 MB / 0.5307 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.3455, allocations: 1.506 MB / 0.5322 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003786/0.3459, allocations: 90.19 kB / 0.5323 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008904/0.3468, allocations: 311.5 kB / 0.5326 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.3475, allocations: 0.7111 MB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008923/0.3484, allocations: 0.8875 MB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.3517, allocations: 2.829 MB / 0.5369 GB, free: 8.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3517, allocations: 4 kB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3517, allocations: 0 / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.3518, allocations: 1.25 kB / 0.5369 GB, free: 8.453 MB / 398.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.003624/0.3554, allocations: 2.066 MB / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3554, allocations: 9.094 kB / 0.5389 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.3607, allocations: 1.502 MB / 0.5404 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.3627, allocations: 0.853 MB / 0.5412 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.3628, allocations: 87 kB / 0.5413 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.3631, allocations: 113.2 kB / 0.5414 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006898/0.37, allocations: 4.986 MB / 0.5463 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.3701, allocations: 23.81 kB / 0.5463 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.3703, allocations: 59.95 kB / 0.5464 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.3722, allocations: 1.178 MB / 0.5475 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006978/0.3792, allocations: 4.262 MB / 0.5517 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/0.4006, allocations: 20.5 MB / 0.5717 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.402, allocations: 1.22 MB / 0.5729 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.4025, allocations: 383.2 kB / 0.5733 GB, free: 3.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4025, allocations: 7.938 kB / 0.5733 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4025, allocations: 46.56 kB / 0.5733 GB, free: 3.484 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 3.186e-06/0.4026, allocations: 0 / 0.5733 GB, free: 3.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.001701/0.4043, allocations: 1.157 MB / 0.5745 GB, free: 2.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.4043, allocations: 136.5 kB / 0.5746 GB, free: 2.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/0.4074, allocations: 2.429 MB / 0.577 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.4075, allocations: 33.7 kB / 0.577 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.4086, allocations: 1.798 MB / 0.5787 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.4089, allocations: 296.6 kB / 0.579 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008465/0.4098, allocations: 0.7971 MB / 0.5798 GB, free: 12.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4099, allocations: 353.9 kB / 0.5801 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.4112, allocations: 1.026 MB / 0.5811 GB, free: 11.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003145/0.4143, allocations: 3.695 MB / 0.5848 GB, free: 6.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005493/0.4198, allocations: 5.156 MB / 0.5898 GB, free: 15.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.103e-05/0.4199, allocations: 24 kB / 0.5898 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006926/0.4269, allocations: 4.456 MB / 0.5942 GB, free: 11.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.4269, allocations: 45 kB / 0.5942 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/0.4271, allocations: 96 kB / 0.5943 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.4272, allocations: 128 kB / 0.5944 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.4295, allocations: 0.8733 MB / 0.5953 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001311/0.4297, allocations: 183.3 kB / 0.5954 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.4324, allocations: 0.5487 MB / 0.596 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/0.4327, allocations: 252 kB / 0.5962 GB, free: 9.234 MB / 462.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.00161/0.4343, allocations: 1.188 MB / 0.5974 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.4346, allocations: 186.1 kB / 0.5976 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.435, allocations: 225.8 kB / 0.5978 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/0.435, allocations: 20 kB / 0.5978 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.435, allocations: 0 / 0.5978 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.435, allocations: 3.984 kB / 0.5978 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.4385, allocations: 2.068 MB / 0.5998 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4386, allocations: 3.938 kB / 0.5998 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.4389, allocations: 59.91 kB / 0.5999 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.4389, allocations: 4 kB / 0.5999 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.4389, allocations: 19.97 kB / 0.5999 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4389, allocations: 4 kB / 0.5999 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.4389, allocations: 7.938 kB / 0.5999 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.4401, allocations: 1.177 MB / 0.6011 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.4405, allocations: 254.5 kB / 0.6013 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.4408, allocations: 8 kB / 0.6013 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.4413, allocations: 23.97 kB / 0.6013 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.4414, allocations: 35.84 kB / 0.6014 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.4415, allocations: 20 kB / 0.6014 GB, free: 3.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002187/0.4437, allocations: 1.49 MB / 0.6028 GB, free: 2.316 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4437, allocations: 0 / 0.6028 GB, free: 2.316 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003049/0.4467, allocations: 0.5418 MB / 0.6034 GB, free: 1.773 MB / 462.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.0004245/0.4472, allocations: 127.1 kB / 0.6035 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003955/0.4511, allocations: 2.355 MB / 0.6058 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4512, allocations: 0 / 0.6058 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.4516, allocations: 371.7 kB / 0.6061 GB, free: 14.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4531, allocations: 171.1 kB / 0.6063 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/0.4615, allocations: 4.255 MB / 0.6105 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.4639, allocations: 1.865 MB / 0.6123 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.4644, allocations: 163.4 kB / 0.6124 GB, free: 8.406 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4644, allocations: 0 / 0.6124 GB, free: 8.406 MB / 478.1 MB Notification: Performance of Templates: time 0.04314/0.5076, allocations: 28.1 MB / 0.6399 GB, free: 12.36 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches