Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.001072/0.001072, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001419/0.001419, allocations: 165.3 kB / 24.82 MB, free: 9.27 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 1.155/1.155, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3785/0.3785, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 179] 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.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.392e-05, allocations: 2.312 kB / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01152/0.01155, allocations: 9.714 MB / 386.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007966/0.01952, allocations: 2.997 MB / 389.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.02225, allocations: 75.69 kB / 389.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.02691, allocations: 2.835 MB / 392.1 MB, free: 4.742 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004187/0.0311, allocations: 1.154 MB / 393.2 MB, free: 3.582 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.03224, allocations: 299.4 kB / 393.5 MB, free: 3.289 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.03536, allocations: 1.552 MB / 395.1 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.03818, allocations: 1.961 MB / 397 MB, free: 15.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/0.04412, allocations: 3.651 MB / 400.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.04631, allocations: 1.021 MB / 401.7 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008788/0.04719, allocations: 188 kB / 401.9 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008666/0.04806, allocations: 283.8 kB / 402.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002324/0.05038, allocations: 3.127 MB / 405.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.05343, allocations: 1.466 MB / 406.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007892/0.06132, allocations: 6.531 MB / 413.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.06133, allocations: 0 / 413.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.06133, allocations: 0 / 413.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007579/0.06209, allocations: 4 kB / 413.3 MB, free: 15.41 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01838/0.08046, allocations: 9.86 MB / 423.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.215e-05/0.08054, allocations: 8.031 kB / 423.2 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.08258, allocations: 1.164 MB / 424.3 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009728/0.09231, allocations: 5.951 MB / 430.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.09245, allocations: 131.3 kB / 430.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.09267, allocations: 160 kB / 430.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.09781, allocations: 2.859 MB / 433.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.09785, allocations: 7.938 kB / 433.4 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.09795, allocations: 71.94 kB / 433.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001276/0.09923, allocations: 1.561 MB / 435.1 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.1026, allocations: 1.182 MB / 436.2 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4616/0.5642, allocations: 20.57 MB / 456.8 MB, free: 71.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.5653, allocations: 349.6 kB / 457.2 MB, free: 71.24 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.5654, allocations: 48.05 kB / 457.2 MB, free: 71.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004908/0.5703, allocations: 1.768 MB / 459 MB, free: 70.62 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.133e-05/0.5704, allocations: 162.9 kB / 459.1 MB, free: 70.45 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 6.422e-06/0.5704, allocations: 4 kB / 459.1 MB, free: 70.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.001187/0.5716, allocations: 0.8736 MB / 460 MB, free: 70.02 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.5716, allocations: 173.9 kB / 460.2 MB, free: 69.84 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/0.5853, allocations: 8.806 MB / 469 MB, free: 68.98 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.5853, allocations: 25.7 kB / 469 MB, free: 68.95 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004812/0.5901, allocations: 6.482 MB / 475.5 MB, free: 65.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.5903, allocations: 94.58 kB / 475.6 MB, free: 65.12 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007576/0.5911, allocations: 0.8736 MB / 476.5 MB, free: 64.7 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.5911, allocations: 479.9 kB / 476.9 MB, free: 64.23 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.5914, allocations: 270.9 kB / 477.2 MB, free: 64.21 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.5936, allocations: 5.063 MB / 482.3 MB, free: 57.6 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/0.5981, allocations: 5.941 MB / 488.2 MB, free: 50.76 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.5983, allocations: 33.94 kB / 488.2 MB, free: 50.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008112/0.6064, allocations: 4.137 MB / 492.4 MB, free: 49.45 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.6065, allocations: 55.41 kB / 492.4 MB, free: 49.45 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/0.6067, allocations: 119.5 kB / 492.5 MB, free: 49.45 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.6069, allocations: 155.1 kB / 492.7 MB, free: 49.45 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.6089, allocations: 0.98 MB / 493.7 MB, free: 49.32 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001914/0.609, allocations: 229.4 kB / 493.9 MB, free: 49.27 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004448/0.6135, allocations: 0.6131 MB / 494.5 MB, free: 49.01 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000528/0.614, allocations: 252.9 kB / 494.8 MB, free: 48.98 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 537 * Array equations: 0 * 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.002492/0.6165, allocations: 0.6581 MB / 495.4 MB, free: 48.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00191/0.6184, allocations: 0.9908 MB / 496.4 MB, free: 47.85 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.6205, allocations: 0.8116 MB / 497.2 MB, free: 47.43 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/0.6205, allocations: 273.8 kB / 497.5 MB, free: 47.16 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.786e-05/0.6206, allocations: 266.3 kB / 497.7 MB, free: 46.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/0.6206, allocations: 270.3 kB / 498 MB, free: 46.62 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006663/0.6273, allocations: 3.147 MB / 0.4894 GB, free: 45.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/0.6273, allocations: 148.9 kB / 0.4895 GB, free: 44.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.6273, allocations: 150 kB / 0.4897 GB, free: 44.81 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.994e-05/0.6274, allocations: 269.2 kB / 0.4899 GB, free: 44.54 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.6274, allocations: 273.1 kB / 0.4902 GB, free: 44.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.785e-05/0.6275, allocations: 275.7 kB / 0.4905 GB, free: 44 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.049e-05/0.6275, allocations: 265.4 kB / 0.4907 GB, free: 43.73 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.6297, allocations: 1.361 MB / 0.4921 GB, free: 42.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/0.6313, allocations: 0.8799 MB / 0.4929 GB, free: 42.02 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/0.632, allocations: 266.8 kB / 0.4932 GB, free: 41.76 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.6324, allocations: 153.5 kB / 0.4933 GB, free: 41.61 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.6325, allocations: 271.5 kB / 0.4936 GB, free: 41.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.6325, allocations: 148.7 kB / 0.4937 GB, free: 41.19 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007136/0.6396, allocations: 4.138 MB / 0.4978 GB, free: 39.99 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6396, allocations: 0 / 0.4978 GB, free: 39.99 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005773/0.6454, allocations: 1.149 MB / 0.4989 GB, free: 39.77 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002278/0.6456, allocations: 214.8 kB / 0.4991 GB, free: 39.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.649, allocations: 1.512 MB / 0.5006 GB, free: 39.01 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.649, allocations: 0 / 0.5006 GB, free: 39.01 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/0.649, allocations: 3.938 kB / 0.5006 GB, free: 39.01 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/0.6598, allocations: 3.678 MB / 0.5042 GB, free: 37.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/0.685, allocations: 13.52 MB / 0.5174 GB, free: 27.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00453/0.6896, allocations: 2.147 MB / 0.5195 GB, free: 25.83 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004405/0.694, allocations: 1.053 MB / 0.5205 GB, free: 25.03 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004092/0.6981, allocations: 1.988 MB / 0.5224 GB, free: 23.43 MB / 410.8 MB Notification: Performance of SimCode: time 3.757e-06/0.6981, allocations: 0 / 0.5224 GB, free: 23.43 MB / 410.8 MB Notification: Performance of Templates: time 0.3781/1.076, allocations: 90.82 MB / 0.6111 GB, free: 135.2 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","",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.085776606108993]