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.0009567/0.0009567, allocations: 94.97 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 45.91 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002903, allocations: 4 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 63.46 MB / 481.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008326/0.1599, allocations: 7.567 MB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005255/0.1652, allocations: 2.284 MB / 491.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.1662, allocations: 27.94 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.1669, allocations: 338.5 kB / 491.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.1696, allocations: 1.157 MB / 492.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.1698, allocations: 23.92 kB / 492.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0339/0.2037, allocations: 24 MB / 0.5047 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.2058, allocations: 0.9332 MB / 0.5056 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008845/0.2067, allocations: 406.5 kB / 0.506 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.2076, allocations: 0.5332 MB / 0.5065 GB, free: 100 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.2078, allocations: 56 kB / 0.5065 GB, free: 44 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.313/0.5209, allocations: 263.3 kB / 0.5068 GB, free: 34.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.5224, allocations: 0.626 MB / 0.5074 GB, free: 34.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.5229, allocations: 388.5 kB / 0.5078 GB, free: 34.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.5265, allocations: 2.112 MB / 0.5098 GB, free: 33.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.5265, allocations: 1.875 kB / 0.5098 GB, free: 33.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5266, allocations: 0 / 0.5098 GB, free: 33.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.1e-05/0.5267, allocations: 2.438 kB / 0.5098 GB, free: 33.85 MB / 382.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.003679/0.5303, allocations: 1.732 MB / 0.5115 GB, free: 32.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5304, allocations: 8.781 kB / 0.5115 GB, free: 32.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00704/0.5375, allocations: 1.827 MB / 0.5133 GB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.5401, allocations: 0.8452 MB / 0.5141 GB, free: 32.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.5402, allocations: 88.94 kB / 0.5142 GB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/0.5406, allocations: 108.4 kB / 0.5143 GB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009929/0.5505, allocations: 4.951 MB / 0.5192 GB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/0.5506, allocations: 23.7 kB / 0.5192 GB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.5509, allocations: 63.25 kB / 0.5192 GB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.5535, allocations: 1.188 MB / 0.5204 GB, free: 31.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008523/0.562, allocations: 4.228 MB / 0.5245 GB, free: 31.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.5862, allocations: 20.6 MB / 0.5447 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.5877, allocations: 1.18 MB / 0.5458 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.5877, allocations: 7.984 kB / 0.5458 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.5877, allocations: 40.97 kB / 0.5459 GB, free: 12.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.547e-06/0.5877, allocations: 0.8438 kB / 0.5459 GB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001563/0.5893, allocations: 1.302 MB / 0.5471 GB, free: 11.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.5894, allocations: 110.8 kB / 0.5472 GB, free: 11.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.5922, allocations: 2.467 MB / 0.5496 GB, free: 8.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.5922, allocations: 29.7 kB / 0.5497 GB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.5933, allocations: 1.821 MB / 0.5514 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.5935, allocations: 274.3 kB / 0.5517 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.5936, allocations: 76.19 kB / 0.5518 GB, free: 6.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002453/0.5939, allocations: 0.5188 MB / 0.5523 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.5951, allocations: 1.011 MB / 0.5533 GB, free: 4.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.5974, allocations: 3.706 MB / 0.5569 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.6, allocations: 1.935 MB / 0.5588 GB, free: 13.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.678e-05/0.6, allocations: 28 kB / 0.5588 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007218/0.6072, allocations: 4.439 MB / 0.5631 GB, free: 9.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.569e-05/0.6073, allocations: 44 kB / 0.5632 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/0.6074, allocations: 102.1 kB / 0.5633 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001454/0.6076, allocations: 140 kB / 0.5634 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.61, allocations: 0.885 MB / 0.5643 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001453/0.6101, allocations: 183.3 kB / 0.5645 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.613, allocations: 0.5597 MB / 0.565 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/0.6133, allocations: 252 kB / 0.5652 GB, free: 7.352 MB / 398.1 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.001989/0.6153, allocations: 1.197 MB / 0.5664 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.6156, allocations: 189.5 kB / 0.5666 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.616, allocations: 218.1 kB / 0.5668 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.616, allocations: 10.34 kB / 0.5668 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.616, allocations: 0 / 0.5668 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.616, allocations: 7.984 kB / 0.5668 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.6197, allocations: 2.034 MB / 0.5688 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.6198, allocations: 6.312 kB / 0.5688 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.62, allocations: 63.89 kB / 0.5689 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.6201, allocations: 0 / 0.5689 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.6201, allocations: 8 kB / 0.5689 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.6201, allocations: 5.75 kB / 0.5689 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6201, allocations: 0 / 0.5689 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.6213, allocations: 1.085 MB / 0.5699 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/0.6217, allocations: 258.4 kB / 0.5702 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.6219, allocations: 8 kB / 0.5702 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.6223, allocations: 19.97 kB / 0.5702 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.6224, allocations: 27.92 kB / 0.5702 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.6224, allocations: 19.52 kB / 0.5703 GB, free: 2.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002143/0.6246, allocations: 1.506 MB / 0.5717 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6246, allocations: 4 kB / 0.5717 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003089/0.6277, allocations: 0.536 MB / 0.5723 GB, free: 32 kB / 398.1 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.0003071/0.628, allocations: 123.6 kB / 0.5724 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003464/0.6315, allocations: 2.304 MB / 0.5746 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6315, allocations: 1.938 kB / 0.5746 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.6319, allocations: 344.2 kB / 0.575 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.6326, allocations: 158.7 kB / 0.5751 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/0.6394, allocations: 4.674 MB / 0.5797 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.6412, allocations: 1.897 MB / 0.5815 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002786/0.644, allocations: 1.263 MB / 0.5828 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.6442, allocations: 137.2 kB / 0.5829 GB, free: 5.086 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6442, allocations: 0 / 0.5829 GB, free: 5.086 MB / 414.1 MB Notification: Performance of Templates: time 0.02866/0.6729, allocations: 12.58 MB / 0.5952 GB, free: 8.582 MB / 430.1 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/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