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.002246/0.002245, allocations: 103.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002798/0.002798, allocations: 209.8 kB / 18.92 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.903/2.903, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5116/0.5116, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 75.88 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3009, allocations: 62.45 MB / 480.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01973/0.3207, allocations: 8.867 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008545/0.3293, allocations: 2.329 MB / 491.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.3321, allocations: 27.94 kB / 491.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006704/0.3389, allocations: 0.51 MB / 491.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.344, allocations: 0.8411 MB / 492.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.3445, allocations: 23.97 kB / 492.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007028/0.3516, allocations: 2.646 MB / 495.4 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006932/0.3586, allocations: 0.7935 MB / 496.2 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.3606, allocations: 497.9 kB / 496.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.3631, allocations: 0.8174 MB / 497.5 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006507/0.3638, allocations: 92 kB / 497.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.3654, allocations: 319.5 kB / 497.9 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.3671, allocations: 0.7089 MB / 498.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.3699, allocations: 0.8923 MB / 499.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008947/0.3788, allocations: 2.168 MB / 0.4899 GB, free: 20 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.3789, allocations: 4 kB / 0.4899 GB, free: 16 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3789, allocations: 0 / 0.4899 GB, free: 16 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.3791, allocations: 0 / 0.4899 GB, free: 16 kB / 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.009099/0.3882, allocations: 2.035 MB / 0.4919 GB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.006e-05/0.3883, allocations: 12.03 kB / 0.4919 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.4014, allocations: 1.495 MB / 0.4934 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.4053, allocations: 0.8527 MB / 0.4942 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.4056, allocations: 98.33 kB / 0.4943 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008782/0.4065, allocations: 111.8 kB / 0.4944 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.4261, allocations: 4.964 MB / 0.4992 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.4263, allocations: 27.75 kB / 0.4993 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008149/0.4272, allocations: 67.89 kB / 0.4993 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003892/0.4311, allocations: 1.185 MB / 0.5005 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.4456, allocations: 4.243 MB / 0.5046 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6277/1.073, allocations: 20.6 MB / 0.5248 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/1.076, allocations: 1.172 MB / 0.5259 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/1.077, allocations: 349.1 kB / 0.5262 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/1.077, allocations: 5.172 kB / 0.5262 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.077, allocations: 38.31 kB / 0.5263 GB, free: 21.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 5.48e-06/1.077, allocations: 0 / 0.5263 GB, free: 21.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.00345/1.081, allocations: 1.053 MB / 0.5273 GB, free: 21.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.081, allocations: 107.8 kB / 0.5274 GB, free: 21.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00903/1.09, allocations: 2.467 MB / 0.5298 GB, free: 20.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004096/1.09, allocations: 35.27 kB / 0.5298 GB, free: 20.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002983/1.093, allocations: 1.82 MB / 0.5316 GB, free: 19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009011/1.094, allocations: 280.6 kB / 0.5319 GB, free: 18.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002259/1.096, allocations: 0.7944 MB / 0.5327 GB, free: 18.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000284/1.097, allocations: 350 kB / 0.533 GB, free: 18.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003417/1.1, allocations: 1.027 MB / 0.534 GB, free: 17.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006584/1.107, allocations: 3.728 MB / 0.5376 GB, free: 13.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.119, allocations: 5.182 MB / 0.5427 GB, free: 8.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004311/1.119, allocations: 28.88 kB / 0.5427 GB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01822/1.138, allocations: 4.451 MB / 0.5471 GB, free: 6.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/1.138, allocations: 52.22 kB / 0.5471 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/1.138, allocations: 100.6 kB / 0.5472 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/1.138, allocations: 127.1 kB / 0.5473 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/1.144, allocations: 0.8833 MB / 0.5482 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002277/1.144, allocations: 190.5 kB / 0.5484 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007515/1.151, allocations: 0.5617 MB / 0.5489 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/1.153, allocations: 255.6 kB / 0.5492 GB, free: 5.688 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003791/1.157, allocations: 1.188 MB / 0.5503 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006538/1.157, allocations: 193.5 kB / 0.5505 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/1.158, allocations: 221.9 kB / 0.5507 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/1.158, allocations: 8 kB / 0.5507 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/1.158, allocations: 0 / 0.5507 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.158, allocations: 3.984 kB / 0.5507 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/1.164, allocations: 2.031 MB / 0.5527 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.164, allocations: 0 / 0.5527 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/1.165, allocations: 71.89 kB / 0.5528 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/1.165, allocations: 0 / 0.5528 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/1.165, allocations: 11.88 kB / 0.5528 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/1.165, allocations: 7.938 kB / 0.5528 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.165, allocations: 0 / 0.5528 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/1.167, allocations: 1.054 MB / 0.5538 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/1.167, allocations: 254.5 kB / 0.5541 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/1.168, allocations: 9.5 kB / 0.5541 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/1.169, allocations: 15.98 kB / 0.5541 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.169, allocations: 27.91 kB / 0.5541 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/1.169, allocations: 19.94 kB / 0.5542 GB, free: 496 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004478/1.173, allocations: 1.514 MB / 0.5556 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.12e-07/1.173, allocations: 0 / 0.5556 GB, free: 14.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007335/1.181, allocations: 0.5155 MB / 0.5561 GB, free: 14.44 MB / 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 (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.0008093/1.182, allocations: 124.8 kB / 0.5563 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007527/1.189, allocations: 2.43 MB / 0.5586 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.189, allocations: 0 / 0.5586 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007919/1.19, allocations: 345.1 kB / 0.559 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.193, allocations: 177 kB / 0.5591 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.209, allocations: 5.117 MB / 0.5641 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/1.212, allocations: 1.865 MB / 0.566 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/1.213, allocations: 155.4 kB / 0.5661 GB, free: 4.203 MB / 398.1 MB Notification: Performance of SimCode: time 2.535e-06/1.213, allocations: 0 / 0.5661 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Templates: time 0.09888/1.312, allocations: 27.72 MB / 0.5932 GB, free: 8.551 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/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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches