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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.459/1.459, allocations: 207.6 MB / 230.4 MB, free: 4.008 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.3605/0.3605, allocations: 44.23 MB / 326.5 MB, free: 6.812 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.91 kB / 462.2 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2873, allocations: 61 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.00151/0.2888, allocations: 0.5035 MB / 0.5114 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2906, allocations: 1.154 MB / 0.5125 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.2906, allocations: 0 / 0.5125 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.2906, allocations: 0 / 0.5125 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.2906, allocations: 0 / 0.5125 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.2926, allocations: 0.6814 MB / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.2927, allocations: 5.531 kB / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.2927, allocations: 4 kB / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.729e-05/0.2928, allocations: 1.312 kB / 0.5132 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.724e-05/0.2928, allocations: 3.984 kB / 0.5132 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.2928, allocations: 1.5 kB / 0.5132 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.2955, allocations: 2.456 MB / 0.5156 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.2955, allocations: 0 / 0.5156 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.2955, allocations: 7.875 kB / 0.5156 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.2958, allocations: 354.2 kB / 0.5159 GB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2958, allocations: 0 / 0.5159 GB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2958, allocations: 3.984 kB / 0.5159 GB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.2958, allocations: 0 / 0.5159 GB, free: 9.871 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.0003261/0.2962, allocations: 376.7 kB / 0.5163 GB, free: 9.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2962, allocations: 19.89 kB / 0.5163 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.2962, allocations: 30.56 kB / 0.5163 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.2962, allocations: 3.953 kB / 0.5163 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.014e-05/0.2963, allocations: 159.1 kB / 0.5165 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2963, allocations: 3.938 kB / 0.5165 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.2963, allocations: 4 kB / 0.5165 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.377e-05/0.2964, allocations: 33.69 kB / 0.5165 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2964, allocations: 0 / 0.5165 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.2964, allocations: 0 / 0.5165 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2964, allocations: 0 / 0.5165 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.2964, allocations: 11.94 kB / 0.5166 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.163e-05/0.2965, allocations: 145.6 kB / 0.5167 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.412e-05/0.2965, allocations: 26.59 kB / 0.5167 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.2966, allocations: 8.844 kB / 0.5167 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.2966, allocations: 0 / 0.5167 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2966, allocations: 60.27 kB / 0.5168 GB, free: 8.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.2966, allocations: 4 kB / 0.5168 GB, free: 8.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.2967, allocations: 63.41 kB / 0.5168 GB, free: 8.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.2968, allocations: 81.09 kB / 0.5169 GB, free: 8.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.841e-05/0.2968, allocations: 89.86 kB / 0.517 GB, free: 8.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.2968, allocations: 29.7 kB / 0.517 GB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-06/0.2968, allocations: 80.14 kB / 0.5171 GB, free: 8.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.2968, allocations: 0 / 0.5171 GB, free: 8.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.2968, allocations: 13.72 kB / 0.5171 GB, free: 8.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.2969, allocations: 319 kB / 0.5174 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-06/0.2969, allocations: 0 / 0.5174 GB, free: 8.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.2969, allocations: 0 / 0.5174 GB, free: 8.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.2969, allocations: 60.27 kB / 0.5175 GB, free: 8.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2969, allocations: 3.938 kB / 0.5175 GB, free: 8.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.596e-05/0.297, allocations: 71.33 kB / 0.5176 GB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.297, allocations: 36.14 kB / 0.5176 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.297, allocations: 0 / 0.5176 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.297, allocations: 96 / 0.5176 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.297, allocations: 4 kB / 0.5176 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.297, allocations: 0 / 0.5176 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.297, allocations: 4 kB / 0.5176 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.297, allocations: 3.938 kB / 0.5176 GB, free: 7.879 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 5.164e-05/0.2971, allocations: 139.5 kB / 0.5177 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.2971, allocations: 4 kB / 0.5177 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-06/0.2971, allocations: 3.125 kB / 0.5177 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.2971, allocations: 0 / 0.5177 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2971, allocations: 0 / 0.5177 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2971, allocations: 4 kB / 0.5178 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.624e-05/0.2972, allocations: 157.6 kB / 0.5179 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2972, allocations: 0 / 0.5179 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.2972, allocations: 4 kB / 0.5179 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.2972, allocations: 0 / 0.5179 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.2972, allocations: 0 / 0.5179 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.2972, allocations: 0 / 0.5179 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.2972, allocations: 0 / 0.5179 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.248e-05/0.2972, allocations: 102.7 kB / 0.518 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.2973, allocations: 77.11 kB / 0.5181 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.2973, allocations: 0 / 0.5181 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.2973, allocations: 0 / 0.5181 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.2973, allocations: 4 kB / 0.5181 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2973, allocations: 0 / 0.5181 GB, free: 7.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.438e-05/0.2973, allocations: 75.28 kB / 0.5182 GB, free: 7.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2973, allocations: 0 / 0.5182 GB, free: 7.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.2976, allocations: 55.73 kB / 0.5182 GB, free: 7.156 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.001454/0.2991, allocations: 1.068 MB / 0.5192 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.2992, allocations: 59.41 kB / 0.5193 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2992, allocations: 0 / 0.5193 GB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.2992, allocations: 55.41 kB / 0.5194 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.2993, allocations: 7.094 kB / 0.5194 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.2996, allocations: 146.3 kB / 0.5195 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.393e-05/0.2997, allocations: 0.669 MB / 0.5202 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.711e-06/0.2997, allocations: 0 / 0.5202 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.2997, allocations: 15.38 kB / 0.5202 GB, free: 5.043 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2997, allocations: 3.938 kB / 0.5202 GB, free: 5.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.3238, allocations: 3.048 MB / 0.5232 GB, free: 1.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.513, allocations: 13.41 kB / 0.5232 GB, free: 1.949 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestColorMapToSvg/TestColorMapToSvg.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.264660955872387]