Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.000989/0.000989, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00124/0.00124, allocations: 171.9 kB / 24.83 MB, free: 9.254 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 1.034/1.034, allocations: 177 MB / 205.1 MB, free: 5.492 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.2924/0.2924, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.518e-05, allocations: 3.438 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008181/0.008206, allocations: 9.713 MB / 388.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006427/0.01463, allocations: 3.005 MB / 391.9 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.01679, allocations: 75.62 kB / 392 MB, free: 5.008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004411/0.0212, allocations: 2.831 MB / 394.8 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.02444, allocations: 1.154 MB / 396 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.02535, allocations: 299.4 kB / 396.3 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002779/0.02813, allocations: 1.552 MB / 397.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002406/0.03053, allocations: 1.965 MB / 399.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/0.0358, allocations: 3.647 MB / 403.4 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.03754, allocations: 1.021 MB / 404.5 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005902/0.03813, allocations: 188 kB / 404.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.03896, allocations: 295.7 kB / 404.9 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.04132, allocations: 3.116 MB / 408 MB, free: 4.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.04339, allocations: 1.466 MB / 409.5 MB, free: 3.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.05024, allocations: 6.531 MB / 416 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.05025, allocations: 0 / 416 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.05025, allocations: 0 / 416 MB, free: 12.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003754/0.05062, allocations: 0 / 416 MB, free: 12.85 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.02383/0.07445, allocations: 9.867 MB / 425.9 MB, free: 2.875 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.07451, allocations: 8.031 kB / 425.9 MB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/0.07889, allocations: 1.156 MB / 427.1 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009517/0.08841, allocations: 5.955 MB / 433 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.08852, allocations: 135.2 kB / 433.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.08875, allocations: 167.9 kB / 433.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.09359, allocations: 2.851 MB / 436.2 MB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.09364, allocations: 11.88 kB / 436.2 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.09381, allocations: 71.95 kB / 436.3 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/0.09532, allocations: 1.565 MB / 437.8 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.09995, allocations: 1.175 MB / 439 MB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3951/0.4951, allocations: 20.57 MB / 459.6 MB, free: 80.43 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4961, allocations: 353.1 kB / 459.9 MB, free: 80.38 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.4962, allocations: 42.44 kB / 460 MB, free: 80.37 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004671/0.5008, allocations: 1.775 MB / 461.7 MB, free: 79.4 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.5009, allocations: 158.8 kB / 461.9 MB, free: 79.24 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 6.332e-06/0.5009, allocations: 0 / 461.9 MB, free: 79.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.00144/0.5023, allocations: 0.8763 MB / 462.8 MB, free: 78.71 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.5024, allocations: 170.6 kB / 462.9 MB, free: 78.54 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01431/0.5167, allocations: 8.811 MB / 471.7 MB, free: 75.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.5167, allocations: 25.7 kB / 471.8 MB, free: 75.22 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004857/0.5216, allocations: 6.481 MB / 478.2 MB, free: 70.56 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.5218, allocations: 93.08 kB / 478.3 MB, free: 70.53 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008983/0.5227, allocations: 0.8745 MB / 479.2 MB, free: 70.03 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5229, allocations: 476.8 kB / 479.7 MB, free: 69.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.5232, allocations: 273.1 kB / 479.9 MB, free: 69.54 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.5256, allocations: 5.062 MB / 485 MB, free: 62.93 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004475/0.5301, allocations: 5.94 MB / 490.9 MB, free: 55.66 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.5303, allocations: 37.22 kB / 491 MB, free: 55.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008301/0.5386, allocations: 4.134 MB / 495.1 MB, free: 53.87 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.5387, allocations: 55.97 kB / 495.2 MB, free: 53.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002447/0.5389, allocations: 122.3 kB / 495.3 MB, free: 53.86 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.5391, allocations: 151 kB / 495.4 MB, free: 53.86 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.5413, allocations: 0.987 MB / 496.4 MB, free: 53.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002867/0.5416, allocations: 223.3 kB / 496.6 MB, free: 53.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/0.546, allocations: 0.6134 MB / 497.3 MB, free: 53.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005235/0.5466, allocations: 253.6 kB / 497.5 MB, free: 53.39 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.00207/0.5486, allocations: 0.6572 MB / 498.2 MB, free: 52.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002392/0.551, allocations: 0.9943 MB / 499.2 MB, free: 52.27 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.5528, allocations: 0.8129 MB / 500 MB, free: 51.84 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/0.5529, allocations: 265.5 kB / 0.4885 GB, free: 51.58 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-05/0.5529, allocations: 269.4 kB / 0.4888 GB, free: 51.31 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/0.5529, allocations: 272.8 kB / 0.489 GB, free: 51.04 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006395/0.5593, allocations: 3.15 MB / 0.4921 GB, free: 49.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.942e-05/0.5594, allocations: 152.1 kB / 0.4922 GB, free: 49.37 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.5594, allocations: 148.1 kB / 0.4924 GB, free: 49.22 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-05/0.5594, allocations: 279 kB / 0.4926 GB, free: 48.94 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.5595, allocations: 267.2 kB / 0.4929 GB, free: 48.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.215e-05/0.5595, allocations: 268 kB / 0.4932 GB, free: 48.41 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.262e-05/0.5595, allocations: 267.3 kB / 0.4934 GB, free: 48.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5612, allocations: 1.357 MB / 0.4947 GB, free: 47.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.5625, allocations: 0.8765 MB / 0.4956 GB, free: 46.44 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006519/0.5632, allocations: 273 kB / 0.4959 GB, free: 46.17 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.5638, allocations: 145.9 kB / 0.496 GB, free: 46.02 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.5639, allocations: 269.1 kB / 0.4962 GB, free: 45.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.5639, allocations: 153.9 kB / 0.4964 GB, free: 45.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006021/0.5699, allocations: 4.136 MB / 0.5004 GB, free: 44.4 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5699, allocations: 0 / 0.5004 GB, free: 44.4 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004736/0.5746, allocations: 1.15 MB / 0.5016 GB, free: 44.18 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.0001881/0.5748, allocations: 213 kB / 0.5018 GB, free: 43.98 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.5774, allocations: 1.513 MB / 0.5032 GB, free: 43.42 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5775, allocations: 0 / 0.5032 GB, free: 43.42 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/0.5775, allocations: 0 / 0.5032 GB, free: 43.42 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009683/0.5871, allocations: 3.689 MB / 0.5068 GB, free: 40.94 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.6055, allocations: 13.52 MB / 0.52 GB, free: 28.2 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/0.609, allocations: 2.138 MB / 0.5221 GB, free: 26.73 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003584/0.6126, allocations: 1.06 MB / 0.5232 GB, free: 25.93 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003588/0.6162, allocations: 1.985 MB / 0.5251 GB, free: 24.33 MB / 410.8 MB Notification: Performance of SimCode: time 2.044e-06/0.6162, allocations: 2.844 kB / 0.5251 GB, free: 24.33 MB / 410.8 MB Notification: Performance of Templates: time 0.2998/0.916, allocations: 90.77 MB / 0.6137 GB, free: 142.3 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.42907886300236]