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.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.001122/0.001122, allocations: 79.69 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.001052/0.001052, allocations: 170 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.8604/0.8604, 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.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.2187/0.2187, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.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.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_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.343e-05, allocations: 2.281 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.1559/0.1559, allocations: 9.076 MB / 448.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.1592, allocations: 2.946 MB / 451.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.1597, allocations: 76.28 kB / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.1617, allocations: 2.739 MB / 454.4 MB, free: 38.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1627, allocations: 1.151 MB / 455.6 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.163, allocations: 291.9 kB / 455.8 MB, free: 38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.1637, allocations: 1.553 MB / 457.4 MB, free: 37.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1647, allocations: 1.914 MB / 459.3 MB, free: 36.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006705/0.1654, allocations: 1.299 MB / 460.6 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.1672, allocations: 3.25 MB / 463.9 MB, free: 35.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.1673, allocations: 189.7 kB / 464 MB, free: 35.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.1676, allocations: 299.5 kB / 464.3 MB, free: 35.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009437/0.1686, allocations: 3.097 MB / 467.4 MB, free: 33.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006344/0.1692, allocations: 1.461 MB / 468.9 MB, free: 33.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.1734, allocations: 9.254 MB / 478.2 MB, free: 29.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1734, allocations: 0 / 478.2 MB, free: 29.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1734, allocations: 0 / 478.2 MB, free: 29.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004509/0.1739, allocations: 4 kB / 478.2 MB, free: 29.76 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.01533/0.1892, allocations: 8.925 MB / 487.1 MB, free: 23.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.1893, allocations: 9.844 kB / 487.1 MB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001465/0.1907, allocations: 0.6186 MB / 487.7 MB, free: 23.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.1928, allocations: 1.024 MB / 488.7 MB, free: 22.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007092/0.1999, allocations: 3.741 MB / 492.5 MB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.2, allocations: 131 kB / 492.6 MB, free: 20.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.2002, allocations: 165.2 kB / 492.8 MB, free: 20.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007238/0.2075, allocations: 6.617 MB / 499.4 MB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.2075, allocations: 7.281 kB / 499.4 MB, free: 17.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.2076, allocations: 75.19 kB / 499.5 MB, free: 17.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001308/0.2089, allocations: 1.565 MB / 0.4893 GB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005971/0.2149, allocations: 4.148 MB / 0.4933 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02248/0.2374, allocations: 19.32 MB / 0.5122 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2384, allocations: 403.8 kB / 0.5126 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.2384, allocations: 60.77 kB / 0.5126 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003719/0.2422, allocations: 1.792 MB / 0.5144 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2422, allocations: 109.8 kB / 0.5145 GB, free: 12.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.2422, allocations: 0 / 0.5145 GB, free: 12.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.001045/0.2433, allocations: 0.8786 MB / 0.5154 GB, free: 11.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.2433, allocations: 126.7 kB / 0.5155 GB, free: 11.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/0.2578, allocations: 10.75 MB / 0.526 GB, free: 1.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2578, allocations: 29.7 kB / 0.526 GB, free: 1.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005176/0.263, allocations: 5.929 MB / 0.5318 GB, free: 11.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.2631, allocations: 95.89 kB / 0.5319 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/0.2637, allocations: 0.8104 MB / 0.5327 GB, free: 10.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.2638, allocations: 301.1 kB / 0.533 GB, free: 9.836 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.2645, allocations: 0.7577 MB / 0.5337 GB, free: 9.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.2667, allocations: 4.003 MB / 0.5376 GB, free: 3.383 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.2701, allocations: 5.201 MB / 0.5427 GB, free: 12.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-05/0.2701, allocations: 35.94 kB / 0.5427 GB, free: 12.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.005388/0.2755, allocations: 4.964 MB / 0.5476 GB, free: 7.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.2756, allocations: 56 kB / 0.5476 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-05/0.2756, allocations: 120.1 kB / 0.5477 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.438e-05/0.2757, allocations: 156 kB / 0.5479 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.277, allocations: 0.9864 MB / 0.5489 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001001/0.2771, allocations: 223.1 kB / 0.5491 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.2794, allocations: 0.6127 MB / 0.5497 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.2796, allocations: 292 kB / 0.5499 GB, free: 5.086 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.003667/0.2832, allocations: 3.405 MB / 0.5533 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/0.2838, allocations: 0.9521 MB / 0.5542 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.2845, allocations: 1.023 MB / 0.5552 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/0.2846, allocations: 180.3 kB / 0.5554 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.021e-05/0.2846, allocations: 179.6 kB / 0.5555 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.805e-05/0.2846, allocations: 184.2 kB / 0.5557 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/0.2887, allocations: 4.982 MB / 0.5606 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/0.2888, allocations: 112.9 kB / 0.5607 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.2888, allocations: 101.1 kB / 0.5608 GB, free: 9.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.493e-05/0.2888, allocations: 186.2 kB / 0.561 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.2889, allocations: 180.2 kB / 0.5611 GB, free: 9.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.991e-05/0.2889, allocations: 176.3 kB / 0.5613 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.594e-05/0.289, allocations: 188.2 kB / 0.5615 GB, free: 9.109 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.2895, allocations: 1.203 MB / 0.5627 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007286/0.2903, allocations: 0.87 MB / 0.5635 GB, free: 6.992 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.2906, allocations: 180.3 kB / 0.5637 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.2911, allocations: 108.9 kB / 0.5638 GB, free: 6.695 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.2911, allocations: 180.2 kB / 0.564 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.2911, allocations: 115.2 kB / 0.5641 GB, free: 6.395 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006347/0.2975, allocations: 7.138 MB / 0.571 GB, free: 15.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2975, allocations: 0 / 0.571 GB, free: 15.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002344/0.2998, allocations: 1.141 MB / 0.5722 GB, free: 14.16 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.0008266/0.3006, allocations: 1.744 MB / 0.5739 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.3023, allocations: 1.804 MB / 0.5756 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3023, allocations: 0 / 0.5756 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3023, allocations: 0 / 0.5756 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006239/0.3085, allocations: 3.457 MB / 0.579 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/0.5196, allocations: 62.21 MB / 0.6397 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/0.523, allocations: 4.812 MB / 0.6444 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003452/0.5264, allocations: 2.102 MB / 0.6465 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/0.5285, allocations: 4.058 MB / 0.6505 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/0.5285, allocations: 3.906 kB / 0.6505 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1452/0.6737, allocations: 162 MB / 0.8086 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/17.53, allocations: 0 / 0.8086 GB, free: 2.133 MB / 0.5261 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 19.918063711374998]