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.001755/0.001755, allocations: 73.33 kB / 21.24 MB, free: 0.5547 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.002312/0.002312, allocations: 158.2 kB / 24.5 MB, free: 3.715 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.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.208/0.208, allocations: 32.81 MB / 294.1 MB, free: 16 kB / 270.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: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [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.002202/0.002202, allocations: 64.19 kB / 440.5 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3472, allocations: 65.44 MB / 0.4941 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004617/0.3518, allocations: 4.876 MB / 0.4989 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3543, allocations: 1.689 MB / 0.5005 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.3546, allocations: 22.44 kB / 0.5006 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009647/0.3556, allocations: 0.5375 MB / 0.5011 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.3569, allocations: 0.9307 MB / 0.502 GB, free: 26.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.645e-05/0.357, allocations: 14.61 kB / 0.502 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.3582, allocations: 1.522 MB / 0.5035 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.3588, allocations: 0.7362 MB / 0.5042 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/0.3592, allocations: 0.5281 MB / 0.5047 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.3606, allocations: 1.684 MB / 0.5064 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.3607, allocations: 90.84 kB / 0.5065 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.3612, allocations: 229.8 kB / 0.5067 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004187/0.3616, allocations: 0.714 MB / 0.5074 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.362, allocations: 0.5966 MB / 0.508 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.3641, allocations: 2.81 MB / 0.5107 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3641, allocations: 4.688 kB / 0.5107 GB, free: 23.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3641, allocations: 0 / 0.5107 GB, free: 23.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.812e-05/0.3641, allocations: 1.125 kB / 0.5107 GB, free: 23.39 MB / 446.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.00257/0.3667, allocations: 2.024 MB / 0.5127 GB, free: 22.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3667, allocations: 9.625 kB / 0.5127 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005069/0.3718, allocations: 1.53 MB / 0.5142 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.3735, allocations: 0.804 MB / 0.515 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/0.3735, allocations: 86.56 kB / 0.515 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.3737, allocations: 118.6 kB / 0.5152 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006073/0.3798, allocations: 4.971 MB / 0.52 GB, free: 18.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/0.3798, allocations: 21.06 kB / 0.52 GB, free: 18.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.38, allocations: 66.02 kB / 0.5201 GB, free: 18.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001875/0.3819, allocations: 1.183 MB / 0.5213 GB, free: 18.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006884/0.3888, allocations: 4.251 MB / 0.5254 GB, free: 17.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/0.4085, allocations: 19.45 MB / 0.5444 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.4098, allocations: 0.7264 MB / 0.5451 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.4102, allocations: 355.1 kB / 0.5454 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4102, allocations: 4.5 kB / 0.5454 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4103, allocations: 39.84 kB / 0.5455 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.667e-06/0.4103, allocations: 0 / 0.5455 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001607/0.4119, allocations: 1.15 MB / 0.5466 GB, free: 424 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.4119, allocations: 138.3 kB / 0.5467 GB, free: 260 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/0.4149, allocations: 2.315 MB / 0.549 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.4149, allocations: 31.83 kB / 0.549 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.4163, allocations: 1.894 MB / 0.5509 GB, free: 13.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.4165, allocations: 317.4 kB / 0.5512 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.4176, allocations: 0.7968 MB / 0.552 GB, free: 12.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4178, allocations: 332.1 kB / 0.5523 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.4193, allocations: 1.029 MB / 0.5533 GB, free: 11.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/0.423, allocations: 3.691 MB / 0.5569 GB, free: 6.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005922/0.4289, allocations: 5.161 MB / 0.5619 GB, free: 15.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.868e-05/0.429, allocations: 28 kB / 0.562 GB, free: 15.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006938/0.4359, allocations: 4.434 MB / 0.5663 GB, free: 11.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.436, allocations: 55.06 kB / 0.5663 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-05/0.4361, allocations: 92 kB / 0.5664 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.4362, allocations: 124 kB / 0.5665 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.4386, allocations: 0.8733 MB / 0.5674 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001527/0.4387, allocations: 183.3 kB / 0.5676 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.4413, allocations: 0.5396 MB / 0.5681 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.4416, allocations: 252 kB / 0.5683 GB, free: 9.039 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.001668/0.4433, allocations: 1.189 MB / 0.5695 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.4436, allocations: 178.8 kB / 0.5697 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.4439, allocations: 199.9 kB / 0.5699 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.4439, allocations: 16 kB / 0.5699 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.4439, allocations: 4 kB / 0.5699 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4439, allocations: 4.266 kB / 0.5699 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.4473, allocations: 1.665 MB / 0.5715 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4473, allocations: 4 kB / 0.5715 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.4476, allocations: 67.84 kB / 0.5716 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.4476, allocations: 3.984 kB / 0.5716 GB, free: 5.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.4476, allocations: 15.98 kB / 0.5716 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4476, allocations: 4 kB / 0.5716 GB, free: 5.641 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4476, allocations: 3.938 kB / 0.5716 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4489, allocations: 1.18 MB / 0.5728 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.4492, allocations: 154.7 kB / 0.5729 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4494, allocations: 4 kB / 0.5729 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.4498, allocations: 19.97 kB / 0.5729 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.4499, allocations: 31.89 kB / 0.573 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.45, allocations: 31.92 kB / 0.573 GB, free: 4.195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001744/0.4517, allocations: 1.292 MB / 0.5742 GB, free: 2.879 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4517, allocations: 0 / 0.5742 GB, free: 2.879 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002738/0.4544, allocations: 0.5457 MB / 0.5748 GB, free: 2.332 MB / 478.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.0002639/0.4547, allocations: 127 kB / 0.5749 GB, free: 2.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003461/0.4582, allocations: 2.258 MB / 0.5771 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4582, allocations: 4.812 kB / 0.5771 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.4586, allocations: 335.7 kB / 0.5774 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.4595, allocations: 150.6 kB / 0.5776 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/0.4659, allocations: 4.037 MB / 0.5815 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.4676, allocations: 1.286 MB / 0.5828 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00256/0.4702, allocations: 1.223 MB / 0.584 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.4705, allocations: 124.5 kB / 0.5841 GB, free: 8.727 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4705, allocations: 0 / 0.5841 GB, free: 8.727 MB / 494.1 MB Notification: Performance of Templates: time 0.02522/0.4957, allocations: 11.71 MB / 0.5955 GB, free: 13.23 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] 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: 5.522204224020243]