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: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002239, allocations: 79.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3808, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007003/0.3879, allocations: 5.404 MB / 0.5359 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.3917, allocations: 1.799 MB / 0.5376 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.3924, allocations: 22.84 kB / 0.5376 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.3938, allocations: 0.5321 MB / 0.5382 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3961, allocations: 0.9112 MB / 0.5391 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.3963, allocations: 12.45 kB / 0.5391 GB, free: 6.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3986, allocations: 1.526 MB / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.3996, allocations: 0.7509 MB / 0.5413 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008218/0.4005, allocations: 0.517 MB / 0.5418 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.4026, allocations: 1.618 MB / 0.5434 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.4029, allocations: 89.41 kB / 0.5435 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.4037, allocations: 318.3 kB / 0.5438 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00073/0.4045, allocations: 0.7049 MB / 0.5445 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008535/0.4053, allocations: 0.8652 MB / 0.5453 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.4086, allocations: 2.807 MB / 0.548 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4086, allocations: 0 / 0.548 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.142e-06/0.4086, allocations: 4 kB / 0.548 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.331e-05/0.4087, allocations: 7.938 kB / 0.5481 GB, free: 15.81 MB / 414.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.003695/0.4124, allocations: 2.093 MB / 0.5501 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.4124, allocations: 12.02 kB / 0.5501 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004647/0.4129, allocations: 377.8 kB / 0.5505 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.418, allocations: 1.513 MB / 0.5519 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.4195, allocations: 0.8491 MB / 0.5528 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/0.4196, allocations: 90.22 kB / 0.5529 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.4198, allocations: 107.9 kB / 0.553 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006703/0.4265, allocations: 4.98 MB / 0.5578 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.4266, allocations: 23.81 kB / 0.5579 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.4268, allocations: 63.91 kB / 0.5579 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.4288, allocations: 1.182 MB / 0.5591 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008287/0.4371, allocations: 4.258 MB / 0.5632 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/0.4605, allocations: 20.55 MB / 0.5833 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.4621, allocations: 1.224 MB / 0.5845 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.4626, allocations: 383.2 kB / 0.5849 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4627, allocations: 4 kB / 0.5849 GB, free: 8.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.4627, allocations: 42.56 kB / 0.5849 GB, free: 8.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 4.939e-06/0.4627, allocations: 3.938 kB / 0.5849 GB, free: 8.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001826/0.4646, allocations: 1.158 MB / 0.586 GB, free: 7.406 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.4647, allocations: 132.5 kB / 0.5862 GB, free: 7.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/0.4679, allocations: 2.437 MB / 0.5885 GB, free: 4.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.468, allocations: 29.7 kB / 0.5886 GB, free: 4.738 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.4696, allocations: 1.87 MB / 0.5904 GB, free: 2.848 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.4699, allocations: 317.8 kB / 0.5907 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.471, allocations: 0.794 MB / 0.5915 GB, free: 1.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4712, allocations: 349.9 kB / 0.5918 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.4727, allocations: 1.03 MB / 0.5928 GB, free: 364 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003931/0.4766, allocations: 3.691 MB / 0.5964 GB, free: 11.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/0.4829, allocations: 5.167 MB / 0.6015 GB, free: 4.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-05/0.483, allocations: 24 kB / 0.6015 GB, free: 4.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008032/0.491, allocations: 4.461 MB / 0.6058 GB, free: 356 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.206e-05/0.4912, allocations: 50.64 kB / 0.6059 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.4913, allocations: 96.91 kB / 0.606 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.4914, allocations: 124.6 kB / 0.6061 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.4938, allocations: 0.8772 MB / 0.607 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001559/0.494, allocations: 183.3 kB / 0.6071 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.4963, allocations: 0.5622 MB / 0.6077 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/0.4966, allocations: 252 kB / 0.6079 GB, free: 14.21 MB / 478.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.001712/0.4984, allocations: 1.196 MB / 0.6091 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.4987, allocations: 202.5 kB / 0.6093 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.4991, allocations: 217.7 kB / 0.6095 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/0.4991, allocations: 31.97 kB / 0.6095 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4991, allocations: 4 kB / 0.6095 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4992, allocations: 0 / 0.6095 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.5026, allocations: 2.069 MB / 0.6115 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.5026, allocations: 0 / 0.6115 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.5029, allocations: 55.95 kB / 0.6116 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.5029, allocations: 4 kB / 0.6116 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.503, allocations: 11.94 kB / 0.6116 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.503, allocations: 4 kB / 0.6116 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.503, allocations: 7.938 kB / 0.6116 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.5044, allocations: 1.199 MB / 0.6128 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.5048, allocations: 251.7 kB / 0.613 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.5049, allocations: 8 kB / 0.613 GB, free: 8.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.5054, allocations: 23.91 kB / 0.6131 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.5055, allocations: 35.84 kB / 0.6131 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.5055, allocations: 20 kB / 0.6131 GB, free: 8.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002176/0.5077, allocations: 1.486 MB / 0.6146 GB, free: 7.266 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5077, allocations: 0 / 0.6146 GB, free: 7.266 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002609/0.5103, allocations: 0.5342 MB / 0.6151 GB, free: 6.73 MB / 478.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.001811/0.5122, allocations: 1.789 MB / 0.6168 GB, free: 4.914 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.516, allocations: 2.366 MB / 0.6191 GB, free: 2.566 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5161, allocations: 0 / 0.6191 GB, free: 2.566 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.5165, allocations: 376 kB / 0.6195 GB, free: 2.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5177, allocations: 181.5 kB / 0.6197 GB, free: 2.023 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/0.5513, allocations: 23.08 MB / 0.6422 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001977/0.5533, allocations: 1.865 MB / 0.644 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002639/0.5559, allocations: 1.255 MB / 0.6453 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.5571, allocations: 0.7805 MB / 0.646 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5571, allocations: 0 / 0.646 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06541/0.6225, allocations: 29.91 MB / 0.6752 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.34, allocations: 8.688 kB / 0.6752 GB, free: 5.812 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > 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