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.001596/0.001596, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001287/0.001287, allocations: 162.9 kB / 24.99 MB, free: 9.32 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.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.195 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.2886/0.2886, allocations: 34.86 MB / 296.6 MB, free: 0.543 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 2.174e-06/2.174e-06, allocations: 0 / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.019e-05, allocations: 5.125 kB / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008906/0.008936, allocations: 9.941 MB / 388.7 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005761/0.0147, allocations: 3.02 MB / 391.7 MB, free: 5.418 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008128/0.01551, allocations: 79.62 kB / 391.8 MB, free: 5.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002976/0.01849, allocations: 2.87 MB / 394.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001588/0.02007, allocations: 1.147 MB / 395.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.02053, allocations: 303.4 kB / 396.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.02177, allocations: 1.54 MB / 397.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.02344, allocations: 1.965 MB / 399.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.0246, allocations: 1.302 MB / 400.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/0.02774, allocations: 3.272 MB / 404.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.02806, allocations: 187.9 kB / 404.3 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.02857, allocations: 287.8 kB / 404.6 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.03027, allocations: 3.116 MB / 407.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.03148, allocations: 1.466 MB / 409.2 MB, free: 3.816 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004701/0.03618, allocations: 6.269 MB / 415.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.03619, allocations: 0 / 415.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.03619, allocations: 0 / 415.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001235/0.03632, allocations: 0 / 415.5 MB, free: 13.52 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.008218/0.04453, allocations: 9.552 MB / 425 MB, free: 3.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.0446, allocations: 8.031 kB / 425 MB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.04585, allocations: 1.16 MB / 426.2 MB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.04937, allocations: 3.433 MB / 429.6 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.04945, allocations: 127.3 kB / 429.8 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.04959, allocations: 175.9 kB / 429.9 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/0.05285, allocations: 3.11 MB / 433 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.05289, allocations: 11.88 kB / 433 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.05303, allocations: 71.95 kB / 433.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001471/0.0545, allocations: 1.565 MB / 434.7 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.05757, allocations: 1.466 MB / 436.1 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4004/0.458, allocations: 20.36 MB / 456.5 MB, free: 84.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/0.459, allocations: 359.7 kB / 456.9 MB, free: 84.01 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.459, allocations: 42.06 kB / 456.9 MB, free: 83.99 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/0.4613, allocations: 1.861 MB / 458.8 MB, free: 83.14 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.4613, allocations: 152.6 kB / 458.9 MB, free: 82.98 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.4613, allocations: 2.781 kB / 458.9 MB, free: 82.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0005352/0.4619, allocations: 0.8701 MB / 459.8 MB, free: 82.59 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4619, allocations: 178.5 kB / 460 MB, free: 82.41 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007369/0.4693, allocations: 8.938 MB / 468.9 MB, free: 79.21 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.4693, allocations: 25.7 kB / 468.9 MB, free: 79.18 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002941/0.4722, allocations: 6.389 MB / 475.3 MB, free: 74.66 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.4723, allocations: 95.69 kB / 475.4 MB, free: 74.62 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/0.4728, allocations: 0.8549 MB / 476.3 MB, free: 74.14 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.4729, allocations: 483.4 kB / 476.7 MB, free: 73.67 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.4733, allocations: 336.7 kB / 477.1 MB, free: 73.62 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.4751, allocations: 5.103 MB / 482.2 MB, free: 66.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.478, allocations: 5.982 MB / 488.1 MB, free: 59.61 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.442e-05/0.478, allocations: 35.88 kB / 488.2 MB, free: 59.61 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00545/0.4835, allocations: 4.335 MB / 492.5 MB, free: 57.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/0.4836, allocations: 55.81 kB / 492.6 MB, free: 57.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.4837, allocations: 118.6 kB / 492.7 MB, free: 57.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.4839, allocations: 151.1 kB / 492.8 MB, free: 57.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.4856, allocations: 0.9912 MB / 493.8 MB, free: 57.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001717/0.4858, allocations: 228.7 kB / 494 MB, free: 57.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.4884, allocations: 0.6054 MB / 494.7 MB, free: 57.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/0.4888, allocations: 288.2 kB / 494.9 MB, free: 57.26 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.001633/0.4905, allocations: 0.6638 MB / 495.6 MB, free: 56.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008335/0.4913, allocations: 0.9922 MB / 496.6 MB, free: 56.12 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.4921, allocations: 0.8098 MB / 497.4 MB, free: 55.71 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.4922, allocations: 273.1 kB / 497.7 MB, free: 55.44 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.075e-05/0.4922, allocations: 270.3 kB / 497.9 MB, free: 55.17 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-05/0.4923, allocations: 269.4 kB / 498.2 MB, free: 54.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006531/0.4988, allocations: 4.94 MB / 0.4913 GB, free: 52.58 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/0.4988, allocations: 148.8 kB / 0.4915 GB, free: 52.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.726e-05/0.4988, allocations: 150.2 kB / 0.4916 GB, free: 52.28 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-05/0.4989, allocations: 270.2 kB / 0.4919 GB, free: 52.01 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.4989, allocations: 276 kB / 0.4921 GB, free: 51.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.969e-05/0.499, allocations: 266 kB / 0.4924 GB, free: 51.46 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-05/0.499, allocations: 277.5 kB / 0.4927 GB, free: 51.19 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.4997, allocations: 1.354 MB / 0.494 GB, free: 50.17 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008246/0.5005, allocations: 0.9005 MB / 0.4949 GB, free: 49.49 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/0.501, allocations: 266.3 kB / 0.4951 GB, free: 49.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.5017, allocations: 148.8 kB / 0.4953 GB, free: 49.07 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.5017, allocations: 269.5 kB / 0.4955 GB, free: 48.81 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.5017, allocations: 150.7 kB / 0.4957 GB, free: 48.66 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005393/0.5071, allocations: 4.493 MB / 0.5001 GB, free: 47.34 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5071, allocations: 0 / 0.5001 GB, free: 47.34 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.002955/0.5101, allocations: 1.152 MB / 0.5012 GB, free: 47.07 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.0001598/0.5102, allocations: 210.4 kB / 0.5014 GB, free: 46.86 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.5122, allocations: 1.564 MB / 0.5029 GB, free: 45.48 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5122, allocations: 0 / 0.5029 GB, free: 45.48 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.5122, allocations: 3.938 kB / 0.5029 GB, free: 45.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008379/0.5206, allocations: 3.679 MB / 0.5065 GB, free: 42.48 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.5343, allocations: 13.4 MB / 0.5196 GB, free: 29.85 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/0.5365, allocations: 2.147 MB / 0.5217 GB, free: 28.38 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003802/0.5403, allocations: 1.752 MB / 0.5234 GB, free: 27.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.5406, allocations: 400.5 kB / 0.5238 GB, free: 26.79 MB / 410.8 MB Notification: Performance of SimCode: time 4.299e-06/0.5406, allocations: 0 / 0.5238 GB, free: 26.79 MB / 410.8 MB Notification: Performance of Templates: time 0.1189/0.6595, allocations: 83.43 MB / 0.6053 GB, free: 8.883 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.7871013570111245]