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.001367/0.001367, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001498/0.001498, allocations: 206.7 kB / 23.73 MB, free: 4.398 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.224/0.224, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 63.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3789, allocations: 65.48 MB / 0.5574 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01236/0.3913, allocations: 9.067 MB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007613/0.3989, allocations: 2.947 MB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.401, allocations: 79.62 kB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.4067, allocations: 2.597 MB / 0.5718 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003501/0.4102, allocations: 1.117 MB / 0.5729 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008756/0.4111, allocations: 267.5 kB / 0.5731 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.4132, allocations: 1.509 MB / 0.5746 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.4158, allocations: 1.912 MB / 0.5765 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.4175, allocations: 0.9304 MB / 0.5774 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005126/0.4226, allocations: 3.321 MB / 0.5806 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005784/0.4232, allocations: 188 kB / 0.5808 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007883/0.424, allocations: 275.8 kB / 0.5811 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002812/0.4268, allocations: 3.009 MB / 0.584 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002926/0.4297, allocations: 2.258 MB / 0.5862 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.4414, allocations: 9.948 MB / 0.5959 GB, free: 15.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4414, allocations: 4 kB / 0.5959 GB, free: 15.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4414, allocations: 0 / 0.5959 GB, free: 15.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.4416, allocations: 0 / 0.5959 GB, free: 15.88 MB / 446.1 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.01348/0.4551, allocations: 9.039 MB / 0.6048 GB, free: 6.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4551, allocations: 8.031 kB / 0.6048 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.4564, allocations: 1.028 MB / 0.6058 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00574/0.4622, allocations: 3.743 MB / 0.6094 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.4623, allocations: 127.3 kB / 0.6095 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.4625, allocations: 167.9 kB / 0.6097 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008883/0.4714, allocations: 6.616 MB / 0.6162 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.4714, allocations: 3.938 kB / 0.6162 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.4716, allocations: 79.95 kB / 0.6163 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.4735, allocations: 1.561 MB / 0.6178 GB, free: 9.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006851/0.4804, allocations: 4.129 MB / 0.6218 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0262/0.5066, allocations: 18 MB / 0.6394 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.5081, allocations: 330.2 kB / 0.6397 GB, free: 2.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.5082, allocations: 64.77 kB / 0.6398 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003922/0.5121, allocations: 1.819 MB / 0.6415 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.5122, allocations: 109.9 kB / 0.6416 GB, free: 428 kB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.5122, allocations: 4 kB / 0.6416 GB, free: 424 kB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001043/0.5132, allocations: 0.8711 MB / 0.6425 GB, free: 15.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.5133, allocations: 126.7 kB / 0.6426 GB, free: 15.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/0.529, allocations: 10.68 MB / 0.653 GB, free: 4.773 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.529, allocations: 29.64 kB / 0.6531 GB, free: 4.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006158/0.5352, allocations: 5.982 MB / 0.6589 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.5354, allocations: 91.91 kB / 0.659 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.5364, allocations: 0.8222 MB / 0.6598 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5365, allocations: 307.7 kB / 0.6601 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.5377, allocations: 0.7655 MB / 0.6608 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004072/0.5418, allocations: 4.003 MB / 0.6648 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006097/0.5479, allocations: 5.197 MB / 0.6698 GB, free: 188 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-05/0.5479, allocations: 40 kB / 0.6699 GB, free: 148 kB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008817/0.5568, allocations: 4.956 MB / 0.6747 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.542e-05/0.5569, allocations: 56 kB / 0.6748 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/0.5571, allocations: 116 kB / 0.6749 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.5572, allocations: 152 kB / 0.675 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.5598, allocations: 0.9863 MB / 0.676 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002197/0.56, allocations: 231 kB / 0.6762 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/0.5636, allocations: 0.6091 MB / 0.6768 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.564, allocations: 291.9 kB / 0.6771 GB, free: 8.75 MB / 0.5137 GB 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.005108/0.5691, allocations: 3.401 MB / 0.6804 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/0.5704, allocations: 0.9522 MB / 0.6813 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.5724, allocations: 1.018 MB / 0.6823 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.998e-05/0.5725, allocations: 188.2 kB / 0.6825 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001053/0.5726, allocations: 184.2 kB / 0.6827 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.423e-05/0.5727, allocations: 176.3 kB / 0.6828 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008133/0.5808, allocations: 3.79 MB / 0.6865 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/0.5808, allocations: 101 kB / 0.6866 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.5809, allocations: 104.9 kB / 0.6867 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-05/0.581, allocations: 184.2 kB / 0.6869 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.5811, allocations: 176.3 kB / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.894e-05/0.5812, allocations: 184.2 kB / 0.6873 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.412e-05/0.5812, allocations: 180.3 kB / 0.6874 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.5826, allocations: 1.195 MB / 0.6886 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.5843, allocations: 0.8623 MB / 0.6894 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006352/0.585, allocations: 188.2 kB / 0.6896 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008215/0.5858, allocations: 101 kB / 0.6897 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.5859, allocations: 184.2 kB / 0.6899 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.5859, allocations: 108.9 kB / 0.69 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01135/0.5973, allocations: 7.09 MB / 0.6969 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5973, allocations: 0 / 0.6969 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00423/0.6015, allocations: 1.153 MB / 0.698 GB, free: 3.113 MB / 0.5294 GB 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.0002031/0.6017, allocations: 174.5 kB / 0.6982 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003102/0.6048, allocations: 1.804 MB / 0.7 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6048, allocations: 0 / 0.7 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.6048, allocations: 3.938 kB / 0.7 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01417/0.619, allocations: 3.431 MB / 0.7033 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/0.6485, allocations: 15.89 MB / 0.7188 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009536/0.6581, allocations: 4.819 MB / 0.7236 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007113/0.6652, allocations: 2.109 MB / 0.7256 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009126/0.6661, allocations: 399.4 kB / 0.726 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of SimCode: time 1.272e-06/0.6661, allocations: 0 / 0.726 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.664/1.33, allocations: 97.04 MB / 0.8208 GB, free: 71.49 MB / 0.5607 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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: 8.618341753259301]