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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002471/0.002471, allocations: 215.5 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.93 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 79.88 kB / 0.4962 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3245, allocations: 66.09 MB / 0.5607 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007566/0.3321, allocations: 5.425 MB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.3359, allocations: 1.83 MB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.3366, allocations: 23.94 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.3381, allocations: 0.5563 MB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.3405, allocations: 0.9263 MB / 0.5693 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3407, allocations: 8 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.3432, allocations: 1.525 MB / 0.5708 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.3447, allocations: 0.7399 MB / 0.5715 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3457, allocations: 0.5291 MB / 0.572 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.3484, allocations: 1.707 MB / 0.5737 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.3487, allocations: 92 kB / 0.5738 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008691/0.3496, allocations: 327.5 kB / 0.5741 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009687/0.3506, allocations: 0.7203 MB / 0.5748 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.352, allocations: 0.869 MB / 0.5756 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.3557, allocations: 2.811 MB / 0.5784 GB, free: 2.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3557, allocations: 0 / 0.5784 GB, free: 2.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3557, allocations: 0 / 0.5784 GB, free: 2.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.866e-05/0.3558, allocations: 0 / 0.5784 GB, free: 2.152 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.004112/0.3599, allocations: 2.03 MB / 0.5804 GB, free: 80 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3599, allocations: 8.031 kB / 0.5804 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006928/0.3606, allocations: 377.9 kB / 0.5807 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004888/0.3655, allocations: 1.509 MB / 0.5822 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.3671, allocations: 0.8004 MB / 0.583 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.3672, allocations: 86.22 kB / 0.5831 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.3674, allocations: 111.8 kB / 0.5832 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/0.3738, allocations: 4.98 MB / 0.588 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.815e-05/0.3739, allocations: 23.75 kB / 0.5881 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.374, allocations: 59.91 kB / 0.5881 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.3759, allocations: 1.181 MB / 0.5893 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006773/0.3827, allocations: 4.258 MB / 0.5934 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02413/0.4068, allocations: 20.47 MB / 0.6134 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.4083, allocations: 0.7292 MB / 0.6141 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/0.4088, allocations: 343.2 kB / 0.6145 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.4088, allocations: 8 kB / 0.6145 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.4089, allocations: 42.5 kB / 0.6145 GB, free: 11.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 4.629e-06/0.4089, allocations: 0 / 0.6145 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002626/0.4115, allocations: 1.155 MB / 0.6156 GB, free: 10.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.4116, allocations: 132.5 kB / 0.6158 GB, free: 10.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/0.4179, allocations: 2.433 MB / 0.6181 GB, free: 7.984 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.418, allocations: 37.73 kB / 0.6182 GB, free: 7.941 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.4203, allocations: 1.874 MB / 0.62 GB, free: 6.047 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.4208, allocations: 321.8 kB / 0.6203 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.4226, allocations: 0.7861 MB / 0.6211 GB, free: 4.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.4229, allocations: 357.9 kB / 0.6214 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.4255, allocations: 1.03 MB / 0.6224 GB, free: 3.551 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005634/0.4311, allocations: 3.688 MB / 0.626 GB, free: 14.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.4412, allocations: 5.161 MB / 0.6311 GB, free: 8.039 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.4413, allocations: 28 kB / 0.6311 GB, free: 8.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01489/0.4562, allocations: 4.463 MB / 0.6354 GB, free: 3.543 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.4564, allocations: 50.03 kB / 0.6355 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/0.4566, allocations: 96 kB / 0.6356 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.4568, allocations: 124 kB / 0.6357 GB, free: 3.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/0.4618, allocations: 0.8655 MB / 0.6366 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003114/0.4621, allocations: 191.2 kB / 0.6367 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/0.4671, allocations: 0.566 MB / 0.6373 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009179/0.468, allocations: 256 kB / 0.6375 GB, free: 1.406 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.003528/0.4716, allocations: 1.188 MB / 0.6387 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/0.4722, allocations: 202.6 kB / 0.6389 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.473, allocations: 217.8 kB / 0.6391 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.929e-05/0.4731, allocations: 16 kB / 0.6391 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/0.4731, allocations: 4 kB / 0.6391 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4731, allocations: 3.984 kB / 0.6391 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/0.4815, allocations: 2.041 MB / 0.6411 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4815, allocations: 0 / 0.6411 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005135/0.482, allocations: 67.89 kB / 0.6412 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.482, allocations: 0 / 0.6412 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.4821, allocations: 15.98 kB / 0.6412 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.4821, allocations: 0 / 0.6412 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/0.4821, allocations: 7.938 kB / 0.6412 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.4846, allocations: 1.201 MB / 0.6424 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/0.4855, allocations: 182.5 kB / 0.6425 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004836/0.486, allocations: 8 kB / 0.6426 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.4871, allocations: 15.98 kB / 0.6426 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.4872, allocations: 27.89 kB / 0.6426 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.4872, allocations: 20.09 kB / 0.6426 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002647/0.4899, allocations: 1.497 MB / 0.6441 GB, free: 10.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.4899, allocations: 0 / 0.6441 GB, free: 10.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002862/0.4928, allocations: 0.5303 MB / 0.6446 GB, free: 10.07 MB / 494.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.00194/0.4947, allocations: 1.802 MB / 0.6464 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003982/0.4987, allocations: 2.26 MB / 0.6486 GB, free: 6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4987, allocations: 4.062 kB / 0.6486 GB, free: 5.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.4992, allocations: 339.7 kB / 0.6489 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.5005, allocations: 159.3 kB / 0.649 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03644/0.5369, allocations: 23.1 MB / 0.6716 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.5393, allocations: 1.861 MB / 0.6734 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00273/0.542, allocations: 1.255 MB / 0.6746 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.5432, allocations: 0.7883 MB / 0.6754 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/0.5432, allocations: 4 kB / 0.6754 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07919/0.6224, allocations: 33.32 MB / 0.708 GB, free: 5.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.39, allocations: 11.7 kB / 0.708 GB, free: 5.852 MB / 0.545 GB " [Timeout remaining time 643] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.479818454943597]