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.00139/0.00139, allocations: 118.9 kB / 17.83 MB, free: 5.242 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.001748/0.001748, allocations: 203 kB / 20.79 MB, free: 2.297 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.506/1.506, allocations: 207.6 MB / 231.2 MB, free: 4.094 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.3261/0.3261, allocations: 44.23 MB / 327.3 MB, free: 6.699 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg",fmuType="cs",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.003729/0.003729, allocations: 71.89 kB / 462.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2769, allocations: 61.01 MB / 0.5116 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001751/0.2786, allocations: 0.4955 MB / 0.5121 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.2807, allocations: 1.159 MB / 0.5132 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.2808, allocations: 0 / 0.5132 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.2808, allocations: 3.938 kB / 0.5132 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.2808, allocations: 0 / 0.5132 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.2827, allocations: 0.6729 MB / 0.5139 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.2827, allocations: 5.469 kB / 0.5139 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.2828, allocations: 1.438 kB / 0.5139 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.2828, allocations: 0 / 0.5139 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.828e-05/0.2828, allocations: 3.938 kB / 0.5139 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.2828, allocations: 1.5 kB / 0.5139 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.2853, allocations: 2.458 MB / 0.5163 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.2853, allocations: 0 / 0.5163 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.2853, allocations: 7.938 kB / 0.5163 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.2857, allocations: 351.4 kB / 0.5167 GB, free: 9.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2857, allocations: 0 / 0.5167 GB, free: 9.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2857, allocations: 0 / 0.5167 GB, free: 9.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2857, allocations: 0 / 0.5167 GB, free: 9.832 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.0003818/0.2861, allocations: 384.6 kB / 0.517 GB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2861, allocations: 11.89 kB / 0.517 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.581e-05/0.2861, allocations: 4 kB / 0.517 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.533e-05/0.2861, allocations: 30.56 kB / 0.5171 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.2862, allocations: 3.953 kB / 0.5171 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.511e-05/0.2862, allocations: 167 kB / 0.5172 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2862, allocations: 0 / 0.5172 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.2863, allocations: 0 / 0.5172 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.2863, allocations: 37.62 kB / 0.5173 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2864, allocations: 8 kB / 0.5173 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.2864, allocations: 0 / 0.5173 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2864, allocations: 0 / 0.5173 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.2864, allocations: 0 / 0.5173 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.2865, allocations: 149.6 kB / 0.5174 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.2866, allocations: 18.61 kB / 0.5174 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.2866, allocations: 8.844 kB / 0.5174 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2866, allocations: 3.938 kB / 0.5174 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.2866, allocations: 64.33 kB / 0.5175 GB, free: 8.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2866, allocations: 0 / 0.5175 GB, free: 8.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000227/0.2869, allocations: 55.41 kB / 0.5176 GB, free: 8.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.2869, allocations: 85.11 kB / 0.5176 GB, free: 8.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.858e-05/0.2869, allocations: 93.84 kB / 0.5177 GB, free: 8.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.287, allocations: 25.7 kB / 0.5178 GB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/0.287, allocations: 84.12 kB / 0.5178 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.287, allocations: 0 / 0.5178 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.287, allocations: 17.84 kB / 0.5179 GB, free: 8.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.2871, allocations: 310.8 kB / 0.5182 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.2871, allocations: 0 / 0.5182 GB, free: 8.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.2871, allocations: 3.938 kB / 0.5182 GB, free: 8.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.2872, allocations: 68.2 kB / 0.5182 GB, free: 7.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2872, allocations: 0 / 0.5182 GB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.79e-05/0.2872, allocations: 63.39 kB / 0.5183 GB, free: 7.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.2873, allocations: 40.08 kB / 0.5183 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2873, allocations: 3.938 kB / 0.5183 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2873, allocations: 0 / 0.5183 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.2873, allocations: 7.984 kB / 0.5183 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2873, allocations: 3.984 kB / 0.5183 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.2873, allocations: 0 / 0.5183 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.2873, allocations: 0 / 0.5183 GB, free: 7.832 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 8.078e-05/0.2874, allocations: 147.5 kB / 0.5185 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.2874, allocations: 4 kB / 0.5185 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.154e-05/0.2874, allocations: 11.06 kB / 0.5185 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.2874, allocations: 0 / 0.5185 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2874, allocations: 0 / 0.5185 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2874, allocations: 0 / 0.5185 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.354e-05/0.2875, allocations: 153.6 kB / 0.5186 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.2875, allocations: 0 / 0.5186 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.2875, allocations: 0 / 0.5186 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.2875, allocations: 0 / 0.5186 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2875, allocations: 0 / 0.5186 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.2875, allocations: 0 / 0.5186 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.2875, allocations: 0 / 0.5186 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.2876, allocations: 98.77 kB / 0.5187 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.2876, allocations: 77.11 kB / 0.5188 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2876, allocations: 4 kB / 0.5188 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-06/0.2876, allocations: 0 / 0.5188 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.2877, allocations: 0 / 0.5188 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.2877, allocations: 0 / 0.5188 GB, free: 7.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.071e-05/0.2877, allocations: 75.28 kB / 0.5189 GB, free: 7.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2877, allocations: 4.031 kB / 0.5189 GB, free: 7.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.288, allocations: 59.67 kB / 0.5189 GB, free: 7.102 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.001618/0.2896, allocations: 1.062 MB / 0.52 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.712e-05/0.2897, allocations: 55.41 kB / 0.52 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2897, allocations: 4.062 kB / 0.52 GB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.2898, allocations: 63.34 kB / 0.5201 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2899, allocations: 0 / 0.5201 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.2903, allocations: 146.2 kB / 0.5202 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2904, allocations: 0.6729 MB / 0.5209 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.442e-06/0.2904, allocations: 0 / 0.5209 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.2904, allocations: 7.438 kB / 0.5209 GB, free: 5 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2904, allocations: 3.938 kB / 0.5209 GB, free: 4.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.308, allocations: 3.098 MB / 0.5239 GB, free: 1.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.706/9.014, allocations: 0 / 0.5239 GB, free: 1.875 MB / 382.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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.90994658600539]