Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 200.1 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 226.5 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007359/0.0007361, allocations: 94.91 kB / 295.1 MB, free: 4.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1907/0.1907, allocations: 44.84 MB / 392 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 8 kB / 464.7 MB, free: 68.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09721, allocations: 62.96 MB / 0.5153 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00638/0.1036, allocations: 7.933 MB / 0.5231 GB, free: 13.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.1078, allocations: 2.209 MB / 0.5252 GB, free: 10.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.1089, allocations: 31.94 kB / 0.5253 GB, free: 10.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1101, allocations: 386.1 kB / 0.5256 GB, free: 10.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.1133, allocations: 1.296 MB / 0.5269 GB, free: 9.211 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1135, allocations: 15.98 kB / 0.5269 GB, free: 9.195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.2303/0.3438, allocations: 30.1 MB / 0.5563 GB, free: 33.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.3456, allocations: 0.9251 MB / 0.5572 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.3464, allocations: 483.6 kB / 0.5577 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009717/0.3474, allocations: 0.7498 MB / 0.5584 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.3476, allocations: 59.94 kB / 0.5584 GB, free: 33.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.3482, allocations: 266.8 kB / 0.5587 GB, free: 33.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006596/0.3489, allocations: 0.67 MB / 0.5594 GB, free: 33.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002923/0.3492, allocations: 390 kB / 0.5597 GB, free: 33.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.3516, allocations: 2.118 MB / 0.5618 GB, free: 32.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3516, allocations: 0 / 0.5618 GB, free: 32.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3516, allocations: 0 / 0.5618 GB, free: 32.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.762e-05/0.3517, allocations: 0 / 0.5618 GB, free: 32.96 MB / 378.7 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.00268/0.3544, allocations: 1.728 MB / 0.5635 GB, free: 31.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3544, allocations: 9.656 kB / 0.5635 GB, free: 31.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004527/0.3589, allocations: 1.543 MB / 0.565 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.3603, allocations: 0.8454 MB / 0.5658 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.3603, allocations: 83.19 kB / 0.5659 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.3605, allocations: 110.7 kB / 0.566 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006262/0.3668, allocations: 4.965 MB / 0.5709 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.3669, allocations: 22.59 kB / 0.5709 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.3671, allocations: 64.84 kB / 0.5709 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/0.369, allocations: 1.186 MB / 0.5721 GB, free: 29.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006039/0.3751, allocations: 4.231 MB / 0.5762 GB, free: 27.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.3911, allocations: 20.61 MB / 0.5964 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009617/0.3921, allocations: 1.169 MB / 0.5975 GB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.3925, allocations: 347.8 kB / 0.5978 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3925, allocations: 8 kB / 0.5978 GB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.3925, allocations: 38.56 kB / 0.5979 GB, free: 4.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.146e-06/0.3925, allocations: 0 / 0.5979 GB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001225/0.3938, allocations: 1.046 MB / 0.5989 GB, free: 3.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3938, allocations: 106.8 kB / 0.599 GB, free: 3.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.3962, allocations: 2.463 MB / 0.6014 GB, free: 1.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3962, allocations: 29.7 kB / 0.6014 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009767/0.3972, allocations: 1.824 MB / 0.6032 GB, free: 15.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.3974, allocations: 275.8 kB / 0.6035 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3976, allocations: 80 kB / 0.6036 GB, free: 14.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003149/0.3979, allocations: 0.515 MB / 0.6041 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.3993, allocations: 1.007 MB / 0.605 GB, free: 13.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.4024, allocations: 3.718 MB / 0.6087 GB, free: 8.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.4048, allocations: 1.933 MB / 0.6106 GB, free: 6.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.211e-05/0.4049, allocations: 30.08 kB / 0.6106 GB, free: 6.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006285/0.4112, allocations: 4.431 MB / 0.6149 GB, free: 1.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.4113, allocations: 48 kB / 0.615 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.514e-05/0.4114, allocations: 99.98 kB / 0.6151 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.4115, allocations: 140 kB / 0.6152 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.4137, allocations: 0.8817 MB / 0.6161 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001331/0.4138, allocations: 191.3 kB / 0.6162 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/0.4164, allocations: 0.5589 MB / 0.6168 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/0.4167, allocations: 252 kB / 0.617 GB, free: 15.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (484): * Single equations (assignments): 481 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001695/0.4184, allocations: 1.192 MB / 0.6182 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.4187, allocations: 189.5 kB / 0.6184 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.419, allocations: 222.1 kB / 0.6186 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.419, allocations: 8.547 kB / 0.6186 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.419, allocations: 0 / 0.6186 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.419, allocations: 4.047 kB / 0.6186 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.4222, allocations: 2.054 MB / 0.6206 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4223, allocations: 0 / 0.6206 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.4225, allocations: 59.91 kB / 0.6207 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.4226, allocations: 4.281 kB / 0.6207 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.4226, allocations: 8 kB / 0.6207 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4226, allocations: 0 / 0.6207 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4226, allocations: 11.94 kB / 0.6207 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4236, allocations: 1.05 MB / 0.6217 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.424, allocations: 246.5 kB / 0.6219 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.4242, allocations: 16.47 kB / 0.622 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.4246, allocations: 15.98 kB / 0.622 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.4247, allocations: 19.97 kB / 0.622 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.4247, allocations: 23.05 kB / 0.622 GB, free: 10.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00193/0.4267, allocations: 1.51 MB / 0.6235 GB, free: 8.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4267, allocations: 1.641 kB / 0.6235 GB, free: 8.945 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002977/0.4297, allocations: 0.5357 MB / 0.624 GB, free: 8.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/0.4299, allocations: 130.8 kB / 0.6241 GB, free: 8.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003435/0.4334, allocations: 2.297 MB / 0.6264 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4334, allocations: 4.25 kB / 0.6264 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.4338, allocations: 336.5 kB / 0.6267 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4348, allocations: 158 kB / 0.6269 GB, free: 5.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/0.4425, allocations: 4.947 MB / 0.6317 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.4441, allocations: 1.865 MB / 0.6335 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.4445, allocations: 167.4 kB / 0.6337 GB, free: 14.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4446, allocations: 0 / 0.6337 GB, free: 14.46 MB / 426.7 MB Notification: Performance of Templates: time 0.04224/0.4868, allocations: 27.49 MB / 0.6605 GB, free: 3.012 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches