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.001723/0.001723, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002064/0.002064, allocations: 207.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2298/0.2298, allocations: 46.95 MB / 360.9 MB, free: 4.027 MB / 286.1 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 0.002325/0.002325, allocations: 71.89 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3252, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01265/0.3379, allocations: 9.079 MB / 0.5694 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007061/0.345, allocations: 2.941 MB / 0.5723 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.3466, allocations: 79.62 kB / 0.5724 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005754/0.3523, allocations: 2.605 MB / 0.5749 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.3555, allocations: 1.109 MB / 0.576 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.3565, allocations: 271.5 kB / 0.5763 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.3595, allocations: 1.509 MB / 0.5778 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/0.3627, allocations: 1.906 MB / 0.5796 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.3646, allocations: 0.9304 MB / 0.5805 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.3698, allocations: 3.325 MB / 0.5838 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007561/0.3705, allocations: 188 kB / 0.5839 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3716, allocations: 267.8 kB / 0.5842 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.3745, allocations: 3.009 MB / 0.5871 GB, free: 8.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00312/0.3776, allocations: 2.261 MB / 0.5894 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.3886, allocations: 9.944 MB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3886, allocations: 7.938 kB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3886, allocations: 0 / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002829/0.3889, allocations: 0 / 0.5991 GB, free: 12.61 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.01516/0.404, allocations: 9.046 MB / 0.6079 GB, free: 3.465 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4041, allocations: 12.03 kB / 0.6079 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001242/0.4053, allocations: 0.6157 MB / 0.6085 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.407, allocations: 1.024 MB / 0.6095 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006931/0.4139, allocations: 3.743 MB / 0.6132 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.414, allocations: 131.1 kB / 0.6133 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.4144, allocations: 167.9 kB / 0.6135 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009676/0.424, allocations: 6.612 MB / 0.6199 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.4241, allocations: 3.938 kB / 0.6199 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.4242, allocations: 79.94 kB / 0.62 GB, free: 6.828 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00176/0.426, allocations: 1.564 MB / 0.6215 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007792/0.4338, allocations: 4.129 MB / 0.6256 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03046/0.4643, allocations: 19.22 MB / 0.6443 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.4659, allocations: 334.2 kB / 0.6446 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.466, allocations: 64.75 kB / 0.6447 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004963/0.4709, allocations: 1.792 MB / 0.6465 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/0.471, allocations: 113.8 kB / 0.6466 GB, free: 11.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.471, allocations: 0 / 0.6466 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001299/0.4723, allocations: 0.8786 MB / 0.6474 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.4724, allocations: 126.7 kB / 0.6475 GB, free: 10.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01913/0.4915, allocations: 10.75 MB / 0.658 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.4915, allocations: 25.7 kB / 0.6581 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00673/0.4983, allocations: 5.95 MB / 0.6639 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.4984, allocations: 99.89 kB / 0.664 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.4994, allocations: 0.8183 MB / 0.6648 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4996, allocations: 317 kB / 0.6651 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.5007, allocations: 0.7577 MB / 0.6658 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/0.5046, allocations: 3.995 MB / 0.6697 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/0.5104, allocations: 5.201 MB / 0.6748 GB, free: 11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.484e-05/0.5105, allocations: 36 kB / 0.6748 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009245/0.5197, allocations: 4.964 MB / 0.6797 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.5198, allocations: 59.98 kB / 0.6797 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.52, allocations: 116 kB / 0.6798 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.5201, allocations: 152 kB / 0.68 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.5228, allocations: 0.9792 MB / 0.6809 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000225/0.5231, allocations: 227.1 kB / 0.6812 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/0.5275, allocations: 0.6166 MB / 0.6818 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005226/0.5281, allocations: 291.9 kB / 0.682 GB, free: 3.562 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.005659/0.5337, allocations: 3.413 MB / 0.6854 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/0.5351, allocations: 0.9602 MB / 0.6863 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.5369, allocations: 1.026 MB / 0.6873 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.663e-05/0.537, allocations: 180.3 kB / 0.6875 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-05/0.5371, allocations: 184.2 kB / 0.6877 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.33e-05/0.5372, allocations: 184.2 kB / 0.6878 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008669/0.5458, allocations: 4.978 MB / 0.6927 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.316e-05/0.5459, allocations: 108.9 kB / 0.6928 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.5459, allocations: 105 kB / 0.6929 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.546, allocations: 176.3 kB / 0.6931 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/0.5461, allocations: 188.2 kB / 0.6933 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.09e-05/0.5462, allocations: 184.3 kB / 0.6934 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-05/0.5463, allocations: 180.2 kB / 0.6936 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.5478, allocations: 1.199 MB / 0.6948 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/0.5497, allocations: 0.87 MB / 0.6956 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007115/0.5504, allocations: 184.2 kB / 0.6958 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5514, allocations: 104.9 kB / 0.6959 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.5515, allocations: 180.3 kB / 0.6961 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.5515, allocations: 108.9 kB / 0.6962 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01391/0.5654, allocations: 7.142 MB / 0.7031 GB, free: 13.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5654, allocations: 0 / 0.7031 GB, free: 13.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005336/0.5708, allocations: 1.145 MB / 0.7043 GB, free: 12.62 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.002157/0.5729, allocations: 1.744 MB / 0.706 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003271/0.5762, allocations: 1.804 MB / 0.7077 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5762, allocations: 0.5 kB / 0.7077 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.5762, allocations: 4 kB / 0.7077 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/0.5893, allocations: 3.446 MB / 0.7111 GB, free: 5.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5721/1.161, allocations: 62.45 MB / 0.7721 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005544/1.167, allocations: 4.821 MB / 0.7768 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005285/1.172, allocations: 2.096 MB / 0.7788 GB, free: 103 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003923/1.176, allocations: 4.061 MB / 0.7828 GB, free: 98.9 MB / 0.5607 GB Notification: Performance of SimCode: time 1.373e-06/1.176, allocations: 0 / 0.7828 GB, free: 98.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2345/1.411, allocations: 162.6 MB / 0.9416 GB, free: 1.867 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.87/31.28, allocations: 0 / 0.9416 GB, free: 1.867 MB / 0.6232 GB " [Timeout remaining time 629] (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/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_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: 35.03249918203801]