Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 98.91 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 195.9 kB / 18.56 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2074/0.2074, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.64 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007081/0.124, allocations: 5.414 MB / 474.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.1276, allocations: 1.756 MB / 476.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/0.1282, allocations: 23.94 kB / 476.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.1294, allocations: 0.5135 MB / 477.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.1313, allocations: 0.9106 MB / 478 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.1314, allocations: 19.92 kB / 478 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.1331, allocations: 1.545 MB / 479.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009483/0.1341, allocations: 0.7546 MB / 480.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/0.1347, allocations: 0.5174 MB / 480.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.1363, allocations: 1.508 MB / 482.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.1365, allocations: 88 kB / 482.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006167/0.1371, allocations: 319.5 kB / 482.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005454/0.1377, allocations: 0.7088 MB / 483.4 MB, free: 124 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007164/0.1384, allocations: 0.8809 MB / 484.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.1409, allocations: 2.674 MB / 487 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1409, allocations: 3.938 kB / 487 MB, free: 12.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1409, allocations: 0 / 487 MB, free: 12.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.715e-05/0.141, allocations: 4 kB / 487 MB, free: 12.54 MB / 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.003334/0.1443, allocations: 2.068 MB / 489.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1444, allocations: 12.03 kB / 489.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/0.1448, allocations: 369.9 kB / 489.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.1497, allocations: 1.503 MB / 490.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1511, allocations: 0.8565 MB / 491.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.1512, allocations: 90.22 kB / 491.9 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.1514, allocations: 103.9 kB / 492 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.1569, allocations: 4.98 MB / 497 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.157, allocations: 23.75 kB / 497 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.1571, allocations: 67.91 kB / 497 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001751/0.1589, allocations: 1.178 MB / 498.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005953/0.1649, allocations: 4.258 MB / 0.4907 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2268/0.3917, allocations: 20.56 MB / 0.5108 GB, free: 32.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3931, allocations: 1.227 MB / 0.512 GB, free: 31.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.3935, allocations: 378.5 kB / 0.5123 GB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3936, allocations: 9.656 kB / 0.5123 GB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.3936, allocations: 45.73 kB / 0.5124 GB, free: 31.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.727e-06/0.3936, allocations: 2.031 kB / 0.5124 GB, free: 31.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001733/0.3954, allocations: 1.159 MB / 0.5135 GB, free: 31.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3954, allocations: 131.6 kB / 0.5136 GB, free: 31.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/0.3986, allocations: 2.432 MB / 0.516 GB, free: 30.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.3986, allocations: 31.08 kB / 0.516 GB, free: 30.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.3997, allocations: 1.795 MB / 0.5178 GB, free: 28.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.3999, allocations: 304.1 kB / 0.5181 GB, free: 28.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008486/0.4008, allocations: 0.794 MB / 0.5189 GB, free: 28.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.4009, allocations: 355.3 kB / 0.5192 GB, free: 27.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.4026, allocations: 1.031 MB / 0.5202 GB, free: 27.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.4052, allocations: 3.699 MB / 0.5238 GB, free: 23.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.4096, allocations: 5.157 MB / 0.5289 GB, free: 18.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.643e-05/0.4097, allocations: 27.47 kB / 0.5289 GB, free: 18.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005663/0.4153, allocations: 4.45 MB / 0.5332 GB, free: 17.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/0.4154, allocations: 51.81 kB / 0.5333 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.457e-05/0.4155, allocations: 95.53 kB / 0.5334 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-05/0.4156, allocations: 124.2 kB / 0.5335 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.4175, allocations: 0.8658 MB / 0.5343 GB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001361/0.4176, allocations: 184.5 kB / 0.5345 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.4199, allocations: 0.5537 MB / 0.5351 GB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.4202, allocations: 254.1 kB / 0.5353 GB, free: 16.73 MB / 382.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.001233/0.4214, allocations: 1.192 MB / 0.5365 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.4216, allocations: 188.5 kB / 0.5366 GB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.4219, allocations: 220.2 kB / 0.5369 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/0.4219, allocations: 18.56 kB / 0.5369 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.4219, allocations: 0 / 0.5369 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-06/0.422, allocations: 3.844 kB / 0.5369 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.4247, allocations: 2.076 MB / 0.5389 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4247, allocations: 4 kB / 0.5389 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.425, allocations: 55.25 kB / 0.539 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.425, allocations: 4 kB / 0.539 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.425, allocations: 11.7 kB / 0.539 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.425, allocations: 4.938 kB / 0.539 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.425, allocations: 3.938 kB / 0.539 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.4259, allocations: 1.191 MB / 0.5401 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.4262, allocations: 250.5 kB / 0.5404 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.4263, allocations: 11.44 kB / 0.5404 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.4268, allocations: 15.98 kB / 0.5404 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.4269, allocations: 34.92 kB / 0.5404 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.4269, allocations: 27.75 kB / 0.5405 GB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.4283, allocations: 1.494 MB / 0.5419 GB, free: 11.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4283, allocations: 4 kB / 0.5419 GB, free: 11.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00245/0.4308, allocations: 0.5294 MB / 0.5424 GB, free: 11.34 MB / 382.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.001142/0.4319, allocations: 1.787 MB / 0.5442 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003498/0.4354, allocations: 2.456 MB / 0.5466 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.4355, allocations: 0 / 0.5466 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.4359, allocations: 370.6 kB / 0.5469 GB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.4374, allocations: 166.2 kB / 0.5471 GB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/0.4655, allocations: 24.45 MB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.4675, allocations: 1.863 MB / 0.5728 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002839/0.4704, allocations: 1.25 MB / 0.574 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.4714, allocations: 0.7844 MB / 0.5748 GB, free: 6.172 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4714, allocations: 0 / 0.5748 GB, free: 6.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4611/0.9325, allocations: 30.72 MB / 0.6048 GB, free: 7.621 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.26, allocations: 8.766 kB / 0.6048 GB, free: 7.617 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches