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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 112.5 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 216.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 59.91 kB / 0.4938 GB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3194, allocations: 65.47 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007277/0.3267, allocations: 5.446 MB / 0.5631 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.3306, allocations: 1.828 MB / 0.5649 GB, free: 500 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.3312, allocations: 23.94 kB / 0.5649 GB, free: 476 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.3326, allocations: 0.5563 MB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.3346, allocations: 0.9263 MB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.668e-05/0.3347, allocations: 15.94 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.3366, allocations: 1.522 MB / 0.5678 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009463/0.3376, allocations: 0.742 MB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007681/0.3384, allocations: 0.5291 MB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.3405, allocations: 1.703 MB / 0.5707 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.3407, allocations: 92 kB / 0.5708 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006314/0.3414, allocations: 327.5 kB / 0.5711 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000637/0.342, allocations: 0.7164 MB / 0.5718 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007653/0.3428, allocations: 0.8728 MB / 0.5727 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.346, allocations: 2.808 MB / 0.5754 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.346, allocations: 0 / 0.5754 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.346, allocations: 0 / 0.5754 GB, free: 5.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.209e-05/0.346, allocations: 4 kB / 0.5754 GB, free: 5.609 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.00339/0.3494, allocations: 2.026 MB / 0.5774 GB, free: 3.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3495, allocations: 8.031 kB / 0.5774 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.761e-05/0.3495, allocations: 50.38 kB / 0.5775 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003958/0.3499, allocations: 381.8 kB / 0.5778 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/0.3549, allocations: 1.513 MB / 0.5793 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.3564, allocations: 0.8003 MB / 0.5801 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.3565, allocations: 86.03 kB / 0.5802 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.3567, allocations: 107.9 kB / 0.5803 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006239/0.3629, allocations: 4.98 MB / 0.5851 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.363, allocations: 23.81 kB / 0.5852 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3632, allocations: 59.91 kB / 0.5852 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/0.3651, allocations: 1.181 MB / 0.5864 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006662/0.3717, allocations: 4.266 MB / 0.5905 GB, free: 5.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02184/0.3936, allocations: 20.46 MB / 0.6105 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3949, allocations: 0.733 MB / 0.6112 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.3954, allocations: 351.3 kB / 0.6116 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.3954, allocations: 4 kB / 0.6116 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3954, allocations: 34.56 kB / 0.6116 GB, free: 15.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.717e-06/0.3954, allocations: 4 kB / 0.6116 GB, free: 15.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001857/0.3973, allocations: 1.161 MB / 0.6127 GB, free: 14.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.3974, allocations: 136.5 kB / 0.6129 GB, free: 13.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.4011, allocations: 2.429 MB / 0.6152 GB, free: 11.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.4011, allocations: 33.7 kB / 0.6153 GB, free: 11.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.4026, allocations: 1.87 MB / 0.6171 GB, free: 9.465 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/0.403, allocations: 325.8 kB / 0.6174 GB, free: 9.145 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.404, allocations: 0.7901 MB / 0.6182 GB, free: 8.348 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4042, allocations: 353.9 kB / 0.6185 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.4057, allocations: 1.03 MB / 0.6195 GB, free: 6.965 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/0.4094, allocations: 3.691 MB / 0.6231 GB, free: 1.945 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/0.4158, allocations: 5.159 MB / 0.6282 GB, free: 11.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.811e-05/0.4159, allocations: 28 kB / 0.6282 GB, free: 11.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00803/0.424, allocations: 4.457 MB / 0.6326 GB, free: 6.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4241, allocations: 48.09 kB / 0.6326 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/0.4242, allocations: 96.78 kB / 0.6327 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.4244, allocations: 124 kB / 0.6328 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/0.427, allocations: 0.8772 MB / 0.6337 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001782/0.4272, allocations: 187.3 kB / 0.6338 GB, free: 5.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.4298, allocations: 0.5699 MB / 0.6344 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004659/0.4303, allocations: 256 kB / 0.6346 GB, free: 4.816 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.001942/0.4322, allocations: 1.188 MB / 0.6358 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.4326, allocations: 198.6 kB / 0.636 GB, free: 3.418 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.433, allocations: 217.8 kB / 0.6362 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.368e-05/0.4331, allocations: 24 kB / 0.6362 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4331, allocations: 0 / 0.6362 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.4331, allocations: 7.984 kB / 0.6362 GB, free: 3.176 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.4374, allocations: 2.037 MB / 0.6382 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.4374, allocations: 0 / 0.6382 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.4377, allocations: 63.89 kB / 0.6383 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4377, allocations: 0 / 0.6383 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.4378, allocations: 8 kB / 0.6383 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.4378, allocations: 4 kB / 0.6383 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.4378, allocations: 7.875 kB / 0.6383 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4392, allocations: 1.203 MB / 0.6395 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.4397, allocations: 178.5 kB / 0.6396 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/0.4399, allocations: 11.97 kB / 0.6397 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.4405, allocations: 15.98 kB / 0.6397 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.4406, allocations: 39.83 kB / 0.6397 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.4406, allocations: 20 kB / 0.6397 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002466/0.4431, allocations: 1.49 MB / 0.6412 GB, free: 14.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4431, allocations: 0 / 0.6412 GB, free: 14.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00318/0.4463, allocations: 0.5264 MB / 0.6417 GB, free: 13.48 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.00206/0.4483, allocations: 1.795 MB / 0.6435 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004549/0.4529, allocations: 2.269 MB / 0.6457 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.4529, allocations: 0 / 0.6457 GB, free: 9.406 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.4534, allocations: 347.8 kB / 0.646 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.4552, allocations: 170.7 kB / 0.6462 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03997/0.4952, allocations: 23.09 MB / 0.6687 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/0.4974, allocations: 1.854 MB / 0.6705 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002663/0.5001, allocations: 1.263 MB / 0.6718 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.5012, allocations: 0.7922 MB / 0.6725 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/0.5012, allocations: 0 / 0.6725 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06987/0.5711, allocations: 33.34 MB / 0.7051 GB, free: 9.309 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.11, allocations: 21.98 kB / 0.7051 GB, free: 9.297 MB / 0.545 GB " [Timeout remaining time 644] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.44459645700408]