Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008283/0.0008283, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8874/0.8874, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 34.25 MB / 294.9 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.852e-05, allocations: 7.125 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.1737/0.1737, allocations: 9.077 MB / 451.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.178, allocations: 2.942 MB / 454.2 MB, free: 37.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009898/0.1789, allocations: 79.69 kB / 454.3 MB, free: 37.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.1812, allocations: 2.73 MB / 457 MB, free: 36.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.1828, allocations: 1.163 MB / 458.2 MB, free: 35.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1832, allocations: 287.5 kB / 458.4 MB, free: 35.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009186/0.1841, allocations: 1.553 MB / 460 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1852, allocations: 1.909 MB / 461.9 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.186, allocations: 1.304 MB / 463.2 MB, free: 33.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.1882, allocations: 3.247 MB / 466.5 MB, free: 32.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.1884, allocations: 187.4 kB / 466.6 MB, free: 32.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.1888, allocations: 296 kB / 466.9 MB, free: 32.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.1898, allocations: 3.099 MB / 470 MB, free: 31.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007656/0.1906, allocations: 1.467 MB / 471.5 MB, free: 30.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.1954, allocations: 9.251 MB / 480.7 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.1954, allocations: 3.938 kB / 480.7 MB, free: 27.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1954, allocations: 0 / 480.7 MB, free: 27.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004199/0.1958, allocations: 5.094 kB / 480.7 MB, free: 27.38 MB / 410.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.01157/0.2074, allocations: 8.919 MB / 489.7 MB, free: 21.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.2074, allocations: 9.594 kB / 489.7 MB, free: 21.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008241/0.2082, allocations: 0.6179 MB / 490.3 MB, free: 21.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.2094, allocations: 1.025 MB / 491.3 MB, free: 20.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.2143, allocations: 3.745 MB / 495.1 MB, free: 18.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.2144, allocations: 129.6 kB / 495.2 MB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2145, allocations: 163.9 kB / 495.4 MB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006666/0.2212, allocations: 6.611 MB / 0.4902 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.2212, allocations: 7.281 kB / 0.4902 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.2213, allocations: 77.94 kB / 0.4903 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.2225, allocations: 1.57 MB / 0.4918 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00546/0.2279, allocations: 4.141 MB / 0.4959 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.2473, allocations: 19.33 MB / 0.5147 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.2483, allocations: 398.2 kB / 0.5151 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.2483, allocations: 56.83 kB / 0.5152 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003482/0.2518, allocations: 1.797 MB / 0.5169 GB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.2519, allocations: 105.8 kB / 0.517 GB, free: 9.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.2519, allocations: 0 / 0.517 GB, free: 9.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0008668/0.2527, allocations: 0.8786 MB / 0.5179 GB, free: 8.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.2528, allocations: 130.7 kB / 0.518 GB, free: 7.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/0.2656, allocations: 10.75 MB / 0.5285 GB, free: 13.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.2656, allocations: 29.7 kB / 0.5285 GB, free: 13.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004262/0.2699, allocations: 5.934 MB / 0.5343 GB, free: 7.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.27, allocations: 91.89 kB / 0.5344 GB, free: 7.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/0.2706, allocations: 0.8104 MB / 0.5352 GB, free: 6.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.2707, allocations: 305.1 kB / 0.5355 GB, free: 6.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/0.2715, allocations: 0.761 MB / 0.5362 GB, free: 5.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.2735, allocations: 3.999 MB / 0.5401 GB, free: 15.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/0.277, allocations: 5.201 MB / 0.5452 GB, free: 8.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.677e-05/0.277, allocations: 39.94 kB / 0.5453 GB, free: 8.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006177/0.2832, allocations: 4.964 MB / 0.5501 GB, free: 3.758 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.2833, allocations: 56 kB / 0.5502 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-05/0.2833, allocations: 116.1 kB / 0.5503 GB, free: 3.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.735e-05/0.2834, allocations: 156 kB / 0.5504 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.2848, allocations: 0.9825 MB / 0.5514 GB, free: 2.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/0.2849, allocations: 227.1 kB / 0.5516 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/0.2882, allocations: 0.6166 MB / 0.5522 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.2884, allocations: 292 kB / 0.5525 GB, free: 1.324 MB / 458.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.004477/0.2929, allocations: 3.405 MB / 0.5558 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/0.2943, allocations: 0.9521 MB / 0.5567 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.2959, allocations: 1.023 MB / 0.5577 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/0.2959, allocations: 176.3 kB / 0.5579 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-05/0.296, allocations: 180.3 kB / 0.5581 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/0.296, allocations: 187.7 kB / 0.5583 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.3022, allocations: 4.986 MB / 0.5631 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.3022, allocations: 114 kB / 0.5632 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.3023, allocations: 105 kB / 0.5633 GB, free: 6.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.116e-05/0.3023, allocations: 176.3 kB / 0.5635 GB, free: 5.902 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.3024, allocations: 184.2 kB / 0.5637 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-05/0.3024, allocations: 180.2 kB / 0.5638 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-05/0.3024, allocations: 182.7 kB / 0.564 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.3039, allocations: 1.195 MB / 0.5652 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.3053, allocations: 0.8778 MB / 0.566 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007079/0.3061, allocations: 176.3 kB / 0.5662 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.3067, allocations: 108.9 kB / 0.5663 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3068, allocations: 185.6 kB / 0.5665 GB, free: 2.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3068, allocations: 107 kB / 0.5666 GB, free: 2.641 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009873/0.3167, allocations: 7.142 MB / 0.5736 GB, free: 11.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3167, allocations: 3.938 kB / 0.5736 GB, free: 11.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003793/0.3205, allocations: 1.141 MB / 0.5747 GB, free: 10.4 MB / 490.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.001558/0.322, allocations: 1.744 MB / 0.5764 GB, free: 8.621 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.3242, allocations: 1.804 MB / 0.5782 GB, free: 6.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.3242, allocations: 0 / 0.5782 GB, free: 6.844 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/0.3242, allocations: 3.984 kB / 0.5782 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009212/0.3334, allocations: 3.443 MB / 0.5815 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2472/0.5806, allocations: 62.21 MB / 0.6423 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/0.5837, allocations: 4.827 MB / 0.647 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003483/0.5871, allocations: 2.096 MB / 0.649 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/0.5892, allocations: 4.061 MB / 0.653 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/0.5892, allocations: 0 / 0.653 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/0.727, allocations: 161.9 MB / 0.8112 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.42, allocations: 7.891 kB / 0.8112 GB, free: 7.207 MB / 0.5417 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.84129524230957]