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/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_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/Complex trunk/package.mo): time 0.002057/0.002056, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 97.58 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3644/0.3644, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2991, allocations: 62.02 MB / 0.5151 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007184/0.3063, allocations: 8.93 MB / 0.5239 GB, free: 31.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.3109, allocations: 2.386 MB / 0.5262 GB, free: 29.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008482/0.3118, allocations: 31.94 kB / 0.5262 GB, free: 29.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.313, allocations: 0.51 MB / 0.5267 GB, free: 29.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.3145, allocations: 0.8636 MB / 0.5276 GB, free: 29.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.076e-05/0.3146, allocations: 10.36 kB / 0.5276 GB, free: 29.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.3178, allocations: 3.313 MB / 0.5308 GB, free: 28.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009919/0.3188, allocations: 0.7477 MB / 0.5315 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004759/0.3193, allocations: 446.1 kB / 0.532 GB, free: 27.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007202/0.32, allocations: 0.7793 MB / 0.5327 GB, free: 27.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.3201, allocations: 66.88 kB / 0.5328 GB, free: 27.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.3207, allocations: 297 kB / 0.5331 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.3212, allocations: 0.7075 MB / 0.5338 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005574/0.3218, allocations: 0.8802 MB / 0.5346 GB, free: 26.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002597/0.3244, allocations: 2.653 MB / 0.5372 GB, free: 25.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3244, allocations: 0 / 0.5372 GB, free: 25.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3244, allocations: 0.6094 kB / 0.5372 GB, free: 25.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.526e-05/0.3245, allocations: 0 / 0.5372 GB, free: 25.76 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.002866/0.3274, allocations: 2.062 MB / 0.5392 GB, free: 24.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3274, allocations: 9.5 kB / 0.5392 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00528/0.3327, allocations: 1.498 MB / 0.5407 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.3344, allocations: 0.857 MB / 0.5415 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.3345, allocations: 81.81 kB / 0.5416 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.3347, allocations: 117.4 kB / 0.5417 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005736/0.3405, allocations: 4.978 MB / 0.5466 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.3405, allocations: 28.36 kB / 0.5466 GB, free: 20.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.3407, allocations: 58.53 kB / 0.5467 GB, free: 20.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001711/0.3424, allocations: 1.185 MB / 0.5478 GB, free: 20.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006154/0.3486, allocations: 4.256 MB / 0.552 GB, free: 18.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/0.3651, allocations: 20.6 MB / 0.5721 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.3665, allocations: 1.174 MB / 0.5733 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.3669, allocations: 349.3 kB / 0.5736 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3669, allocations: 11.92 kB / 0.5736 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3669, allocations: 34.56 kB / 0.5736 GB, free: 12.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 2.986e-06/0.3669, allocations: 0 / 0.5736 GB, free: 12.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.001468/0.3684, allocations: 1.058 MB / 0.5747 GB, free: 11.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.3685, allocations: 106.8 kB / 0.5748 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.3714, allocations: 2.47 MB / 0.5772 GB, free: 8.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3715, allocations: 33.7 kB / 0.5772 GB, free: 8.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.3726, allocations: 1.829 MB / 0.579 GB, free: 6.582 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.3728, allocations: 269 kB / 0.5793 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009124/0.3737, allocations: 0.7971 MB / 0.58 GB, free: 5.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3739, allocations: 357.9 kB / 0.5804 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3753, allocations: 1.019 MB / 0.5814 GB, free: 4.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003152/0.3784, allocations: 3.734 MB / 0.585 GB, free: 15.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004693/0.3831, allocations: 5.182 MB / 0.5901 GB, free: 8.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.452e-05/0.3832, allocations: 28 kB / 0.5901 GB, free: 8.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00617/0.3894, allocations: 4.447 MB / 0.5944 GB, free: 4.027 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.3895, allocations: 48.25 kB / 0.5945 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.068e-05/0.3895, allocations: 100 kB / 0.5946 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.3897, allocations: 124 kB / 0.5947 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.3918, allocations: 0.8889 MB / 0.5956 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001344/0.392, allocations: 191.2 kB / 0.5958 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.3944, allocations: 0.5681 MB / 0.5963 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/0.3947, allocations: 251.9 kB / 0.5965 GB, free: 1.863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001893/0.3966, allocations: 1.193 MB / 0.5977 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.3969, allocations: 181.6 kB / 0.5979 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.3973, allocations: 222.1 kB / 0.5981 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.3974, allocations: 8 kB / 0.5981 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3974, allocations: 0 / 0.5981 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.3974, allocations: 3.984 kB / 0.5981 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.4013, allocations: 2.046 MB / 0.6001 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4013, allocations: 0 / 0.6001 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.4016, allocations: 71.84 kB / 0.6002 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.4016, allocations: 3.984 kB / 0.6002 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.4017, allocations: 8 kB / 0.6002 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4017, allocations: 4 kB / 0.6002 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4017, allocations: 0 / 0.6002 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.4036, allocations: 2.258 MB / 0.6024 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.404, allocations: 246.5 kB / 0.6026 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.4041, allocations: 8 kB / 0.6026 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.4046, allocations: 15.98 kB / 0.6027 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.4047, allocations: 23.95 kB / 0.6027 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.4047, allocations: 20 kB / 0.6027 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001891/0.4066, allocations: 1.522 MB / 0.6042 GB, free: 9.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4066, allocations: 0 / 0.6042 GB, free: 9.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002627/0.4092, allocations: 0.5379 MB / 0.6047 GB, free: 9.332 MB / 426.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 (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.0002737/0.4095, allocations: 131.1 kB / 0.6048 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.413, allocations: 2.329 MB / 0.6071 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.413, allocations: 0 / 0.6071 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.4134, allocations: 335.7 kB / 0.6074 GB, free: 6.559 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4144, allocations: 163.8 kB / 0.6076 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.4209, allocations: 5.328 MB / 0.6128 GB, free: 1.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.4227, allocations: 1.878 MB / 0.6146 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002884/0.4256, allocations: 1.267 MB / 0.6159 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.4259, allocations: 131.4 kB / 0.616 GB, free: 13.71 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4259, allocations: 0 / 0.616 GB, free: 13.71 MB / 442.7 MB Notification: Performance of Templates: time 0.02708/0.453, allocations: 13.28 MB / 0.6289 GB, free: 456 kB / 442.7 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches