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.001774/0.001774, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002135/0.002135, allocations: 214 kB / 23.73 MB, free: 4.406 MB / 14.72 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 1.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.2278/0.2278, allocations: 46.94 MB / 360.8 MB, free: 3.914 MB / 286.1 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 0.002502/0.002502, allocations: 79.88 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3123, allocations: 66.07 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01185/0.3242, allocations: 9.071 MB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007393/0.3316, allocations: 2.949 MB / 0.5724 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.3332, allocations: 79.62 kB / 0.5725 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005318/0.3385, allocations: 2.601 MB / 0.575 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.3417, allocations: 1.121 MB / 0.5761 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.3424, allocations: 255.6 kB / 0.5764 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.3448, allocations: 1.517 MB / 0.5779 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.3472, allocations: 1.906 MB / 0.5797 GB, free: 440 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.3486, allocations: 0.9266 MB / 0.5806 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.3532, allocations: 3.325 MB / 0.5839 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006616/0.3539, allocations: 184 kB / 0.584 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000856/0.3548, allocations: 271.8 kB / 0.5843 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.3574, allocations: 3.009 MB / 0.5872 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002675/0.3601, allocations: 2.269 MB / 0.5895 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.3713, allocations: 9.944 MB / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.3713, allocations: 0 / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.3713, allocations: 0 / 0.5992 GB, free: 12.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000379/0.3716, allocations: 0 / 0.5992 GB, free: 12.42 MB / 446.1 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.01854/0.3902, allocations: 9.042 MB / 0.608 GB, free: 3.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3902, allocations: 8.031 kB / 0.608 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001533/0.3918, allocations: 0.6196 MB / 0.6086 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.3936, allocations: 1.024 MB / 0.6096 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008021/0.4017, allocations: 3.743 MB / 0.6133 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.4018, allocations: 131.1 kB / 0.6134 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004169/0.4022, allocations: 167.9 kB / 0.6136 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.4129, allocations: 6.612 MB / 0.62 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-05/0.413, allocations: 11.94 kB / 0.62 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.4133, allocations: 71.94 kB / 0.6201 GB, free: 6.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.4153, allocations: 1.568 MB / 0.6216 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008248/0.4235, allocations: 4.133 MB / 0.6257 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03462/0.4581, allocations: 19.22 MB / 0.6444 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.4598, allocations: 338.2 kB / 0.6447 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.4599, allocations: 59.02 kB / 0.6448 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004959/0.4649, allocations: 1.8 MB / 0.6466 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.465, allocations: 109.8 kB / 0.6467 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 6.132e-06/0.465, allocations: 3.984 kB / 0.6467 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001508/0.4665, allocations: 0.8786 MB / 0.6475 GB, free: 10.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.4666, allocations: 130.7 kB / 0.6476 GB, free: 10.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01967/0.4862, allocations: 10.75 MB / 0.6581 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4862, allocations: 25.7 kB / 0.6582 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.006565/0.4928, allocations: 5.954 MB / 0.664 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.493, allocations: 91.91 kB / 0.6641 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.4942, allocations: 0.8261 MB / 0.6649 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4944, allocations: 305.1 kB / 0.6652 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.4956, allocations: 0.7616 MB / 0.6659 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/0.4995, allocations: 4.003 MB / 0.6698 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00618/0.5056, allocations: 5.201 MB / 0.6749 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/0.5058, allocations: 32 kB / 0.6749 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009224/0.515, allocations: 4.964 MB / 0.6798 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.5151, allocations: 56 kB / 0.6798 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/0.5153, allocations: 116 kB / 0.6799 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.5155, allocations: 152 kB / 0.6801 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.5181, allocations: 0.9825 MB / 0.681 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002013/0.5183, allocations: 227.1 kB / 0.6813 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/0.5221, allocations: 0.6247 MB / 0.6819 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004512/0.5226, allocations: 287.9 kB / 0.6821 GB, free: 3.375 MB / 0.5137 GB 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.005058/0.5276, allocations: 3.405 MB / 0.6855 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/0.5289, allocations: 0.9561 MB / 0.6864 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.5308, allocations: 1.03 MB / 0.6874 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-05/0.5309, allocations: 176.3 kB / 0.6876 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-05/0.531, allocations: 184.3 kB / 0.6878 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.194e-05/0.531, allocations: 184.2 kB / 0.6879 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.5419, allocations: 4.978 MB / 0.6928 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.429e-05/0.542, allocations: 112.9 kB / 0.6929 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.542, allocations: 101 kB / 0.693 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-05/0.5421, allocations: 176.3 kB / 0.6932 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.306e-05/0.5422, allocations: 184.2 kB / 0.6933 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.644e-05/0.5423, allocations: 180.2 kB / 0.6935 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.368e-05/0.5424, allocations: 184.2 kB / 0.6937 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.5438, allocations: 1.199 MB / 0.6949 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/0.5457, allocations: 0.8739 MB / 0.6957 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/0.5468, allocations: 176.3 kB / 0.6959 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.5481, allocations: 116.8 kB / 0.696 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.5481, allocations: 180.3 kB / 0.6962 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.5482, allocations: 108.9 kB / 0.6963 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01414/0.5623, allocations: 7.142 MB / 0.7032 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5623, allocations: 0 / 0.7032 GB, free: 13.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004726/0.5671, allocations: 1.141 MB / 0.7044 GB, free: 12.45 MB / 0.545 GB 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.002066/0.5691, allocations: 1.748 MB / 0.7061 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00345/0.5726, allocations: 1.8 MB / 0.7078 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5726, allocations: 0.875 kB / 0.7078 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.5726, allocations: 0 / 0.7078 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01478/0.5874, allocations: 3.447 MB / 0.7112 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5692/1.157, allocations: 62.44 MB / 0.7722 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006077/1.163, allocations: 4.827 MB / 0.7769 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005296/1.168, allocations: 2.097 MB / 0.7789 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004099/1.172, allocations: 4.061 MB / 0.7829 GB, free: 98.65 MB / 0.5607 GB Notification: Performance of SimCode: time 1.613e-06/1.172, allocations: 0 / 0.7829 GB, free: 98.65 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.24/1.412, allocations: 162.6 MB / 0.9417 GB, free: 1.578 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.28/31.69, allocations: 7.484 kB / 0.9417 GB, free: 1.574 MB / 0.6232 GB " [Timeout remaining time 628] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/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: 34.90844305790961]