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.001244/0.001244, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001298/0.001298, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.018/1.018, allocations: 177 MB / 205.9 MB, free: 4.453 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.1544/0.1544, allocations: 34.87 MB / 297.4 MB, free: 13.43 MB / 282.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.502e-06/1.502e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.399e-05, allocations: 6.312 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.006342/0.006366, allocations: 9.695 MB / 389.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.01144, allocations: 2.995 MB / 392.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.01283, allocations: 79.62 kB / 392.8 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.01538, allocations: 2.831 MB / 395.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.01732, allocations: 1.158 MB / 396.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.01779, allocations: 299.3 kB / 397 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.01907, allocations: 1.56 MB / 398.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.02033, allocations: 1.953 MB / 400.6 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.02335, allocations: 3.62 MB / 404.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.02464, allocations: 1.028 MB / 405.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003893/0.02503, allocations: 192 kB / 405.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.02557, allocations: 287.8 kB / 405.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001863/0.02743, allocations: 3.12 MB / 408.8 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.02906, allocations: 1.462 MB / 410.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.03399, allocations: 6.531 MB / 416.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.034, allocations: 0 / 416.8 MB, free: 1.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.034, allocations: 3.984 kB / 416.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003837/0.03438, allocations: 0 / 416.8 MB, free: 1.805 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.01079/0.04517, allocations: 9.86 MB / 426.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.04521, allocations: 12.02 kB / 426.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.04625, allocations: 1.168 MB / 427.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007071/0.05332, allocations: 5.951 MB / 433.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.05339, allocations: 127.3 kB / 433.9 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.05356, allocations: 164 kB / 434.1 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.05739, allocations: 2.855 MB / 436.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.05743, allocations: 11.92 kB / 436.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.05752, allocations: 79.94 kB / 437 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.0586, allocations: 1.565 MB / 438.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.0609, allocations: 1.154 MB / 439.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.08334, allocations: 20.59 MB / 460.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.0843, allocations: 354.4 kB / 460.7 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.08436, allocations: 43.66 kB / 460.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002971/0.08733, allocations: 1.772 MB / 462.5 MB, free: 3.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.08738, allocations: 156.6 kB / 462.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.08738, allocations: 0 / 462.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0007164/0.08809, allocations: 0.8747 MB / 463.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.08815, allocations: 170.6 kB / 463.7 MB, free: 2.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008265/0.09642, allocations: 8.81 MB / 472.5 MB, free: 9.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.09643, allocations: 29.7 kB / 472.5 MB, free: 9.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004584/0.101, allocations: 6.477 MB / 479 MB, free: 2.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1011, allocations: 99.91 kB / 479.1 MB, free: 2.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006049/0.1017, allocations: 0.8733 MB / 480 MB, free: 1.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1018, allocations: 480.7 kB / 480.4 MB, free: 1.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.1021, allocations: 268.1 kB / 480.7 MB, free: 1.008 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/0.1047, allocations: 5.056 MB / 485.7 MB, free: 9.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.1089, allocations: 5.949 MB / 491.7 MB, free: 1.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.53e-05/0.109, allocations: 32 kB / 491.7 MB, free: 1.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.005344/0.1143, allocations: 4.143 MB / 495.9 MB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.1144, allocations: 57.72 kB / 495.9 MB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.265e-05/0.1144, allocations: 120.8 kB / 496 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.804e-05/0.1145, allocations: 152 kB / 496.2 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.1159, allocations: 0.9863 MB / 497.2 MB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/0.116, allocations: 223.1 kB / 497.4 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.1185, allocations: 0.6089 MB / 498 MB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.1187, allocations: 248 kB / 498.2 MB, free: 10.86 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.001409/0.1201, allocations: 0.6675 MB / 498.9 MB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008539/0.121, allocations: 0.9911 MB / 499.9 MB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.1219, allocations: 0.8151 MB / 0.489 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003326/0.1222, allocations: 268.1 kB / 0.4892 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.446e-05/0.1223, allocations: 272 kB / 0.4895 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.92e-05/0.1223, allocations: 264.1 kB / 0.4898 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.126, allocations: 3.143 MB / 0.4928 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.421e-05/0.126, allocations: 148.8 kB / 0.493 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.1261, allocations: 152.9 kB / 0.4931 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.1261, allocations: 272 kB / 0.4934 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.1262, allocations: 276 kB / 0.4936 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-05/0.1262, allocations: 272 kB / 0.4939 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.652e-05/0.1263, allocations: 268 kB / 0.4941 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009734/0.1273, allocations: 1.356 MB / 0.4955 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009069/0.1282, allocations: 0.8739 MB / 0.4963 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006837/0.1289, allocations: 280.2 kB / 0.4966 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.1293, allocations: 152.9 kB / 0.4967 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2993/0.4286, allocations: 264.1 kB / 0.497 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.4286, allocations: 149.5 kB / 0.4971 GB, free: 115.1 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.005525/0.4342, allocations: 4.137 MB / 0.5012 GB, free: 114.7 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4342, allocations: 0.6875 kB / 0.5012 GB, free: 114.7 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003651/0.4378, allocations: 1.145 MB / 0.5023 GB, free: 114.7 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.000169/0.438, allocations: 214.9 kB / 0.5025 GB, free: 114.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.4396, allocations: 1.508 MB / 0.504 GB, free: 114.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4396, allocations: 0 / 0.504 GB, free: 114.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.4397, allocations: 3.938 kB / 0.504 GB, free: 114.4 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006866/0.4465, allocations: 3.678 MB / 0.5076 GB, free: 113.4 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.4644, allocations: 13.52 MB / 0.5208 GB, free: 105 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.4663, allocations: 2.142 MB / 0.5229 GB, free: 103.2 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003116/0.4694, allocations: 1.058 MB / 0.5239 GB, free: 102.3 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003011/0.4724, allocations: 1.981 MB / 0.5258 GB, free: 100.3 MB / 426.8 MB Notification: Performance of SimCode: time 1.423e-06/0.4724, allocations: 0 / 0.5258 GB, free: 100.3 MB / 426.8 MB Notification: Performance of Templates: time 0.1058/0.5782, allocations: 91.91 MB / 0.6156 GB, free: 9.719 MB / 426.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.30057141976431]