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.0009734/0.0009734, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00415/0.00415, allocations: 158.9 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8931/0.8931, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2373/0.2373, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.268e-05/4.515e-05, allocations: 4.953 kB / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.2038/0.2039, allocations: 4.865 MB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.2061, allocations: 1.697 MB / 449.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.2064, allocations: 24.47 kB / 450 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008754/0.2073, allocations: 0.5441 MB / 450.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.2087, allocations: 0.9587 MB / 451.5 MB, free: 40.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.2089, allocations: 21 kB / 451.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.211, allocations: 2.596 MB / 454.1 MB, free: 39.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.2121, allocations: 1.04 MB / 455.1 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.213, allocations: 0.8649 MB / 456 MB, free: 38.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008334/0.2138, allocations: 1.015 MB / 457 MB, free: 38.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2139, allocations: 93.47 kB / 457.1 MB, free: 38.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.2143, allocations: 266.1 kB / 457.4 MB, free: 38.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.2147, allocations: 0.7416 MB / 458.1 MB, free: 38.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.2149, allocations: 432.6 kB / 458.5 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.2164, allocations: 2.703 MB / 461.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2164, allocations: 4 kB / 461.2 MB, free: 37.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2164, allocations: 0 / 461.2 MB, free: 37.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.2164, allocations: 0 / 461.2 MB, free: 37.08 MB / 410.7 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.001594/0.218, allocations: 2.008 MB / 463.2 MB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2181, allocations: 9.5 kB / 463.3 MB, free: 35.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.2205, allocations: 1.527 MB / 464.8 MB, free: 35.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/0.2214, allocations: 0.7996 MB / 465.6 MB, free: 35.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.2215, allocations: 84.05 kB / 465.7 MB, free: 35.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.2216, allocations: 116.6 kB / 465.8 MB, free: 35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/0.2251, allocations: 4.977 MB / 470.8 MB, free: 32.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.2251, allocations: 25.56 kB / 470.8 MB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2252, allocations: 69.44 kB / 470.8 MB, free: 32.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009375/0.2262, allocations: 1.179 MB / 472 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/0.2302, allocations: 4.252 MB / 476.3 MB, free: 30.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.2422, allocations: 19.39 MB / 495.7 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/0.2432, allocations: 0.7215 MB / 496.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.2435, allocations: 341.7 kB / 496.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.2435, allocations: 4.766 kB / 496.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2436, allocations: 46.75 kB / 496.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.617e-06/0.2436, allocations: 0 / 496.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001301/0.2449, allocations: 1.136 MB / 497.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2449, allocations: 138.6 kB / 498 MB, free: 14.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.2471, allocations: 2.318 MB / 0.4886 GB, free: 13.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2471, allocations: 32.52 kB / 0.4887 GB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007027/0.2478, allocations: 1.87 MB / 0.4905 GB, free: 11.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.248, allocations: 310.8 kB / 0.4908 GB, free: 11.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006665/0.2487, allocations: 0.7775 MB / 0.4915 GB, free: 10.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.2487, allocations: 331.3 kB / 0.4919 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.2499, allocations: 1.035 MB / 0.4929 GB, free: 10.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/0.2519, allocations: 3.691 MB / 0.4965 GB, free: 6.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/0.2556, allocations: 5.166 MB / 0.5015 GB, free: 1.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.54e-05/0.2557, allocations: 30.97 kB / 0.5015 GB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005914/0.2616, allocations: 4.436 MB / 0.5059 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.338e-05/0.2616, allocations: 46.88 kB / 0.5059 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.2617, allocations: 95 kB / 0.506 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.2619, allocations: 124.3 kB / 0.5061 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.2634, allocations: 0.8761 MB / 0.507 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001138/0.2635, allocations: 187.5 kB / 0.5072 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.2654, allocations: 0.5374 MB / 0.5077 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.2656, allocations: 254.3 kB / 0.5079 GB, free: 14.48 MB / 426.7 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.001359/0.267, allocations: 1.187 MB / 0.5091 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.2672, allocations: 171.9 kB / 0.5093 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.2673, allocations: 196.3 kB / 0.5094 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.139e-05/0.2674, allocations: 21.41 kB / 0.5095 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.2674, allocations: 8.547 kB / 0.5095 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2674, allocations: 5.5 kB / 0.5095 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.2698, allocations: 1.667 MB / 0.5111 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2698, allocations: 0 / 0.5111 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.27, allocations: 62.11 kB / 0.5112 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.27, allocations: 4 kB / 0.5112 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.27, allocations: 9.453 kB / 0.5112 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.2701, allocations: 7.312 kB / 0.5112 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2701, allocations: 0 / 0.5112 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.2709, allocations: 1.185 MB / 0.5123 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.2711, allocations: 149.6 kB / 0.5125 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.2712, allocations: 16.78 kB / 0.5125 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.2715, allocations: 17.44 kB / 0.5125 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.2715, allocations: 31.84 kB / 0.5125 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.2715, allocations: 25.25 kB / 0.5126 GB, free: 10.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001253/0.2728, allocations: 1.289 MB / 0.5138 GB, free: 9.102 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2728, allocations: 0 / 0.5138 GB, free: 9.102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002026/0.2748, allocations: 0.5467 MB / 0.5144 GB, free: 8.555 MB / 426.7 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.0002346/0.2751, allocations: 127.5 kB / 0.5145 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.2778, allocations: 2.27 MB / 0.5167 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2778, allocations: 0 / 0.5167 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.2781, allocations: 335.1 kB / 0.517 GB, free: 6.141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.2788, allocations: 152 kB / 0.5172 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.2837, allocations: 4.258 MB / 0.5213 GB, free: 1.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.2849, allocations: 1.294 MB / 0.5226 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.2853, allocations: 156.4 kB / 0.5227 GB, free: 464 kB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/0.2853, allocations: 0 / 0.5227 GB, free: 464 kB / 426.7 MB Notification: Performance of Templates: time 0.03255/0.3179, allocations: 27.76 MB / 0.5498 GB, free: 4.785 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/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: 6.1905859829857945]