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.001363/0.001364, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001546, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 72.8 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1288, allocations: 62.45 MB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01111/0.1399, allocations: 8.882 MB / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006093/0.146, allocations: 2.364 MB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.1481, allocations: 31.94 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1497, allocations: 0.5062 MB / 491.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.1523, allocations: 0.8528 MB / 492 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1525, allocations: 19.98 kB / 492 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004524/0.157, allocations: 3.262 MB / 495.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.1586, allocations: 0.7543 MB / 496 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.1595, allocations: 426 kB / 496.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.1608, allocations: 0.7823 MB / 497.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.1612, allocations: 64 kB / 497.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.1621, allocations: 299.5 kB / 497.6 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009341/0.1631, allocations: 0.701 MB / 498.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.1643, allocations: 0.8573 MB / 499.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.1674, allocations: 2.62 MB / 0.49 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1674, allocations: 0 / 0.49 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1674, allocations: 0 / 0.49 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.1675, allocations: 0 / 0.49 GB, free: 15.07 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.004338/0.1719, allocations: 2.035 MB / 0.492 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.1719, allocations: 12.88 kB / 0.492 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007005/0.1727, allocations: 381.8 kB / 0.4924 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.1776, allocations: 1.495 MB / 0.4938 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.1792, allocations: 0.8526 MB / 0.4947 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/0.1793, allocations: 98.2 kB / 0.4948 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.1796, allocations: 107.9 kB / 0.4949 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006723/0.1863, allocations: 4.968 MB / 0.4997 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.1864, allocations: 19.81 kB / 0.4997 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.1867, allocations: 67.89 kB / 0.4998 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/0.1885, allocations: 1.185 MB / 0.501 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2121/0.4006, allocations: 4.248 MB / 0.5051 GB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.4198, allocations: 20.59 MB / 0.5252 GB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.421, allocations: 1.186 MB / 0.5264 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/0.4214, allocations: 340.3 kB / 0.5267 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.4215, allocations: 7.953 kB / 0.5267 GB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4215, allocations: 45.73 kB / 0.5268 GB, free: 22.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.4215, allocations: 0 / 0.5268 GB, free: 22.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001767/0.4233, allocations: 1.044 MB / 0.5278 GB, free: 21.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4233, allocations: 111.8 kB / 0.5279 GB, free: 21.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.4265, allocations: 2.464 MB / 0.5303 GB, free: 20.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.4265, allocations: 32.48 kB / 0.5303 GB, free: 20.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008833/0.4274, allocations: 1.818 MB / 0.5321 GB, free: 19.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.4276, allocations: 281.6 kB / 0.5324 GB, free: 18.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008206/0.4284, allocations: 0.797 MB / 0.5331 GB, free: 18.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.4285, allocations: 353.8 kB / 0.5335 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.4307, allocations: 1.018 MB / 0.5345 GB, free: 17.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/0.4343, allocations: 3.73 MB / 0.5381 GB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/0.4417, allocations: 5.178 MB / 0.5432 GB, free: 8.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.4418, allocations: 29 kB / 0.5432 GB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008965/0.4508, allocations: 4.463 MB / 0.5476 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.465e-05/0.4509, allocations: 45.53 kB / 0.5476 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.4511, allocations: 97.34 kB / 0.5477 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.4512, allocations: 126.4 kB / 0.5478 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.4546, allocations: 0.8901 MB / 0.5487 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000154/0.4547, allocations: 195.2 kB / 0.5489 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/0.4586, allocations: 0.5527 MB / 0.5494 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/0.459, allocations: 252 kB / 0.5497 GB, free: 4.523 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.001833/0.4608, allocations: 1.2 MB / 0.5508 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.4611, allocations: 185.5 kB / 0.551 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.4615, allocations: 217.9 kB / 0.5512 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.4615, allocations: 15.94 kB / 0.5512 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.4616, allocations: 4 kB / 0.5512 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4616, allocations: 3.984 kB / 0.5512 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003857/0.4655, allocations: 2.039 MB / 0.5532 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4655, allocations: 4 kB / 0.5532 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4657, allocations: 55.91 kB / 0.5533 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.4657, allocations: 4 kB / 0.5533 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.4658, allocations: 12.27 kB / 0.5533 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4658, allocations: 4 kB / 0.5533 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4658, allocations: 0 / 0.5533 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.4667, allocations: 1.064 MB / 0.5543 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.467, allocations: 242.6 kB / 0.5546 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4671, allocations: 8 kB / 0.5546 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4676, allocations: 19.97 kB / 0.5546 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.4677, allocations: 27.91 kB / 0.5546 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.4677, allocations: 16 kB / 0.5546 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00195/0.4697, allocations: 1.514 MB / 0.5561 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4697, allocations: 0 / 0.5561 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002416/0.4721, allocations: 0.5301 MB / 0.5566 GB, free: 13.25 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.001445/0.4735, allocations: 1.646 MB / 0.5582 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003136/0.4767, allocations: 2.321 MB / 0.5605 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4767, allocations: 0 / 0.5605 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.4771, allocations: 327.7 kB / 0.5608 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.478, allocations: 183.9 kB / 0.561 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02988/0.5079, allocations: 25.23 MB / 0.5856 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/0.5102, allocations: 1.854 MB / 0.5874 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002999/0.5132, allocations: 1.27 MB / 0.5887 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.5143, allocations: 0.7883 MB / 0.5895 GB, free: 7.516 MB / 430.1 MB Notification: Performance of SimCode: time 2.815e-06/0.5143, allocations: 0 / 0.5895 GB, free: 7.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.5665, allocations: 30.14 MB / 0.6189 GB, free: 9.516 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.5668, allocations: 203.9 kB / 0.6191 GB, free: 9.258 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.222/3.789, allocations: 4 kB / 0.6191 GB, free: 9.254 MB / 462.1 MB (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