Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.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.001307/0.001307, allocations: 115.8 kB / 17.13 MB, free: 5.93 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.001436/0.001436, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3484/0.3484, allocations: 44.24 MB / 326.6 MB, free: 6.789 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 75.89 kB / 462.2 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2848, allocations: 61.01 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001557/0.2864, allocations: 0.5011 MB / 0.5114 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.2881, allocations: 1.157 MB / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.2881, allocations: 0 / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.2881, allocations: 0 / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.74e-06/0.2881, allocations: 0 / 0.5126 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.2899, allocations: 0.6824 MB / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.29, allocations: 0 / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.29, allocations: 1.781 kB / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.29, allocations: 0 / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.607e-05/0.29, allocations: 1.812 kB / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.29, allocations: 0 / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.2925, allocations: 2.468 MB / 0.5156 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.2925, allocations: 3.984 kB / 0.5156 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.2925, allocations: 3.938 kB / 0.5156 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.2928, allocations: 347.5 kB / 0.516 GB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.618e-05/0.2928, allocations: 0 / 0.516 GB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2928, allocations: 0 / 0.516 GB, free: 9.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2928, allocations: 0 / 0.516 GB, free: 9.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003253/0.2932, allocations: 380.7 kB / 0.5163 GB, free: 9.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.2932, allocations: 11.89 kB / 0.5164 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.2932, allocations: 38.5 kB / 0.5164 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.2932, allocations: 3.953 kB / 0.5164 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.065e-05/0.2933, allocations: 163.1 kB / 0.5165 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2933, allocations: 11.92 kB / 0.5166 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.2933, allocations: 0 / 0.5166 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.32e-05/0.2934, allocations: 29.7 kB / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2934, allocations: 0 / 0.5166 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.2934, allocations: 4 kB / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2934, allocations: 0 / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.2934, allocations: 0 / 0.5166 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.825e-05/0.2935, allocations: 149.6 kB / 0.5167 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.503e-05/0.2935, allocations: 26.5 kB / 0.5168 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.2935, allocations: 8.859 kB / 0.5168 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.2936, allocations: 4.094 kB / 0.5168 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2936, allocations: 60.27 kB / 0.5168 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2936, allocations: 0 / 0.5168 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.2937, allocations: 59.41 kB / 0.5169 GB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.2938, allocations: 85.03 kB / 0.517 GB, free: 8.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.717e-05/0.2938, allocations: 89.86 kB / 0.5171 GB, free: 8.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.2938, allocations: 25.7 kB / 0.5171 GB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.728e-06/0.2938, allocations: 84.14 kB / 0.5172 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.2938, allocations: 0 / 0.5172 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.2938, allocations: 17.84 kB / 0.5172 GB, free: 8.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.671e-05/0.2939, allocations: 310.8 kB / 0.5175 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.2939, allocations: 0 / 0.5175 GB, free: 8.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-06/0.2939, allocations: 4 kB / 0.5175 GB, free: 8.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.2939, allocations: 60.2 kB / 0.5175 GB, free: 7.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2939, allocations: 3.938 kB / 0.5175 GB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.756e-05/0.294, allocations: 71.38 kB / 0.5176 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.294, allocations: 33.7 kB / 0.5176 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.294, allocations: 8.031 kB / 0.5176 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.294, allocations: 0 / 0.5176 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.294, allocations: 0 / 0.5176 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.294, allocations: 3.938 kB / 0.5176 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.294, allocations: 0 / 0.5176 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.294, allocations: 0 / 0.5176 GB, free: 7.844 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.693e-05/0.2941, allocations: 143.5 kB / 0.5178 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.2941, allocations: 0 / 0.5178 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.776e-06/0.2941, allocations: 3.125 kB / 0.5178 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2941, allocations: 4 kB / 0.5178 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2941, allocations: 4 kB / 0.5178 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2941, allocations: 0 / 0.5178 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.373e-05/0.2941, allocations: 153.6 kB / 0.5179 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2941, allocations: 0 / 0.5179 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.2941, allocations: 0 / 0.5179 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2941, allocations: 4 kB / 0.5179 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.2942, allocations: 4 kB / 0.5179 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2942, allocations: 0 / 0.5179 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2942, allocations: 0 / 0.5179 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.378e-05/0.2942, allocations: 98.7 kB / 0.518 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.2942, allocations: 81.11 kB / 0.5181 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.2942, allocations: 0 / 0.5181 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.2943, allocations: 0 / 0.5181 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.2943, allocations: 0 / 0.5181 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.2943, allocations: 0 / 0.5181 GB, free: 7.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.262e-05/0.2943, allocations: 75.28 kB / 0.5182 GB, free: 7.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2943, allocations: 4 kB / 0.5182 GB, free: 7.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.2946, allocations: 55.77 kB / 0.5182 GB, free: 7.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001408/0.296, allocations: 1.064 MB / 0.5193 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.2961, allocations: 59.34 kB / 0.5193 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2961, allocations: 4.062 kB / 0.5193 GB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.2961, allocations: 55.41 kB / 0.5194 GB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.2962, allocations: 4 kB / 0.5194 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.2966, allocations: 146.3 kB / 0.5195 GB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.323e-05/0.2967, allocations: 0.6728 MB / 0.5202 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.22e-06/0.2967, allocations: 3.938 kB / 0.5202 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.2967, allocations: 7.438 kB / 0.5202 GB, free: 5.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2967, allocations: 0 / 0.5202 GB, free: 5.008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.32, allocations: 3.057 MB / 0.5232 GB, free: 1.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.406, allocations: 11.91 kB / 0.5232 GB, free: 1.914 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.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: 11.241202357006841]