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.00113/0.00113, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001814/0.002944, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001078/0.001078, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002344, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.009/1.009, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0958/1.105, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.272/0.272, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02535/0.2974, allocations: 13.24 MB / 292.8 MB, free: 6.41 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.543e-06/1.543e-06, allocations: 0 / 294.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.404e-05, allocations: 2.969 kB / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008421/0.008445, allocations: 9.813 MB / 303.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.01323, allocations: 3.162 MB / 307.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.01399, allocations: 79.62 kB / 307.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.01637, allocations: 2.702 MB / 309.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.01783, allocations: 1.127 MB / 311 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.0182, allocations: 271.4 kB / 311.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.01947, allocations: 1.551 MB / 312.8 MB, free: 2.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.02124, allocations: 1.932 MB / 314.7 MB, free: 380 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.02382, allocations: 3.24 MB / 318 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.02457, allocations: 0.9581 MB / 318.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.02477, allocations: 188 kB / 319.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.0252, allocations: 299.7 kB / 319.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001792/0.02699, allocations: 3.003 MB / 322.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009001/0.02789, allocations: 1.29 MB / 323.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003834/0.03173, allocations: 6.43 MB / 330.1 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.03174, allocations: 7.938 kB / 330.1 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03174, allocations: 0 / 330.1 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.377e-05/0.03183, allocations: 0 / 330.1 MB, free: 0.8945 MB / 314.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.009072/0.0409, allocations: 10.36 MB / 340.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.04094, allocations: 8.922 kB / 340.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.04166, allocations: 0.5579 MB / 341 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005931/0.04759, allocations: 5.161 MB / 346.2 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/0.04766, allocations: 127.3 kB / 346.3 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.04783, allocations: 164 kB / 346.5 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.05086, allocations: 2.849 MB / 349.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.05089, allocations: 7.938 kB / 349.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.05098, allocations: 75.89 kB / 349.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009021/0.05188, allocations: 1.432 MB / 350.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.05357, allocations: 1.334 MB / 352.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/0.06773, allocations: 15.6 MB / 367.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.06862, allocations: 342.1 kB / 368.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.06866, allocations: 28.84 kB / 368.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.07128, allocations: 2.103 MB / 370.3 MB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.07131, allocations: 109.8 kB / 370.4 MB, free: 7.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.07132, allocations: 0 / 370.4 MB, free: 7.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.000419/0.07173, allocations: 445 kB / 370.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.07178, allocations: 126.7 kB / 370.9 MB, free: 7.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/0.07662, allocations: 7.084 MB / 378 MB, free: 268 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.07663, allocations: 25.7 kB / 378 MB, free: 236 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.07866, allocations: 3.884 MB / 381.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.07872, allocations: 95.91 kB / 382 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004912/0.07921, allocations: 0.7905 MB / 382.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.07928, allocations: 301.1 kB / 383.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.0795, allocations: 284.2 kB / 383.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.08116, allocations: 3.542 MB / 386.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003135/0.08429, allocations: 4.847 MB / 391.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.685e-05/0.08433, allocations: 36 kB / 391.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.003812/0.08814, allocations: 3.308 MB / 395.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.08819, allocations: 55.94 kB / 395.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.745e-05/0.08826, allocations: 120 kB / 395.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.55e-05/0.08834, allocations: 152 kB / 395.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.08979, allocations: 1.076 MB / 396.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/0.08989, allocations: 235 kB / 396.7 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.09241, allocations: 0.6055 MB / 397.3 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.09257, allocations: 248 kB / 397.6 MB, free: 9.273 MB / 394.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.001419/0.09399, allocations: 0.5817 MB / 398.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/0.09454, allocations: 0.5043 MB / 398.7 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.09531, allocations: 0.7799 MB / 399.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/0.09535, allocations: 180.3 kB / 399.6 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.675e-05/0.09539, allocations: 176.3 kB / 399.8 MB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.939e-05/0.09543, allocations: 184.2 kB / 400 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.09794, allocations: 2.257 MB / 402.2 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/0.09798, allocations: 116.9 kB / 402.3 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.098, allocations: 101 kB / 402.4 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/0.09875, allocations: 0.8231 MB / 403.3 MB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.079e-05/0.09879, allocations: 184.2 kB / 403.4 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.09883, allocations: 184.2 kB / 403.6 MB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.619e-05/0.09887, allocations: 188.2 kB / 403.8 MB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.572e-05/0.0989, allocations: 176.3 kB / 404 MB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.0993, allocations: 0.7471 MB / 404.7 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/0.09962, allocations: 180.2 kB / 404.9 MB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.1, allocations: 104.9 kB / 405 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1001, allocations: 188.2 kB / 405.2 MB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.1001, allocations: 108.9 kB / 405.3 MB, free: 1.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00285/0.1029, allocations: 3.57 MB / 408.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1029, allocations: 0 / 408.9 MB, free: 13.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002761/0.1057, allocations: 1.141 MB / 410 MB, free: 12.7 MB / 410.7 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.0001504/0.1059, allocations: 159.7 kB / 410.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1074, allocations: 1.526 MB / 411.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001445/0.1075, allocations: 156.9 kB / 411.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.059e-06/0.1075, allocations: 0 / 411.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.148/0.2556, allocations: 24.45 MB / 436.3 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.2699, allocations: 13.79 MB / 450.1 MB, free: 104.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.2712, allocations: 2.141 MB / 452.2 MB, free: 104.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002067/0.2733, allocations: 1.058 MB / 453.3 MB, free: 104.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002419/0.2757, allocations: 1.748 MB / 455 MB, free: 104.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.985e-06/0.2757, allocations: 1.125 kB / 455 MB, free: 104.2 MB / 426.7 MB Notification: Performance of Templates: time 0.09803/0.3737, allocations: 95.53 MB / 0.5377 GB, free: 13.55 MB / 426.7 MB " [Timeout remaining time 660] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.699101529084146]