Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001406/0.001406, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001673/0.001673, allocations: 166 kB / 25.61 MB, free: 8.582 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.041/1.041, allocations: 177.1 MB / 206 MB, free: 4.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1492/0.1492, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.641e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.006167/0.006184, allocations: 9.688 MB / 389 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.01017, allocations: 3.007 MB / 392 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007251/0.01089, allocations: 75.62 kB / 392 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.01325, allocations: 2.835 MB / 394.9 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.01465, allocations: 1.151 MB / 396 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.01504, allocations: 307.3 kB / 396.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.0161, allocations: 1.548 MB / 397.9 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.01732, allocations: 1.957 MB / 399.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.0203, allocations: 3.628 MB / 403.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.0218, allocations: 1.021 MB / 404.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003017/0.0221, allocations: 188 kB / 404.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.02252, allocations: 291.7 kB / 404.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.02437, allocations: 3.112 MB / 408.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.02543, allocations: 1.462 MB / 409.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.02958, allocations: 6.543 MB / 416.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.02959, allocations: 0 / 416.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02959, allocations: 0 / 416.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.858e-05/0.02969, allocations: 0 / 416.1 MB, free: 2.457 MB / 330.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.007924/0.03761, allocations: 9.864 MB / 425.9 MB, free: 8.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.03765, allocations: 8.031 kB / 425.9 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008083/0.03846, allocations: 1.16 MB / 427.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.04398, allocations: 5.955 MB / 433.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.04405, allocations: 131.3 kB / 433.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.04418, allocations: 167.9 kB / 433.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.04669, allocations: 2.847 MB / 436.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.04673, allocations: 7.938 kB / 436.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.04681, allocations: 75.94 kB / 436.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/0.04784, allocations: 1.569 MB / 437.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.04957, allocations: 1.166 MB / 439 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.06645, allocations: 20.59 MB / 459.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.06752, allocations: 354.4 kB / 459.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.06758, allocations: 43.66 kB / 460 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002581/0.07016, allocations: 1.772 MB / 461.8 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.0702, allocations: 152.6 kB / 461.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.07021, allocations: 0 / 461.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0006619/0.07087, allocations: 0.8786 MB / 462.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.07093, allocations: 170.6 kB / 462.9 MB, free: 2.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008268/0.0792, allocations: 8.806 MB / 471.8 MB, free: 9.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.07921, allocations: 25.7 kB / 471.8 MB, free: 9.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004239/0.08345, allocations: 6.481 MB / 478.3 MB, free: 3.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.08355, allocations: 99.89 kB / 478.4 MB, free: 3.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005938/0.08414, allocations: 0.8694 MB / 479.2 MB, free: 2.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.08426, allocations: 484.8 kB / 479.7 MB, free: 1.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.08452, allocations: 268.1 kB / 480 MB, free: 1.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.08699, allocations: 5.06 MB / 485 MB, free: 10.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/0.09071, allocations: 5.949 MB / 491 MB, free: 2.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.768e-05/0.09077, allocations: 32 kB / 491 MB, free: 2.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004731/0.0955, allocations: 4.139 MB / 495.1 MB, free: 13.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.09556, allocations: 56 kB / 495.2 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.99e-05/0.09566, allocations: 116 kB / 495.3 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.111e-05/0.09575, allocations: 152 kB / 495.5 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.09713, allocations: 0.9863 MB / 496.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001072/0.09724, allocations: 223.7 kB / 496.7 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.09961, allocations: 0.6089 MB / 497.3 MB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.09979, allocations: 252 kB / 497.5 MB, free: 11.52 MB / 426.7 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.00143/0.1012, allocations: 0.6714 MB / 498.2 MB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008142/0.102, allocations: 0.9911 MB / 499.2 MB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009614/0.103, allocations: 0.819 MB / 0.4883 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.034e-05/0.1031, allocations: 264.1 kB / 0.4885 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.703e-05/0.1031, allocations: 268 kB / 0.4888 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-05/0.1032, allocations: 268.1 kB / 0.489 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.1067, allocations: 3.147 MB / 0.4921 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-05/0.1067, allocations: 148.8 kB / 0.4923 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.1068, allocations: 144.9 kB / 0.4924 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.276e-05/0.1068, allocations: 276 kB / 0.4927 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/0.1069, allocations: 276 kB / 0.4929 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.694e-05/0.107, allocations: 268.1 kB / 0.4932 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-05/0.107, allocations: 272 kB / 0.4934 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/0.108, allocations: 1.36 MB / 0.4948 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009476/0.1089, allocations: 0.8739 MB / 0.4956 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/0.1093, allocations: 268 kB / 0.4959 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.1098, allocations: 156.8 kB / 0.496 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.1098, allocations: 264.3 kB / 0.4963 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.1099, allocations: 148.8 kB / 0.4964 GB, free: 492 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.3003/0.4102, allocations: 4.138 MB / 0.5005 GB, free: 115.3 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4102, allocations: 0 / 0.5005 GB, free: 115.3 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003073/0.4132, allocations: 1.143 MB / 0.5016 GB, free: 115.3 MB / 426.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.0001275/0.4134, allocations: 219.1 kB / 0.5018 GB, free: 115.1 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.4148, allocations: 1.513 MB / 0.5033 GB, free: 115 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4148, allocations: 0.5469 kB / 0.5033 GB, free: 115 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.4148, allocations: 3.938 kB / 0.5033 GB, free: 115 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005497/0.4203, allocations: 3.676 MB / 0.5069 GB, free: 113.9 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.4333, allocations: 13.52 MB / 0.5201 GB, free: 105.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.4347, allocations: 2.143 MB / 0.5222 GB, free: 103.9 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003066/0.4377, allocations: 1.06 MB / 0.5232 GB, free: 103 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/0.4406, allocations: 1.981 MB / 0.5251 GB, free: 101.1 MB / 426.8 MB Notification: Performance of SimCode: time 2.535e-06/0.4406, allocations: 0 / 0.5251 GB, free: 101.1 MB / 426.8 MB Notification: Performance of Templates: time 0.1071/0.5477, allocations: 91.95 MB / 0.6149 GB, free: 10.8 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.513573584146798]