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.001271/0.001271, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00143/0.00143, allocations: 207.1 kB / 23.73 MB, free: 4.379 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.403/1.403, 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.225/0.225, allocations: 46.96 MB / 360.9 MB, free: 4.004 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.002032/0.002032, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 66.03 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01129/0.3345, allocations: 9.075 MB / 0.5694 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006594/0.3411, allocations: 2.945 MB / 0.5723 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.3426, allocations: 75.69 kB / 0.5724 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005419/0.348, allocations: 2.601 MB / 0.5749 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.3514, allocations: 1.14 MB / 0.576 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.3522, allocations: 267.5 kB / 0.5763 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.3545, allocations: 1.502 MB / 0.5778 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.3567, allocations: 1.917 MB / 0.5796 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.3582, allocations: 0.9303 MB / 0.5805 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004447/0.3626, allocations: 3.439 MB / 0.5839 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004901/0.3631, allocations: 184 kB / 0.5841 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006986/0.3638, allocations: 275.8 kB / 0.5843 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002614/0.3664, allocations: 3.005 MB / 0.5873 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002518/0.3689, allocations: 2.269 MB / 0.5895 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.3808, allocations: 9.944 MB / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.3809, allocations: 0 / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3809, allocations: 0 / 0.5992 GB, free: 12.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004105/0.3813, allocations: 0 / 0.5992 GB, free: 12.45 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.01669/0.398, allocations: 9.043 MB / 0.608 GB, free: 3.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.398, allocations: 8.031 kB / 0.608 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/0.399, allocations: 0.6157 MB / 0.6086 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.4004, allocations: 1.028 MB / 0.6096 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006655/0.4071, allocations: 3.747 MB / 0.6133 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.4072, allocations: 135.1 kB / 0.6134 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/0.4075, allocations: 175.8 kB / 0.6136 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009903/0.4174, allocations: 6.608 MB / 0.6201 GB, free: 6.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.522e-05/0.4174, allocations: 11.88 kB / 0.6201 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.4176, allocations: 67.95 kB / 0.6201 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001773/0.4194, allocations: 1.561 MB / 0.6217 GB, free: 5.105 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007575/0.427, allocations: 4.133 MB / 0.6257 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.4577, allocations: 19.22 MB / 0.6445 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.4592, allocations: 338.2 kB / 0.6448 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4593, allocations: 56.83 kB / 0.6448 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004492/0.4638, allocations: 1.8 MB / 0.6466 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/0.4638, allocations: 105.8 kB / 0.6467 GB, free: 11.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.4638, allocations: 0 / 0.6467 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001033/0.4649, allocations: 0.8825 MB / 0.6476 GB, free: 10.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.4649, allocations: 130.7 kB / 0.6477 GB, free: 10.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01737/0.4823, allocations: 10.75 MB / 0.6582 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4823, allocations: 25.7 kB / 0.6582 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007344/0.4897, allocations: 5.962 MB / 0.664 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.4898, allocations: 91.89 kB / 0.6641 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.491, allocations: 0.8222 MB / 0.6649 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4911, allocations: 304.9 kB / 0.6652 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.4922, allocations: 0.7616 MB / 0.6659 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003832/0.496, allocations: 3.999 MB / 0.6699 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/0.5018, allocations: 5.201 MB / 0.6749 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.561e-05/0.5019, allocations: 32 kB / 0.675 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008615/0.5105, allocations: 4.964 MB / 0.6798 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.5106, allocations: 59.94 kB / 0.6799 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/0.5107, allocations: 116 kB / 0.68 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.5108, allocations: 160 kB / 0.6801 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.5133, allocations: 0.9824 MB / 0.6811 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000182/0.5134, allocations: 223.2 kB / 0.6813 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/0.5169, allocations: 0.6204 MB / 0.6819 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.5173, allocations: 288 kB / 0.6822 GB, free: 3.406 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.005285/0.5225, allocations: 3.413 MB / 0.6855 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/0.524, allocations: 0.9561 MB / 0.6864 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.526, allocations: 1.026 MB / 0.6875 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/0.5261, allocations: 180.3 kB / 0.6876 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001094/0.5262, allocations: 192.2 kB / 0.6878 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.771e-05/0.5263, allocations: 180.2 kB / 0.688 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00951/0.5358, allocations: 4.978 MB / 0.6928 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.755e-05/0.5359, allocations: 109 kB / 0.6929 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.5359, allocations: 105 kB / 0.693 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.366e-05/0.536, allocations: 180.2 kB / 0.6932 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.5361, allocations: 184.2 kB / 0.6934 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.66e-05/0.5362, allocations: 180.2 kB / 0.6936 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.796e-05/0.5363, allocations: 176.3 kB / 0.6937 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.5377, allocations: 1.199 MB / 0.6949 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.5394, allocations: 0.8739 MB / 0.6958 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/0.54, allocations: 188.1 kB / 0.6959 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007846/0.5408, allocations: 109 kB / 0.696 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.5408, allocations: 180.2 kB / 0.6962 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.5409, allocations: 108.9 kB / 0.6963 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01383/0.5547, allocations: 7.138 MB / 0.7033 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5547, allocations: 0 / 0.7033 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005306/0.56, allocations: 1.137 MB / 0.7044 GB, free: 12.47 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.001961/0.562, allocations: 1.744 MB / 0.7061 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003414/0.5654, allocations: 1.808 MB / 0.7079 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5654, allocations: 0 / 0.7079 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-06/0.5654, allocations: 0 / 0.7079 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01288/0.5783, allocations: 3.47 MB / 0.7113 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5779/1.156, allocations: 62.44 MB / 0.7722 GB, free: 109.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005683/1.162, allocations: 4.826 MB / 0.7769 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004974/1.167, allocations: 2.094 MB / 0.779 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003942/1.171, allocations: 4.057 MB / 0.7829 GB, free: 98.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.713e-06/1.171, allocations: 3.906 kB / 0.7829 GB, free: 98.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2327/1.403, allocations: 164.2 MB / 0.9433 GB, free: 244 kB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.78/30.18, allocations: 3.984 kB / 0.9433 GB, free: 240 kB / 0.6232 GB " [Timeout remaining time 630] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.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_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: 33.21166617900599]