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.001103/0.001103, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009217/0.0009217, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 0.9644/0.9644, allocations: 177 MB / 204.8 MB, free: 5.566 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.2677/0.2677, allocations: 34.87 MB / 296.3 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 1.543e-06/1.543e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.153e-05, allocations: 4.844 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.009817/0.009849, allocations: 9.964 MB / 388.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.0159, allocations: 3.028 MB / 391.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.01768, allocations: 75.62 kB / 391.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003265/0.02095, allocations: 2.878 MB / 394.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.02362, allocations: 1.151 MB / 395.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.0242, allocations: 299.4 kB / 396.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.02593, allocations: 1.555 MB / 397.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.02776, allocations: 1.957 MB / 399.7 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.02909, allocations: 1.298 MB / 401 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/0.03245, allocations: 3.276 MB / 404.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003568/0.03281, allocations: 188 kB / 404.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005519/0.03336, allocations: 291.7 kB / 404.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.03499, allocations: 3.12 MB / 407.8 MB, free: 4.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.03668, allocations: 1.466 MB / 409.3 MB, free: 3.438 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.04133, allocations: 6.257 MB / 415.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.04134, allocations: 0 / 415.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04134, allocations: 0 / 415.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.04157, allocations: 4 kB / 415.5 MB, free: 13.15 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.009849/0.05142, allocations: 9.548 MB / 425.1 MB, free: 3.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.05146, allocations: 8.031 kB / 425.1 MB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.05259, allocations: 1.16 MB / 426.3 MB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004258/0.05685, allocations: 3.445 MB / 429.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.05696, allocations: 127.3 kB / 429.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.05716, allocations: 164 kB / 430 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.06151, allocations: 3.118 MB / 433.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.06155, allocations: 11.88 kB / 433.1 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.061e-05/0.06164, allocations: 71.95 kB / 433.2 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001039/0.06268, allocations: 1.565 MB / 434.8 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/0.06567, allocations: 1.462 MB / 436.2 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2904/0.3561, allocations: 20.36 MB / 456.6 MB, free: 80.61 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/0.357, allocations: 358.6 kB / 456.9 MB, free: 80.57 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.3571, allocations: 45.78 kB / 457 MB, free: 80.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00249/0.3596, allocations: 1.86 MB / 458.8 MB, free: 79.81 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3596, allocations: 159.3 kB / 459 MB, free: 79.65 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.864e-06/0.3596, allocations: 0 / 459 MB, free: 79.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0004936/0.3601, allocations: 0.875 MB / 459.9 MB, free: 79.23 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3601, allocations: 170.6 kB / 460 MB, free: 79.05 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006841/0.367, allocations: 8.931 MB / 469 MB, free: 75.85 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.367, allocations: 25.7 kB / 469 MB, free: 75.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002979/0.37, allocations: 6.391 MB / 475.4 MB, free: 71.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.37, allocations: 97.22 kB / 475.5 MB, free: 71.26 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004993/0.3705, allocations: 0.8598 MB / 476.3 MB, free: 70.78 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.798e-05/0.3706, allocations: 476.8 kB / 476.8 MB, free: 70.31 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.371, allocations: 335.2 kB / 477.1 MB, free: 70.26 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.3726, allocations: 5.102 MB / 482.2 MB, free: 63.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.3752, allocations: 5.986 MB / 488.2 MB, free: 56.46 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/0.3752, allocations: 32.66 kB / 488.2 MB, free: 56.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.005233/0.3805, allocations: 4.342 MB / 492.6 MB, free: 54.57 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.089e-05/0.3805, allocations: 54.62 kB / 492.6 MB, free: 54.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/0.3806, allocations: 119 kB / 492.8 MB, free: 54.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.3808, allocations: 150.9 kB / 492.9 MB, free: 54.57 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.3823, allocations: 0.9891 MB / 493.9 MB, free: 54.44 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001277/0.3824, allocations: 227.8 kB / 494.1 MB, free: 54.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.3848, allocations: 0.6104 MB / 494.7 MB, free: 54.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/0.3851, allocations: 284.8 kB / 495 MB, free: 54.11 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.001298/0.3864, allocations: 0.6631 MB / 495.7 MB, free: 53.62 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/0.387, allocations: 0.9971 MB / 496.7 MB, free: 52.97 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/0.3877, allocations: 0.8136 MB / 497.5 MB, free: 52.55 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.3877, allocations: 269.1 kB / 497.7 MB, free: 52.28 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.3878, allocations: 265.1 kB / 498 MB, free: 52.02 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.3878, allocations: 272.8 kB / 498.3 MB, free: 51.75 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004564/0.3923, allocations: 4.937 MB / 0.4914 GB, free: 49.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.3924, allocations: 144.9 kB / 0.4915 GB, free: 49.28 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.3924, allocations: 154.9 kB / 0.4917 GB, free: 49.12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.373e-05/0.3924, allocations: 272.1 kB / 0.492 GB, free: 48.85 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.3924, allocations: 277.8 kB / 0.4922 GB, free: 48.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-05/0.3924, allocations: 264.1 kB / 0.4925 GB, free: 48.31 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.318e-05/0.3925, allocations: 266.5 kB / 0.4927 GB, free: 48.05 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.3932, allocations: 1.357 MB / 0.494 GB, free: 47.02 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000754/0.3939, allocations: 0.8975 MB / 0.4949 GB, free: 46.35 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.3942, allocations: 273.2 kB / 0.4952 GB, free: 46.08 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.3946, allocations: 146.9 kB / 0.4953 GB, free: 45.93 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3946, allocations: 275.8 kB / 0.4956 GB, free: 45.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3946, allocations: 146.9 kB / 0.4957 GB, free: 45.51 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00394/0.3986, allocations: 4.487 MB / 0.5001 GB, free: 44.19 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3986, allocations: 3.344 kB / 0.5001 GB, free: 44.19 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003003/0.4016, allocations: 1.144 MB / 0.5012 GB, free: 43.98 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.0001556/0.4017, allocations: 213.8 kB / 0.5014 GB, free: 43.77 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.4036, allocations: 1.57 MB / 0.503 GB, free: 42.93 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4036, allocations: 0 / 0.503 GB, free: 42.93 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.4036, allocations: 3.938 kB / 0.503 GB, free: 42.93 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006803/0.4104, allocations: 3.679 MB / 0.5066 GB, free: 39.93 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.4247, allocations: 13.41 MB / 0.5197 GB, free: 27.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.4268, allocations: 2.144 MB / 0.5218 GB, free: 25.84 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006177/0.433, allocations: 1.75 MB / 0.5235 GB, free: 24.63 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/0.4338, allocations: 400.5 kB / 0.5238 GB, free: 24.24 MB / 410.8 MB Notification: Performance of SimCode: time 2.465e-06/0.4338, allocations: 0 / 0.5238 GB, free: 24.24 MB / 410.8 MB Notification: Performance of Templates: time 0.1092/0.543, allocations: 83.42 MB / 0.6053 GB, free: 6.707 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.193533154204488]