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.00153/0.00153, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001357/0.001357, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.371/1.371, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2147/0.2147, allocations: 46.95 MB / 361.6 MB, free: 3.945 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.002169/0.002169, allocations: 83.86 kB / 0.4969 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3064, allocations: 66.08 MB / 0.5614 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006502/0.3129, allocations: 4.824 MB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.3162, allocations: 1.686 MB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003842/0.3166, allocations: 23.94 kB / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.3178, allocations: 0.537 MB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.3198, allocations: 0.9301 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.4e-05/0.3199, allocations: 15.92 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.3217, allocations: 1.525 MB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.3227, allocations: 0.7437 MB / 0.5715 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.3233, allocations: 0.5291 MB / 0.572 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.3255, allocations: 1.707 MB / 0.5736 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.3257, allocations: 88 kB / 0.5737 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005582/0.3263, allocations: 223.7 kB / 0.5739 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006771/0.327, allocations: 0.7203 MB / 0.5746 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006232/0.3276, allocations: 0.6047 MB / 0.5752 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.3305, allocations: 2.811 MB / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3305, allocations: 0 / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3305, allocations: 0 / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.3305, allocations: 0 / 0.578 GB, free: 3.035 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.002784/0.3333, allocations: 2.03 MB / 0.58 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3334, allocations: 8.031 kB / 0.58 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.63e-05/0.3334, allocations: 46.38 kB / 0.58 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003993/0.3338, allocations: 373.9 kB / 0.5804 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.3387, allocations: 1.512 MB / 0.5818 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.3402, allocations: 0.8042 MB / 0.5826 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.3402, allocations: 98.02 kB / 0.5827 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.3405, allocations: 103.9 kB / 0.5828 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006594/0.3471, allocations: 4.98 MB / 0.5877 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.3471, allocations: 19.81 kB / 0.5877 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.3473, allocations: 67.89 kB / 0.5878 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.3492, allocations: 1.178 MB / 0.5889 GB, free: 7.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006906/0.3561, allocations: 4.262 MB / 0.5931 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.3768, allocations: 19.79 MB / 0.6124 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.378, allocations: 0.733 MB / 0.6131 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.3785, allocations: 343.3 kB / 0.6135 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3785, allocations: 11.94 kB / 0.6135 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.3785, allocations: 38.67 kB / 0.6135 GB, free: 13.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.525e-06/0.3785, allocations: 3.938 kB / 0.6135 GB, free: 13.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001665/0.3802, allocations: 1.152 MB / 0.6146 GB, free: 12.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.3803, allocations: 136.5 kB / 0.6148 GB, free: 11.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.3832, allocations: 2.429 MB / 0.6171 GB, free: 9.484 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.3833, allocations: 29.7 kB / 0.6172 GB, free: 9.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.3847, allocations: 1.878 MB / 0.619 GB, free: 7.551 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.385, allocations: 321.8 kB / 0.6193 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009379/0.3859, allocations: 0.794 MB / 0.6201 GB, free: 6.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3861, allocations: 349.9 kB / 0.6204 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3876, allocations: 1.034 MB / 0.6214 GB, free: 5.051 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003598/0.3912, allocations: 3.68 MB / 0.625 GB, free: 44 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005863/0.397, allocations: 5.166 MB / 0.6301 GB, free: 9.539 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.626e-05/0.3971, allocations: 28 kB / 0.6301 GB, free: 9.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006983/0.4041, allocations: 4.457 MB / 0.6344 GB, free: 5.051 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/0.4041, allocations: 48 kB / 0.6345 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.4043, allocations: 96 kB / 0.6346 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.4044, allocations: 124 kB / 0.6347 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.4067, allocations: 0.8733 MB / 0.6355 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001622/0.4069, allocations: 183.3 kB / 0.6357 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/0.4092, allocations: 0.5705 MB / 0.6363 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003333/0.4096, allocations: 256 kB / 0.6365 GB, free: 2.91 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.001784/0.4114, allocations: 1.192 MB / 0.6377 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.4117, allocations: 198.6 kB / 0.6379 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.412, allocations: 221.8 kB / 0.6381 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-05/0.412, allocations: 12 kB / 0.6381 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.412, allocations: 7.938 kB / 0.6381 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.412, allocations: 3.984 kB / 0.6381 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/0.4154, allocations: 1.952 MB / 0.64 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4155, allocations: 3.984 kB / 0.64 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.4157, allocations: 63.91 kB / 0.6401 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4157, allocations: 0 / 0.6401 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.4158, allocations: 16 kB / 0.6401 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4158, allocations: 4 kB / 0.6401 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.4158, allocations: 11.88 kB / 0.6401 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4171, allocations: 1.197 MB / 0.6413 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.4174, allocations: 178.5 kB / 0.6415 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.4176, allocations: 8 kB / 0.6415 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.4181, allocations: 15.98 kB / 0.6415 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.4181, allocations: 35.8 kB / 0.6415 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.4182, allocations: 27.98 kB / 0.6415 GB, free: 13.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.4202, allocations: 1.486 MB / 0.643 GB, free: 12.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4202, allocations: 0 / 0.643 GB, free: 12.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002578/0.4228, allocations: 0.5225 MB / 0.6435 GB, free: 11.66 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.001773/0.4246, allocations: 1.806 MB / 0.6453 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003576/0.4282, allocations: 2.264 MB / 0.6475 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4282, allocations: 0 / 0.6475 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.4286, allocations: 339.6 kB / 0.6478 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4296, allocations: 177.9 kB / 0.648 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/0.459, allocations: 23.09 MB / 0.6705 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.4606, allocations: 1.287 MB / 0.6718 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002472/0.463, allocations: 1.251 MB / 0.673 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009976/0.464, allocations: 0.7805 MB / 0.6738 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/0.464, allocations: 3.938 kB / 0.6738 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06419/0.5282, allocations: 31.13 MB / 0.7042 GB, free: 10.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.02, allocations: 11.78 kB / 0.7042 GB, free: 10.43 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.038628238020465]