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.001262/0.001263, allocations: 110 kB / 18.3 MB, free: 4.836 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.001295/0.001295, allocations: 199.4 kB / 19.23 MB, free: 3.91 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.347/1.347, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2126/0.2126, allocations: 44.18 MB / 337.2 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 61.3 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1108, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006292/0.1172, allocations: 5.411 MB / 475.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.1203, allocations: 1.752 MB / 477.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.1207, allocations: 19.94 kB / 477.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1218, allocations: 0.5174 MB / 477.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.1234, allocations: 0.9107 MB / 478.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.47e-05/0.1235, allocations: 15.94 kB / 478.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.1251, allocations: 1.55 MB / 480.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008277/0.126, allocations: 0.7465 MB / 480.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.1265, allocations: 0.5291 MB / 481.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.1281, allocations: 1.5 MB / 482.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.1283, allocations: 88 kB / 483 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.1289, allocations: 315.5 kB / 483.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.1295, allocations: 0.7127 MB / 484 MB, free: 248 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.1302, allocations: 0.877 MB / 484.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.1325, allocations: 2.675 MB / 487.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1325, allocations: 3.938 kB / 487.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1325, allocations: 8 kB / 487.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.1325, allocations: 0 / 487.5 MB, free: 12.66 MB / 366.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.002566/0.1351, allocations: 2.062 MB / 489.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1352, allocations: 8.031 kB / 489.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.1403, allocations: 1.499 MB / 491.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.1417, allocations: 0.8566 MB / 492 MB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.329e-05/0.1418, allocations: 86.47 kB / 492 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.142, allocations: 111.8 kB / 492.2 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/0.1479, allocations: 4.98 MB / 497.1 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.148, allocations: 23.75 kB / 497.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.1482, allocations: 63.91 kB / 497.2 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001815/0.15, allocations: 1.182 MB / 498.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006708/0.1567, allocations: 4.258 MB / 0.4909 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.242/0.3988, allocations: 20.56 MB / 0.511 GB, free: 32.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4004, allocations: 1.225 MB / 0.5122 GB, free: 31.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.401, allocations: 379.5 kB / 0.5125 GB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.401, allocations: 5.625 kB / 0.5125 GB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.401, allocations: 46.03 kB / 0.5126 GB, free: 31.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.975e-06/0.401, allocations: 2 kB / 0.5126 GB, free: 31.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.002007/0.4031, allocations: 1.151 MB / 0.5137 GB, free: 31.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4031, allocations: 135.4 kB / 0.5138 GB, free: 31.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.4075, allocations: 2.434 MB / 0.5162 GB, free: 30.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.4075, allocations: 30.83 kB / 0.5162 GB, free: 30.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.4086, allocations: 1.795 MB / 0.518 GB, free: 29.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.4089, allocations: 305.2 kB / 0.5183 GB, free: 28.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009885/0.4099, allocations: 0.7877 MB / 0.519 GB, free: 28.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.41, allocations: 354.3 kB / 0.5194 GB, free: 28.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.412, allocations: 1.032 MB / 0.5204 GB, free: 27.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.4145, allocations: 3.696 MB / 0.524 GB, free: 24.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004361/0.4189, allocations: 5.161 MB / 0.529 GB, free: 19.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.097e-05/0.419, allocations: 27.81 kB / 0.5291 GB, free: 19.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006359/0.4253, allocations: 4.455 MB / 0.5334 GB, free: 17.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/0.4254, allocations: 45 kB / 0.5335 GB, free: 17.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.277e-05/0.4255, allocations: 100.9 kB / 0.5336 GB, free: 17.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.396e-05/0.4256, allocations: 124.1 kB / 0.5337 GB, free: 17.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.4276, allocations: 0.8657 MB / 0.5345 GB, free: 17.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/0.4277, allocations: 186.7 kB / 0.5347 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.4302, allocations: 0.5557 MB / 0.5352 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.4304, allocations: 253.5 kB / 0.5355 GB, free: 17.04 MB / 382.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.001207/0.4316, allocations: 1.189 MB / 0.5366 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.4319, allocations: 186.6 kB / 0.5368 GB, free: 16.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.4321, allocations: 216.9 kB / 0.537 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.602e-05/0.4322, allocations: 27.3 kB / 0.5371 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.4322, allocations: 3.562 kB / 0.5371 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4322, allocations: 0 / 0.5371 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.435, allocations: 2.08 MB / 0.5391 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.435, allocations: 0 / 0.5391 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.4353, allocations: 58.78 kB / 0.5391 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.4353, allocations: 7.266 kB / 0.5392 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.4353, allocations: 7.594 kB / 0.5392 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4353, allocations: 5.156 kB / 0.5392 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4353, allocations: 0 / 0.5392 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.4362, allocations: 1.194 MB / 0.5403 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.4365, allocations: 257.9 kB / 0.5406 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.4366, allocations: 8 kB / 0.5406 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.4371, allocations: 19.55 kB / 0.5406 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.4372, allocations: 30.38 kB / 0.5406 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.4372, allocations: 16 kB / 0.5406 GB, free: 13.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001407/0.4386, allocations: 1.496 MB / 0.5421 GB, free: 12.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4386, allocations: 4 kB / 0.5421 GB, free: 12.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002496/0.4411, allocations: 0.5253 MB / 0.5426 GB, free: 11.94 MB / 382.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.0002246/0.4414, allocations: 138.5 kB / 0.5428 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.4443, allocations: 2.446 MB / 0.5451 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4443, allocations: 4 kB / 0.5451 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.4447, allocations: 367.7 kB / 0.5455 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4458, allocations: 173.8 kB / 0.5457 GB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.4509, allocations: 4.297 MB / 0.5499 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.4521, allocations: 1.88 MB / 0.5517 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.4524, allocations: 164.7 kB / 0.5519 GB, free: 2.445 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4524, allocations: 0 / 0.5519 GB, free: 2.445 MB / 382.1 MB Notification: Performance of Templates: time 0.03829/0.4907, allocations: 27.7 MB / 0.5789 GB, free: 6.812 MB / 414.1 MB 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