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.001442/0.001442, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001149/0.001149, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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 0.887/0.887, allocations: 177 MB / 204.1 MB, free: 5.746 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.2332/0.2332, allocations: 34.23 MB / 294.8 MB, free: 0.6836 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.156e-05, allocations: 2.281 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.1781/0.1781, allocations: 9.078 MB / 451.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.1826, allocations: 2.941 MB / 454.2 MB, free: 37.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.1837, allocations: 78.53 kB / 454.2 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.1861, allocations: 2.74 MB / 457 MB, free: 36.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.1882, allocations: 1.151 MB / 458.1 MB, free: 35.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.1888, allocations: 287 kB / 458.4 MB, free: 35.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1905, allocations: 1.553 MB / 460 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.1922, allocations: 1.913 MB / 461.9 MB, free: 33.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.1934, allocations: 1.302 MB / 463.2 MB, free: 33.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.1962, allocations: 3.252 MB / 466.4 MB, free: 32.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002922/0.1965, allocations: 186.1 kB / 466.6 MB, free: 32.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005586/0.1971, allocations: 292.6 kB / 466.9 MB, free: 32.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001541/0.1986, allocations: 3.107 MB / 470 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.1997, allocations: 1.467 MB / 471.5 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.2062, allocations: 9.248 MB / 480.7 MB, free: 27.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.2062, allocations: 4.688 kB / 480.7 MB, free: 27.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2062, allocations: 0 / 480.7 MB, free: 27.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004917/0.2067, allocations: 0.8125 kB / 480.7 MB, free: 27.29 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.01325/0.2199, allocations: 8.927 MB / 489.7 MB, free: 21.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.22, allocations: 9.25 kB / 489.7 MB, free: 21.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008765/0.2208, allocations: 0.6144 MB / 490.3 MB, free: 21.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.2221, allocations: 1.029 MB / 491.3 MB, free: 20.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004853/0.227, allocations: 3.745 MB / 495.1 MB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/0.227, allocations: 127.4 kB / 495.2 MB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2272, allocations: 164.8 kB / 495.3 MB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007253/0.2344, allocations: 6.616 MB / 0.4902 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.2345, allocations: 7.25 kB / 0.4902 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.542e-05/0.2346, allocations: 78.53 kB / 0.4903 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/0.2359, allocations: 1.561 MB / 0.4918 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006292/0.2422, allocations: 4.141 MB / 0.4958 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02125/0.2634, allocations: 19.33 MB / 0.5147 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.2644, allocations: 398.8 kB / 0.5151 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.2645, allocations: 56.83 kB / 0.5151 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003803/0.2683, allocations: 1.789 MB / 0.5169 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.2683, allocations: 109.8 kB / 0.517 GB, free: 8.906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.896e-06/0.2683, allocations: 0 / 0.517 GB, free: 8.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0009737/0.2693, allocations: 0.8825 MB / 0.5179 GB, free: 8.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2694, allocations: 134.7 kB / 0.518 GB, free: 7.867 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/0.2846, allocations: 10.74 MB / 0.5285 GB, free: 13.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2846, allocations: 25.7 kB / 0.5285 GB, free: 13.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004488/0.2891, allocations: 5.934 MB / 0.5343 GB, free: 7.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2892, allocations: 91.91 kB / 0.5344 GB, free: 7.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007011/0.2899, allocations: 0.8104 MB / 0.5352 GB, free: 6.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.29, allocations: 301.1 kB / 0.5355 GB, free: 5.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/0.2908, allocations: 0.7654 MB / 0.5362 GB, free: 5.195 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.2931, allocations: 3.995 MB / 0.5401 GB, free: 15.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/0.2971, allocations: 5.209 MB / 0.5452 GB, free: 8.652 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.373e-05/0.2971, allocations: 35.94 kB / 0.5452 GB, free: 8.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006381/0.3035, allocations: 4.969 MB / 0.5501 GB, free: 3.641 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.3036, allocations: 60.06 kB / 0.5501 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.3037, allocations: 116 kB / 0.5503 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.541e-05/0.3038, allocations: 152 kB / 0.5504 GB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.3052, allocations: 0.9825 MB / 0.5514 GB, free: 2.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000116/0.3053, allocations: 230.6 kB / 0.5516 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/0.3087, allocations: 0.6166 MB / 0.5522 GB, free: 1.492 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.3089, allocations: 284 kB / 0.5525 GB, free: 1.215 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.004335/0.3132, allocations: 3.408 MB / 0.5558 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/0.3149, allocations: 0.9521 MB / 0.5567 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.3166, allocations: 1.019 MB / 0.5577 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.22e-05/0.3166, allocations: 185.5 kB / 0.5579 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-05/0.3167, allocations: 184.2 kB / 0.5581 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/0.3167, allocations: 184.3 kB / 0.5582 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/0.3234, allocations: 4.984 MB / 0.5631 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/0.3235, allocations: 109 kB / 0.5632 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.3235, allocations: 108.9 kB / 0.5633 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.022e-05/0.3235, allocations: 176.3 kB / 0.5635 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.3236, allocations: 188.2 kB / 0.5637 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.864e-05/0.3236, allocations: 176.3 kB / 0.5638 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.032e-05/0.3236, allocations: 180.2 kB / 0.564 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3248, allocations: 1.195 MB / 0.5652 GB, free: 4.004 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.326, allocations: 0.8817 MB / 0.566 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.3264, allocations: 176.3 kB / 0.5662 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.327, allocations: 108.9 kB / 0.5663 GB, free: 2.816 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.327, allocations: 180.3 kB / 0.5665 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.327, allocations: 105 kB / 0.5666 GB, free: 2.523 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00968/0.3367, allocations: 7.142 MB / 0.5735 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3367, allocations: 0 / 0.5735 GB, free: 11.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004019/0.3407, allocations: 1.141 MB / 0.5747 GB, free: 10.29 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.001415/0.3421, allocations: 1.746 MB / 0.5764 GB, free: 8.512 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.3447, allocations: 1.807 MB / 0.5781 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3447, allocations: 0 / 0.5781 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.3447, allocations: 0 / 0.5781 GB, free: 6.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008592/0.3533, allocations: 3.454 MB / 0.5815 GB, free: 3.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2382/0.5915, allocations: 62.21 MB / 0.6423 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003415/0.5949, allocations: 4.82 MB / 0.647 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003709/0.5986, allocations: 2.098 MB / 0.649 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/0.6013, allocations: 4.065 MB / 0.653 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.433e-06/0.6013, allocations: 0 / 0.653 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1538/0.7551, allocations: 161.9 MB / 0.8111 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.15, allocations: 0 / 0.8111 GB, free: 15.46 MB / 0.5417 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 19.600611594505608]