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.001286/0.001286, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 79.86 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4051, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006859/0.412, allocations: 5.409 MB / 0.5358 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004025/0.4161, allocations: 1.793 MB / 0.5375 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008578/0.4169, allocations: 27.44 kB / 0.5375 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4185, allocations: 0.5282 MB / 0.5381 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.4211, allocations: 0.9115 MB / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.4213, allocations: 19.53 kB / 0.539 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.4238, allocations: 1.515 MB / 0.5404 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.425, allocations: 0.7603 MB / 0.5412 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000904/0.426, allocations: 0.5221 MB / 0.5417 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.428, allocations: 1.614 MB / 0.5433 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.4283, allocations: 93.5 kB / 0.5434 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.429, allocations: 308.3 kB / 0.5437 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006518/0.4297, allocations: 0.7127 MB / 0.5444 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.4307, allocations: 0.8651 MB / 0.5452 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.4333, allocations: 2.798 MB / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4333, allocations: 0 / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4333, allocations: 0 / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.4333, allocations: 3.938 kB / 0.5479 GB, free: 15.88 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.002549/0.4359, allocations: 2.038 MB / 0.5499 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4359, allocations: 12.03 kB / 0.5499 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003427/0.4363, allocations: 373.9 kB / 0.5503 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/0.441, allocations: 1.503 MB / 0.5518 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.4426, allocations: 0.8526 MB / 0.5526 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.4427, allocations: 90.22 kB / 0.5527 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.4429, allocations: 115.9 kB / 0.5528 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/0.4481, allocations: 4.964 MB / 0.5576 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.4482, allocations: 19.81 kB / 0.5577 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.4483, allocations: 63.91 kB / 0.5577 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001737/0.4501, allocations: 1.185 MB / 0.5589 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005863/0.4559, allocations: 4.262 MB / 0.563 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.4769, allocations: 20.5 MB / 0.5831 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.4784, allocations: 1.216 MB / 0.5842 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.4789, allocations: 399.2 kB / 0.5846 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4789, allocations: 4 kB / 0.5846 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.479, allocations: 38.56 kB / 0.5847 GB, free: 8.762 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.457e-06/0.479, allocations: 0 / 0.5847 GB, free: 8.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.00182/0.4808, allocations: 1.159 MB / 0.5858 GB, free: 7.598 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.4809, allocations: 140.5 kB / 0.5859 GB, free: 7.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/0.4846, allocations: 2.42 MB / 0.5883 GB, free: 4.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.4846, allocations: 33.7 kB / 0.5883 GB, free: 4.934 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.4859, allocations: 1.791 MB / 0.5901 GB, free: 3.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.4863, allocations: 308.5 kB / 0.5904 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.4873, allocations: 0.7816 MB / 0.5911 GB, free: 2.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4874, allocations: 353.9 kB / 0.5915 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.489, allocations: 1.03 MB / 0.5925 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/0.4933, allocations: 3.691 MB / 0.5961 GB, free: 11.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005913/0.4993, allocations: 5.163 MB / 0.6011 GB, free: 5.121 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.4994, allocations: 28 kB / 0.6011 GB, free: 5.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007534/0.5069, allocations: 4.447 MB / 0.6055 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/0.507, allocations: 44 kB / 0.6055 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.5072, allocations: 96 kB / 0.6056 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.5073, allocations: 124 kB / 0.6057 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.5097, allocations: 0.8733 MB / 0.6066 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001746/0.5099, allocations: 183.9 kB / 0.6068 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/0.5128, allocations: 0.553 MB / 0.6073 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/0.5133, allocations: 256 kB / 0.6076 GB, free: 14.52 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.002047/0.5153, allocations: 1.196 MB / 0.6087 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/0.5158, allocations: 189.5 kB / 0.6089 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.5162, allocations: 217.7 kB / 0.6091 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.534e-05/0.5163, allocations: 23.94 kB / 0.6091 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.5163, allocations: 0 / 0.6091 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5164, allocations: 3.984 kB / 0.6091 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.5207, allocations: 2.065 MB / 0.6112 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5207, allocations: 0 / 0.6112 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.521, allocations: 59.91 kB / 0.6112 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.521, allocations: 0 / 0.6112 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.5211, allocations: 12 kB / 0.6112 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.5211, allocations: 7.922 kB / 0.6112 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5211, allocations: 7.938 kB / 0.6112 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.5225, allocations: 1.189 MB / 0.6124 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.523, allocations: 254.5 kB / 0.6126 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.5233, allocations: 8 kB / 0.6127 GB, free: 9.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.5239, allocations: 23.92 kB / 0.6127 GB, free: 9.156 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.524, allocations: 31.84 kB / 0.6127 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.524, allocations: 19.98 kB / 0.6127 GB, free: 9.105 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.5262, allocations: 1.494 MB / 0.6142 GB, free: 7.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5262, allocations: 0 / 0.6142 GB, free: 7.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002792/0.529, allocations: 0.5184 MB / 0.6147 GB, free: 7.074 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.001804/0.5308, allocations: 1.788 MB / 0.6164 GB, free: 5.258 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.5342, allocations: 2.356 MB / 0.6187 GB, free: 2.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.5342, allocations: 0 / 0.6187 GB, free: 2.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.5347, allocations: 375.7 kB / 0.6191 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5359, allocations: 167 kB / 0.6193 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/0.5675, allocations: 23.01 MB / 0.6417 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.5699, allocations: 1.865 MB / 0.6435 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002764/0.5727, allocations: 1.247 MB / 0.6448 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.574, allocations: 0.7921 MB / 0.6455 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.574, allocations: 0 / 0.6455 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/0.6352, allocations: 30.31 MB / 0.6751 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.03, allocations: 16.19 kB / 0.6751 GB, free: 5.84 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