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.001189/0.001189, allocations: 107.5 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001478, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.4 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2448/0.2448, allocations: 46.09 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 78.55 kB / 417.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1274, allocations: 62.43 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01166/0.1391, allocations: 8.89 MB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.1447, allocations: 2.321 MB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.147, allocations: 31.88 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.1491, allocations: 0.5023 MB / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.1519, allocations: 0.8489 MB / 492.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1524, allocations: 15.94 kB / 492.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004639/0.1571, allocations: 2.653 MB / 494.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.1586, allocations: 0.7981 MB / 495.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009878/0.1596, allocations: 0.4902 MB / 496.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.1609, allocations: 0.8175 MB / 496.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.1612, allocations: 88 kB / 497 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.1619, allocations: 319.5 kB / 497.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.1627, allocations: 0.7128 MB / 498.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.1638, allocations: 0.8923 MB / 498.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.1666, allocations: 2.659 MB / 0.4899 GB, free: 15.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.1666, allocations: 3.984 kB / 0.4899 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1666, allocations: 4 kB / 0.4899 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.91e-05/0.1667, allocations: 0 / 0.4899 GB, free: 15.36 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.003654/0.1704, allocations: 2.042 MB / 0.4919 GB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1704, allocations: 12.03 kB / 0.4919 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006008/0.171, allocations: 377.8 kB / 0.4922 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.1759, allocations: 1.495 MB / 0.4937 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.1775, allocations: 0.8527 MB / 0.4945 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.1776, allocations: 86.22 kB / 0.4946 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.1779, allocations: 107.9 kB / 0.4947 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006616/0.1845, allocations: 4.976 MB / 0.4996 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.1846, allocations: 23.81 kB / 0.4996 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.1849, allocations: 63.84 kB / 0.4996 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001889/0.1868, allocations: 1.193 MB / 0.5008 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.233/0.4198, allocations: 4.244 MB / 0.505 GB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.4399, allocations: 20.59 MB / 0.5251 GB, free: 22.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.4412, allocations: 1.177 MB / 0.5262 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.4417, allocations: 351.1 kB / 0.5265 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.4417, allocations: 4.75 kB / 0.5266 GB, free: 22.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.4418, allocations: 40.5 kB / 0.5266 GB, free: 21.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.647e-06/0.4418, allocations: 0 / 0.5266 GB, free: 21.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001766/0.4435, allocations: 1.043 MB / 0.5276 GB, free: 21.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.4436, allocations: 111.3 kB / 0.5277 GB, free: 21.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.4471, allocations: 2.474 MB / 0.5301 GB, free: 20.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.4471, allocations: 30.86 kB / 0.5302 GB, free: 20.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.4481, allocations: 1.817 MB / 0.5319 GB, free: 19.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.4484, allocations: 278.6 kB / 0.5322 GB, free: 18.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000911/0.4493, allocations: 0.7956 MB / 0.533 GB, free: 18.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4494, allocations: 349 kB / 0.5333 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.4512, allocations: 1.021 MB / 0.5343 GB, free: 17.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/0.455, allocations: 3.732 MB / 0.538 GB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/0.4606, allocations: 5.178 MB / 0.543 GB, free: 8.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.4607, allocations: 27.16 kB / 0.543 GB, free: 8.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006622/0.4674, allocations: 4.471 MB / 0.5474 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.4675, allocations: 48.89 kB / 0.5474 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.996e-05/0.4676, allocations: 96.81 kB / 0.5475 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.4677, allocations: 127.3 kB / 0.5477 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.4698, allocations: 0.8867 MB / 0.5485 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/0.4699, allocations: 191.2 kB / 0.5487 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.4725, allocations: 0.5526 MB / 0.5493 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.4728, allocations: 255.9 kB / 0.5495 GB, free: 4.781 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.001271/0.4741, allocations: 1.196 MB / 0.5507 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.4743, allocations: 193.5 kB / 0.5508 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.4745, allocations: 217.9 kB / 0.5511 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4746, allocations: 8 kB / 0.5511 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.4746, allocations: 0 / 0.5511 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4746, allocations: 0 / 0.5511 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.4773, allocations: 2.039 MB / 0.5531 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4773, allocations: 4 kB / 0.5531 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.4776, allocations: 63.89 kB / 0.5531 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4776, allocations: 3.938 kB / 0.5531 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.4776, allocations: 8 kB / 0.5531 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.4776, allocations: 4 kB / 0.5531 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4776, allocations: 0 / 0.5531 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/0.4785, allocations: 1.066 MB / 0.5542 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.4788, allocations: 246.6 kB / 0.5544 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.4789, allocations: 4 kB / 0.5544 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.4794, allocations: 21.34 kB / 0.5544 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.4795, allocations: 23.83 kB / 0.5545 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.4795, allocations: 23.98 kB / 0.5545 GB, free: 15.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.4814, allocations: 1.51 MB / 0.556 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4814, allocations: 0 / 0.556 GB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002864/0.4843, allocations: 0.5257 MB / 0.5565 GB, free: 13.52 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.001559/0.4859, allocations: 1.647 MB / 0.5581 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003766/0.4896, allocations: 2.425 MB / 0.5604 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.4897, allocations: 7.938 kB / 0.5605 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.49, allocations: 340 kB / 0.5608 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4912, allocations: 171.8 kB / 0.5609 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/0.5285, allocations: 25.22 MB / 0.5856 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.5307, allocations: 1.863 MB / 0.5874 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003047/0.5338, allocations: 1.263 MB / 0.5886 GB, free: 8.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.535, allocations: 0.7805 MB / 0.5894 GB, free: 7.688 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.535, allocations: 0 / 0.5894 GB, free: 7.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05581/0.5908, allocations: 30.6 MB / 0.6193 GB, free: 9.254 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.591, allocations: 200.3 kB / 0.6195 GB, free: 9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.243/3.834, allocations: 0 / 0.6195 GB, free: 9 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