Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005381/0.006661, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002207, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9531/0.9531, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.181/1.134, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1354/0.1354, allocations: 32.79 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02007/0.1554, allocations: 12.54 MB / 284.5 MB, free: 9.703 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.502e-05, allocations: 2.312 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.00797/0.007985, allocations: 9.852 MB / 295.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.01313, allocations: 3.121 MB / 298.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.01406, allocations: 79.62 kB / 298.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.01657, allocations: 2.706 MB / 301.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.01817, allocations: 1.127 MB / 302.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.01859, allocations: 275.4 kB / 303 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001123/0.01971, allocations: 1.559 MB / 304.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.02107, allocations: 1.934 MB / 306.5 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.02365, allocations: 3.229 MB / 309.7 MB, free: 408 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.02439, allocations: 0.9737 MB / 310.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.02459, allocations: 188 kB / 310.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.02501, allocations: 295.8 kB / 311.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.02634, allocations: 2.991 MB / 314.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007927/0.02713, allocations: 1.298 MB / 315.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.03063, allocations: 6.434 MB / 321.9 MB, free: 4.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.03063, allocations: 4 kB / 321.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.03064, allocations: 0 / 321.9 MB, free: 4.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.505e-05/0.03072, allocations: 0 / 321.9 MB, free: 4.176 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.1505/0.1812, allocations: 10.36 MB / 332.2 MB, free: 26.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1812, allocations: 9.656 kB / 332.3 MB, free: 26.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.1821, allocations: 0.5572 MB / 332.8 MB, free: 26.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005728/0.1878, allocations: 5.164 MB / 338 MB, free: 24.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.1879, allocations: 130.3 kB / 338.1 MB, free: 24.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.1881, allocations: 165 kB / 338.3 MB, free: 24.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.1908, allocations: 2.84 MB / 341.1 MB, free: 23.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.1908, allocations: 6.844 kB / 341.1 MB, free: 23.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.1909, allocations: 77.94 kB / 341.2 MB, free: 23.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.192, allocations: 1.435 MB / 342.6 MB, free: 22.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.1937, allocations: 1.335 MB / 344 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.2049, allocations: 15.61 MB / 359.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.206, allocations: 338 kB / 359.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.2061, allocations: 32.83 kB / 359.9 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.2082, allocations: 2.098 MB / 362 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2083, allocations: 105.8 kB / 362.1 MB, free: 3.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.2083, allocations: 4 kB / 362.1 MB, free: 3.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004048/0.2087, allocations: 445 kB / 362.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.2087, allocations: 130.7 kB / 362.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/0.2142, allocations: 7.088 MB / 369.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2143, allocations: 25.7 kB / 369.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.2162, allocations: 3.886 MB / 373.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.2162, allocations: 91.91 kB / 373.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.2168, allocations: 0.7944 MB / 374.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.2169, allocations: 305.1 kB / 374.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2171, allocations: 276.2 kB / 375.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.219, allocations: 3.541 MB / 378.7 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/0.2225, allocations: 4.852 MB / 383.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.2226, allocations: 36 kB / 383.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00305/0.2256, allocations: 3.307 MB / 386.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.2257, allocations: 64.19 kB / 387 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.478e-05/0.2257, allocations: 116 kB / 387.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.792e-05/0.2258, allocations: 152 kB / 387.2 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.2272, allocations: 1.084 MB / 388.3 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001113/0.2273, allocations: 223.2 kB / 388.5 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.2291, allocations: 0.6076 MB / 389.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004865/0.2296, allocations: 257.4 kB / 389.4 MB, free: 4.621 MB / 346.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.001117/0.2307, allocations: 0.5668 MB / 389.9 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.2311, allocations: 0.5106 MB / 390.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005673/0.2316, allocations: 0.7722 MB / 391.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/0.2317, allocations: 180.9 kB / 391.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/0.2317, allocations: 184.2 kB / 391.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.2318, allocations: 184.2 kB / 391.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.2337, allocations: 2.265 MB / 394 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.2337, allocations: 101 kB / 394.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.2337, allocations: 101 kB / 394.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005658/0.2343, allocations: 0.8305 MB / 395.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.756e-05/0.2343, allocations: 180.3 kB / 395.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.2344, allocations: 184.1 kB / 395.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-05/0.2344, allocations: 179.1 kB / 395.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-05/0.2345, allocations: 185.7 kB / 395.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.2348, allocations: 0.7471 MB / 396.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000543/0.2354, allocations: 187.7 kB / 396.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.2358, allocations: 109 kB / 396.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.2359, allocations: 184.2 kB / 397 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.2359, allocations: 104.9 kB / 397.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002447/0.2383, allocations: 3.57 MB / 400.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2383, allocations: 0 / 400.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002161/0.2405, allocations: 1.149 MB / 401.8 MB, free: 8.062 MB / 362.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.0001447/0.2406, allocations: 147.7 kB / 401.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.2418, allocations: 1.539 MB / 403.5 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001352/0.242, allocations: 160.1 kB / 403.6 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/0.242, allocations: 2.156 kB / 403.6 MB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01234/0.2543, allocations: 24.47 MB / 428.1 MB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.2678, allocations: 13.8 MB / 441.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.2693, allocations: 2.139 MB / 444 MB, free: 9.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002468/0.2717, allocations: 1.059 MB / 445.1 MB, free: 7.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00243/0.2742, allocations: 1.748 MB / 446.9 MB, free: 6.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2742, allocations: 7.938 kB / 446.9 MB, free: 6.172 MB / 410.7 MB Notification: Performance of Templates: time 0.2381/0.5123, allocations: 95.58 MB / 0.5297 GB, free: 130.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.592473365366459]