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.001247/0.001247, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006531/0.006531, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9125/0.9125, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2577/0.2577, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 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.744e-06/1.744e-06, allocations: 0 / 440.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.625e-05, allocations: 2.281 kB / 440.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.1866/0.1866, allocations: 4.866 MB / 445.7 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.1888, allocations: 1.692 MB / 447.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.189, allocations: 27.31 kB / 447.4 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.1899, allocations: 0.5506 MB / 447.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1909, allocations: 0.9517 MB / 448.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.531e-05/0.191, allocations: 19.75 kB / 448.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1923, allocations: 2.585 MB / 451.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.1929, allocations: 1.045 MB / 452.5 MB, free: 41.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.1935, allocations: 0.8628 MB / 453.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.1941, allocations: 1.026 MB / 454.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.533e-05/0.1942, allocations: 89.19 kB / 454.5 MB, free: 41.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.1945, allocations: 258.7 kB / 454.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.1948, allocations: 0.7447 MB / 455.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.195, allocations: 436.8 kB / 455.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.1964, allocations: 2.704 MB / 458.7 MB, free: 39.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1964, allocations: 0 / 458.7 MB, free: 39.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1964, allocations: 3.156 kB / 458.7 MB, free: 39.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.1965, allocations: 0 / 458.7 MB, free: 39.76 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.001418/0.1979, allocations: 2.001 MB / 460.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1979, allocations: 9.125 kB / 460.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/0.2003, allocations: 1.528 MB / 462.2 MB, free: 38.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.201, allocations: 0.81 MB / 463 MB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.2011, allocations: 84.64 kB / 463.1 MB, free: 37.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.2012, allocations: 115 kB / 463.2 MB, free: 37.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.2044, allocations: 4.982 MB / 468.2 MB, free: 35.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.2044, allocations: 20.53 kB / 468.2 MB, free: 35.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2045, allocations: 63.98 kB / 468.3 MB, free: 35.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009429/0.2054, allocations: 1.181 MB / 469.4 MB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.2089, allocations: 4.25 MB / 473.7 MB, free: 33.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009927/0.2188, allocations: 19.38 MB / 493.1 MB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.2199, allocations: 0.7261 MB / 493.8 MB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.2203, allocations: 351.7 kB / 494.1 MB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2203, allocations: 4.922 kB / 494.1 MB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2204, allocations: 39.06 kB / 494.2 MB, free: 17.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.677e-06/0.2204, allocations: 1.406 kB / 494.2 MB, free: 17.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.00152/0.2219, allocations: 1.14 MB / 495.3 MB, free: 16.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2219, allocations: 137.1 kB / 495.5 MB, free: 16.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.2242, allocations: 2.315 MB / 497.8 MB, free: 15.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2243, allocations: 31.98 kB / 497.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/0.225, allocations: 1.871 MB / 499.7 MB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.2252, allocations: 309.9 kB / 500 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007202/0.2259, allocations: 0.7825 MB / 0.489 GB, free: 13.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.226, allocations: 331.7 kB / 0.4893 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.2271, allocations: 1.033 MB / 0.4904 GB, free: 12.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.2291, allocations: 3.69 MB / 0.494 GB, free: 9.043 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.2326, allocations: 5.159 MB / 0.499 GB, free: 4.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.332e-05/0.2326, allocations: 31.25 kB / 0.499 GB, free: 4.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004674/0.2373, allocations: 4.43 MB / 0.5034 GB, free: 2.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.2374, allocations: 49.55 kB / 0.5034 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.703e-05/0.2375, allocations: 97.5 kB / 0.5035 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.836e-05/0.2375, allocations: 121.7 kB / 0.5036 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.2389, allocations: 0.8731 MB / 0.5045 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001203/0.239, allocations: 187.3 kB / 0.5046 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.2405, allocations: 0.54 MB / 0.5052 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.2407, allocations: 254.7 kB / 0.5054 GB, free: 2.031 MB / 410.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.001196/0.2419, allocations: 1.191 MB / 0.5066 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.242, allocations: 178.8 kB / 0.5067 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.2422, allocations: 197.2 kB / 0.5069 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.2422, allocations: 13.31 kB / 0.5069 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.2422, allocations: 8.547 kB / 0.507 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.2422, allocations: 5.672 kB / 0.507 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.2443, allocations: 1.677 MB / 0.5086 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2443, allocations: 0.75 kB / 0.5086 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2445, allocations: 61.78 kB / 0.5087 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2445, allocations: 0 / 0.5087 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2445, allocations: 13.25 kB / 0.5087 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2445, allocations: 4 kB / 0.5087 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2445, allocations: 4.609 kB / 0.5087 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/0.2453, allocations: 1.188 MB / 0.5098 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.2455, allocations: 153.8 kB / 0.51 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.2455, allocations: 4.844 kB / 0.51 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2458, allocations: 17.16 kB / 0.51 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.2458, allocations: 31.58 kB / 0.51 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.2459, allocations: 29.58 kB / 0.5101 GB, free: 13.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.2471, allocations: 1.289 MB / 0.5113 GB, free: 12.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2471, allocations: 0 / 0.5113 GB, free: 12.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001608/0.2487, allocations: 0.5462 MB / 0.5119 GB, free: 12.27 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.0002371/0.2489, allocations: 127.7 kB / 0.512 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.2512, allocations: 2.268 MB / 0.5142 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2512, allocations: 0 / 0.5142 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.2515, allocations: 338.7 kB / 0.5145 GB, free: 9.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.2521, allocations: 150.7 kB / 0.5147 GB, free: 9.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.2566, allocations: 4.263 MB / 0.5188 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.2577, allocations: 1.287 MB / 0.5201 GB, free: 4.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.258, allocations: 152.5 kB / 0.5202 GB, free: 4.516 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.258, allocations: 0 / 0.5202 GB, free: 4.516 MB / 426.7 MB Notification: Performance of Templates: time 0.02779/0.2857, allocations: 27.78 MB / 0.5473 GB, free: 8.805 MB / 458.7 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: 6.105663857422769]