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.00123/0.00123, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001426/0.001426, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.358/1.358, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2179/0.2179, allocations: 46.92 MB / 361.6 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 79.88 kB / 0.4969 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3125, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006599/0.3191, allocations: 5.443 MB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.3222, allocations: 1.819 MB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.3224, allocations: 23.94 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3236, allocations: 0.5601 MB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.3252, allocations: 0.9263 MB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.224e-05/0.3253, allocations: 15.98 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.327, allocations: 1.522 MB / 0.5715 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/0.3278, allocations: 0.7437 MB / 0.5723 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006387/0.3284, allocations: 0.5291 MB / 0.5728 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.3306, allocations: 1.699 MB / 0.5744 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.3308, allocations: 88 kB / 0.5745 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006283/0.3314, allocations: 331.5 kB / 0.5748 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.3321, allocations: 0.7203 MB / 0.5756 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007311/0.3328, allocations: 0.869 MB / 0.5764 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.3356, allocations: 2.811 MB / 0.5791 GB, free: 2.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3356, allocations: 0 / 0.5791 GB, free: 2.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3356, allocations: 4 kB / 0.5792 GB, free: 2.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.3356, allocations: 0 / 0.5792 GB, free: 2.105 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.002768/0.3384, allocations: 2.033 MB / 0.5811 GB, free: 28 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3384, allocations: 8.031 kB / 0.5811 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.514e-05/0.3385, allocations: 46.42 kB / 0.5812 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000371/0.3389, allocations: 369.8 kB / 0.5815 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.3438, allocations: 1.513 MB / 0.583 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.3454, allocations: 0.7965 MB / 0.5838 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.3455, allocations: 97.95 kB / 0.5839 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.3457, allocations: 111.9 kB / 0.584 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005812/0.3515, allocations: 4.968 MB / 0.5888 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.3515, allocations: 27.75 kB / 0.5889 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.3517, allocations: 59.91 kB / 0.5889 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.3536, allocations: 1.181 MB / 0.5901 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006316/0.3599, allocations: 4.254 MB / 0.5942 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02126/0.3811, allocations: 20.47 MB / 0.6142 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.3824, allocations: 0.7291 MB / 0.6149 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.3829, allocations: 343.3 kB / 0.6153 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3829, allocations: 4 kB / 0.6153 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3829, allocations: 46.5 kB / 0.6153 GB, free: 11.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.395e-06/0.3829, allocations: 0 / 0.6153 GB, free: 11.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001727/0.3846, allocations: 1.152 MB / 0.6164 GB, free: 10.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.3847, allocations: 136.5 kB / 0.6166 GB, free: 10.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.3879, allocations: 2.437 MB / 0.619 GB, free: 7.891 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.388, allocations: 33.69 kB / 0.619 GB, free: 7.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.3893, allocations: 1.874 MB / 0.6208 GB, free: 5.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.3896, allocations: 317.8 kB / 0.6211 GB, free: 5.645 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009278/0.3906, allocations: 0.794 MB / 0.6219 GB, free: 4.844 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3907, allocations: 349.9 kB / 0.6222 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.3922, allocations: 1.03 MB / 0.6232 GB, free: 3.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/0.3957, allocations: 3.695 MB / 0.6268 GB, free: 14.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/0.4012, allocations: 5.158 MB / 0.6319 GB, free: 7.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-05/0.4012, allocations: 32.47 kB / 0.6319 GB, free: 7.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006866/0.4081, allocations: 4.461 MB / 0.6363 GB, free: 3.449 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.4082, allocations: 48.25 kB / 0.6363 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.4083, allocations: 96 kB / 0.6364 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.4084, allocations: 128 kB / 0.6365 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.4107, allocations: 0.8655 MB / 0.6374 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001754/0.4109, allocations: 187.2 kB / 0.6376 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.4135, allocations: 0.566 MB / 0.6381 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/0.4139, allocations: 252 kB / 0.6383 GB, free: 1.316 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.001695/0.4156, allocations: 1.196 MB / 0.6395 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.4159, allocations: 198.8 kB / 0.6397 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.4163, allocations: 217.8 kB / 0.6399 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/0.4163, allocations: 16 kB / 0.6399 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4163, allocations: 0 / 0.6399 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4163, allocations: 3.984 kB / 0.6399 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.4202, allocations: 2.041 MB / 0.6419 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4202, allocations: 4 kB / 0.6419 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.4205, allocations: 59.91 kB / 0.642 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.4205, allocations: 8 kB / 0.642 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.4205, allocations: 8 kB / 0.642 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.4206, allocations: 11.92 kB / 0.642 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4206, allocations: 0 / 0.642 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.4219, allocations: 1.201 MB / 0.6432 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.4222, allocations: 178.5 kB / 0.6434 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.4224, allocations: 12 kB / 0.6434 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.4229, allocations: 19.92 kB / 0.6434 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.423, allocations: 23.95 kB / 0.6434 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.423, allocations: 23.98 kB / 0.6434 GB, free: 12.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.425, allocations: 1.486 MB / 0.6449 GB, free: 10.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.425, allocations: 4 kB / 0.6449 GB, free: 10.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002455/0.4274, allocations: 0.5264 MB / 0.6454 GB, free: 9.988 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.001765/0.4292, allocations: 1.806 MB / 0.6472 GB, free: 8.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003456/0.4326, allocations: 2.273 MB / 0.6494 GB, free: 5.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4326, allocations: 384 / 0.6494 GB, free: 5.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.4331, allocations: 335.7 kB / 0.6497 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4341, allocations: 167 kB / 0.6499 GB, free: 5.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/0.4635, allocations: 23.1 MB / 0.6724 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.4657, allocations: 1.866 MB / 0.6742 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002705/0.4684, allocations: 1.251 MB / 0.6755 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.4696, allocations: 0.7844 MB / 0.6762 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of SimCode: time 1.293e-06/0.4696, allocations: 0 / 0.6762 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06456/0.5341, allocations: 33.35 MB / 0.7088 GB, free: 5.754 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.02, allocations: 11.98 kB / 0.7088 GB, free: 5.742 MB / 0.545 GB " [Timeout remaining time 644] (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.068743340030778]