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.00155/0.00155, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.001672/0.001672, allocations: 167.4 kB / 23.95 MB, free: 4.172 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.419/1.419, allocations: 177.2 MB / 204.3 MB, free: 9.172 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.2006/0.2006, allocations: 32.81 MB / 293.5 MB, free: 24 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: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.166e-05, allocations: 2.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006493/0.006514, allocations: 4.861 MB / 444.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.009734, allocations: 1.705 MB / 446.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.01003, allocations: 19.94 kB / 446.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.01126, allocations: 0.5485 MB / 447.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.01303, allocations: 0.9567 MB / 448.1 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.789e-05/0.01312, allocations: 11.98 kB / 448.2 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1866/0.1997, allocations: 2.591 MB / 450.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.2011, allocations: 1.043 MB / 451.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.2025, allocations: 0.8663 MB / 452.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.204, allocations: 1.023 MB / 453.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.2041, allocations: 92.17 kB / 453.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.2047, allocations: 260 kB / 454 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005925/0.2053, allocations: 0.7414 MB / 454.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.2058, allocations: 431.3 kB / 455.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.209, allocations: 2.709 MB / 457.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.209, allocations: 0 / 457.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.209, allocations: 1.125 kB / 457.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.43e-05/0.209, allocations: 0 / 457.9 MB, free: 14.09 MB / 366.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.003169/0.2122, allocations: 2.003 MB / 459.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2122, allocations: 9.094 kB / 459.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/0.2175, allocations: 1.529 MB / 461.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.2189, allocations: 0.8042 MB / 462.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.219, allocations: 90.06 kB / 462.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.2192, allocations: 108.2 kB / 462.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005716/0.2249, allocations: 4.98 MB / 467.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.225, allocations: 22.38 kB / 467.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.2251, allocations: 64.84 kB / 467.5 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.2269, allocations: 1.182 MB / 468.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00582/0.2328, allocations: 4.252 MB / 472.9 MB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.2504, allocations: 19.39 MB / 492.3 MB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.2517, allocations: 0.7374 MB / 493.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.2522, allocations: 347 kB / 493.4 MB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2522, allocations: 8 kB / 493.4 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.308e-05/0.2523, allocations: 34.56 kB / 493.4 MB, free: 3.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.845e-06/0.2523, allocations: 0 / 493.4 MB, free: 3.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001829/0.2541, allocations: 1.138 MB / 494.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.2542, allocations: 136.5 kB / 494.7 MB, free: 2.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.2574, allocations: 2.317 MB / 497 MB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.2574, allocations: 29.7 kB / 497.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.2588, allocations: 1.867 MB / 498.9 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.259, allocations: 315.8 kB / 499.2 MB, free: 13.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.2601, allocations: 0.7813 MB / 0.4883 GB, free: 12.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.2602, allocations: 330 kB / 0.4886 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.2618, allocations: 1.03 MB / 0.4896 GB, free: 11.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/0.2655, allocations: 3.694 MB / 0.4932 GB, free: 6.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/0.2717, allocations: 5.162 MB / 0.4983 GB, free: 12 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.2718, allocations: 28.05 kB / 0.4983 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007599/0.2794, allocations: 4.435 MB / 0.5026 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.2795, allocations: 48.06 kB / 0.5027 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.2796, allocations: 96 kB / 0.5028 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.2797, allocations: 124 kB / 0.5029 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/0.2821, allocations: 0.8702 MB / 0.5037 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000161/0.2823, allocations: 183 kB / 0.5039 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.2847, allocations: 0.5459 MB / 0.5044 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/0.285, allocations: 252 kB / 0.5047 GB, free: 9.445 MB / 414.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.001745/0.2867, allocations: 1.187 MB / 0.5058 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.287, allocations: 174.8 kB / 0.506 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.2874, allocations: 199.9 kB / 0.5062 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/0.2874, allocations: 23.05 kB / 0.5062 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.2874, allocations: 4.75 kB / 0.5062 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2874, allocations: 3.984 kB / 0.5062 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.2905, allocations: 1.662 MB / 0.5078 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2905, allocations: 2.375 kB / 0.5079 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.2908, allocations: 63.91 kB / 0.5079 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.2908, allocations: 7.984 kB / 0.5079 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.2908, allocations: 8 kB / 0.5079 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2909, allocations: 7.938 kB / 0.5079 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.2909, allocations: 7.938 kB / 0.5079 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.2922, allocations: 1.177 MB / 0.5091 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.2925, allocations: 154.6 kB / 0.5092 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.2926, allocations: 11.98 kB / 0.5092 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.2931, allocations: 15.98 kB / 0.5093 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.2931, allocations: 30.31 kB / 0.5093 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.2932, allocations: 20 kB / 0.5093 GB, free: 4.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001777/0.295, allocations: 1.288 MB / 0.5106 GB, free: 3.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.295, allocations: 0 / 0.5106 GB, free: 3.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00265/0.2976, allocations: 0.5496 MB / 0.5111 GB, free: 2.77 MB / 414.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.0002875/0.2979, allocations: 129.6 kB / 0.5112 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.3013, allocations: 2.262 MB / 0.5134 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3013, allocations: 0 / 0.5134 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.3017, allocations: 347 kB / 0.5138 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009676/0.3027, allocations: 157.9 kB / 0.5139 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006156/0.3088, allocations: 4.012 MB / 0.5178 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.3105, allocations: 1.275 MB / 0.5191 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002433/0.3129, allocations: 1.219 MB / 0.5203 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.3131, allocations: 128.5 kB / 0.5204 GB, free: 9.191 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3131, allocations: 0 / 0.5204 GB, free: 9.191 MB / 430.1 MB Notification: Performance of Templates: time 0.02529/0.3384, allocations: 11.69 MB / 0.5318 GB, free: 13.73 MB / 446.1 MB " [Timeout remaining time 660] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/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.0814398676157]