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.0008399/0.0008399, 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.0008405/0.0008405, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8811/0.8811, allocations: 177 MB / 204.1 MB, free: 5.738 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.2422/0.2422, allocations: 34.23 MB / 294.8 MB, free: 0.6953 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 1.322e-06/1.322e-06, allocations: 0 / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.974e-05, allocations: 2.281 kB / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.1837/0.1837, allocations: 9.082 MB / 451.2 MB, free: 39.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.1871, allocations: 2.94 MB / 454.2 MB, free: 37.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005514/0.1876, allocations: 80.84 kB / 454.2 MB, free: 37.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.1896, allocations: 2.741 MB / 457 MB, free: 36.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1907, allocations: 1.146 MB / 458.1 MB, free: 35.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.191, allocations: 298.8 kB / 458.4 MB, free: 35.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006733/0.1917, allocations: 1.553 MB / 460 MB, free: 34.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009816/0.1927, allocations: 1.908 MB / 461.9 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007096/0.1934, allocations: 1.301 MB / 463.2 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.1953, allocations: 3.255 MB / 466.4 MB, free: 32.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.1954, allocations: 187.2 kB / 466.6 MB, free: 32.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.1957, allocations: 293.5 kB / 466.9 MB, free: 32.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.1967, allocations: 3.1 MB / 470 MB, free: 31.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006723/0.1974, allocations: 1.458 MB / 471.5 MB, free: 30.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004256/0.2017, allocations: 9.258 MB / 480.7 MB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2017, allocations: 1.25 kB / 480.7 MB, free: 27.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2017, allocations: 0 / 480.7 MB, free: 27.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.2018, allocations: 3.984 kB / 480.7 MB, free: 27.25 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.007835/0.2096, allocations: 8.926 MB / 489.7 MB, free: 21.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.2097, allocations: 9.266 kB / 489.7 MB, free: 21.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005641/0.2102, allocations: 0.6179 MB / 490.3 MB, free: 21.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.2113, allocations: 1.025 MB / 491.3 MB, free: 20.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.2153, allocations: 3.742 MB / 495 MB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.2153, allocations: 135.7 kB / 495.2 MB, free: 18.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.2155, allocations: 164.5 kB / 495.3 MB, free: 17.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005429/0.2209, allocations: 6.616 MB / 0.4902 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.221, allocations: 9.688 kB / 0.4902 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.2211, allocations: 74.78 kB / 0.4903 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/0.2222, allocations: 1.557 MB / 0.4918 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.2261, allocations: 4.14 MB / 0.4958 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.2398, allocations: 19.33 MB / 0.5147 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.2407, allocations: 406.1 kB / 0.5151 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.2407, allocations: 52.83 kB / 0.5151 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002343/0.2431, allocations: 1.789 MB / 0.5169 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.2431, allocations: 113.9 kB / 0.517 GB, free: 8.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.2431, allocations: 1.734 kB / 0.517 GB, free: 8.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0006809/0.2438, allocations: 0.8825 MB / 0.5179 GB, free: 7.996 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2439, allocations: 130.6 kB / 0.518 GB, free: 7.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008489/0.2523, allocations: 10.74 MB / 0.5285 GB, free: 13.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.2524, allocations: 25.7 kB / 0.5285 GB, free: 13.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002976/0.2553, allocations: 5.93 MB / 0.5343 GB, free: 7.168 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.2554, allocations: 95.91 kB / 0.5344 GB, free: 7.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/0.2559, allocations: 0.8065 MB / 0.5352 GB, free: 6.254 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.2559, allocations: 305.1 kB / 0.5355 GB, free: 5.953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.2566, allocations: 0.7616 MB / 0.5362 GB, free: 5.184 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.2587, allocations: 4.003 MB / 0.5401 GB, free: 15.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002932/0.2616, allocations: 5.197 MB / 0.5452 GB, free: 8.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-05/0.2616, allocations: 35.94 kB / 0.5452 GB, free: 8.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004149/0.2658, allocations: 4.963 MB / 0.5501 GB, free: 3.637 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.2658, allocations: 59.94 kB / 0.5501 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.869e-05/0.2659, allocations: 123.4 kB / 0.5503 GB, free: 3.461 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-05/0.2659, allocations: 152.6 kB / 0.5504 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.2673, allocations: 0.9824 MB / 0.5514 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/0.2674, allocations: 231.1 kB / 0.5516 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.2693, allocations: 0.6127 MB / 0.5522 GB, free: 1.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.2695, allocations: 288 kB / 0.5525 GB, free: 1.203 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.003479/0.273, allocations: 3.408 MB / 0.5558 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/0.2735, allocations: 0.9568 MB / 0.5567 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.2743, allocations: 1.019 MB / 0.5577 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/0.2743, allocations: 184.2 kB / 0.5579 GB, free: 11.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.16e-05/0.2744, allocations: 176.3 kB / 0.5581 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.701e-05/0.2744, allocations: 181.1 kB / 0.5582 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.2784, allocations: 4.993 MB / 0.5631 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.2784, allocations: 101 kB / 0.5632 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.2784, allocations: 108.9 kB / 0.5633 GB, free: 5.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.235e-05/0.2785, allocations: 188.2 kB / 0.5635 GB, free: 5.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.2785, allocations: 177.9 kB / 0.5637 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.436e-05/0.2786, allocations: 180.2 kB / 0.5638 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.606e-05/0.2786, allocations: 180.3 kB / 0.564 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.2794, allocations: 1.203 MB / 0.5652 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008137/0.2802, allocations: 0.87 MB / 0.566 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/0.2805, allocations: 187.1 kB / 0.5662 GB, free: 2.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.281, allocations: 101 kB / 0.5663 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.281, allocations: 188.1 kB / 0.5665 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.2811, allocations: 105 kB / 0.5666 GB, free: 2.516 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006242/0.2873, allocations: 7.138 MB / 0.5735 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2873, allocations: 4 kB / 0.5735 GB, free: 11.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002347/0.2897, allocations: 1.137 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.0007797/0.2904, allocations: 1.748 MB / 0.5764 GB, free: 8.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.2921, allocations: 1.808 MB / 0.5781 GB, free: 6.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2921, allocations: 0 / 0.5781 GB, free: 6.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.165e-06/0.2921, allocations: 0 / 0.5781 GB, free: 6.719 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/0.299, allocations: 3.448 MB / 0.5815 GB, free: 3.316 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2086/0.5076, allocations: 62.21 MB / 0.6423 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/0.5107, allocations: 4.825 MB / 0.647 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003541/0.5143, allocations: 2.1 MB / 0.649 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/0.5163, allocations: 4.059 MB / 0.653 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/0.5163, allocations: 3.609 kB / 0.653 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.6508, allocations: 161.9 MB / 0.8111 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.67, allocations: 7.906 kB / 0.8111 GB, free: 15.45 MB / 0.5417 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 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.csv","/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: 17.794179738499224]