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.001393/0.001393, allocations: 110 kB / 19.69 MB, free: 2.039 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.001456/0.001456, allocations: 223.8 kB / 23.01 MB, free: 4.949 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.401/1.401, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.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.2497/0.2497, allocations: 44.24 MB / 330.3 MB, free: 9.598 MB / 270.1 MB " [Timeout remaining time 179] 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.002104/0.002104, allocations: 75.91 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 61.04 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001529/0.1115, allocations: 0.5104 MB / 0.5166 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1134, allocations: 1.18 MB / 0.5178 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.1134, allocations: 4 kB / 0.5178 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.1134, allocations: 0 / 0.5178 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.599e-06/0.1134, allocations: 0 / 0.5178 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.1154, allocations: 0.7405 MB / 0.5185 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.108e-05/0.1154, allocations: 3.984 kB / 0.5185 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.59e-05/0.1154, allocations: 0 / 0.5185 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.242e-05/0.1155, allocations: 0 / 0.5185 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.55e-05/0.1155, allocations: 4 kB / 0.5185 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-06/0.1155, allocations: 0 / 0.5185 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/0.1188, allocations: 2.509 MB / 0.521 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.1188, allocations: 0 / 0.521 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1188, allocations: 7.922 kB / 0.521 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.1193, allocations: 359.4 kB / 0.5213 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1193, allocations: 0 / 0.5213 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1193, allocations: 0 / 0.5213 GB, free: 2.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1193, allocations: 0 / 0.5213 GB, free: 2.02 MB / 398.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.0004234/0.1197, allocations: 295.6 kB / 0.5216 GB, free: 1.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1197, allocations: 12.03 kB / 0.5216 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.1198, allocations: 30.56 kB / 0.5216 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1198, allocations: 3.953 kB / 0.5216 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.416e-05/0.1199, allocations: 113.1 kB / 0.5218 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1199, allocations: 3.938 kB / 0.5218 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1199, allocations: 12 kB / 0.5218 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.12, allocations: 25.7 kB / 0.5218 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.12, allocations: 0 / 0.5218 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.12, allocations: 0 / 0.5218 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.12, allocations: 0 / 0.5218 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.12, allocations: 7.984 kB / 0.5218 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1202, allocations: 120.6 kB / 0.5219 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.464e-05/0.1202, allocations: 30.53 kB / 0.5219 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.1202, allocations: 8.859 kB / 0.522 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-06/0.1202, allocations: 0 / 0.522 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.1203, allocations: 56.27 kB / 0.522 GB, free: 1.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1203, allocations: 0 / 0.522 GB, free: 1.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.1204, allocations: 63.45 kB / 0.5221 GB, free: 1.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1205, allocations: 81.09 kB / 0.5221 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.1205, allocations: 97.8 kB / 0.5222 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1206, allocations: 29.83 kB / 0.5223 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.1206, allocations: 84.14 kB / 0.5223 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.1206, allocations: 0 / 0.5223 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.1206, allocations: 9.719 kB / 0.5224 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1208, allocations: 314.8 kB / 0.5227 GB, free: 448 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1208, allocations: 4 kB / 0.5227 GB, free: 444 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.1208, allocations: 0 / 0.5227 GB, free: 444 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.1209, allocations: 64.33 kB / 0.5227 GB, free: 364 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1209, allocations: 7.875 kB / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.167e-05/0.1209, allocations: 67.39 kB / 0.5228 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.121, allocations: 30.8 kB / 0.5228 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.121, allocations: 0 / 0.5228 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.121, allocations: 0 / 0.5228 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.121, allocations: 3.938 kB / 0.5228 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.121, allocations: 0 / 0.5228 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.121, allocations: 4 kB / 0.5228 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.121, allocations: 0 / 0.5228 GB, free: 232 kB / 398.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 9.303e-05/0.1211, allocations: 143.5 kB / 0.523 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.1211, allocations: 4 kB / 0.523 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.644e-06/0.1211, allocations: 6.938 kB / 0.523 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1211, allocations: 0 / 0.523 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1211, allocations: 0 / 0.523 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1211, allocations: 0 / 0.523 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1212, allocations: 128.7 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.1212, allocations: 0 / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1212, allocations: 0 / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1212, allocations: 0 / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1212, allocations: 4 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.1212, allocations: 0 / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1212, allocations: 0 / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.488e-05/0.1213, allocations: 94.77 kB / 0.5232 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-06/0.1213, allocations: 3.938 kB / 0.5232 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1214, allocations: 4 kB / 0.5232 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.1214, allocations: 0 / 0.5232 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.1214, allocations: 4.031 kB / 0.5232 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1214, allocations: 0 / 0.5232 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.304e-05/0.1214, allocations: 75.28 kB / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1214, allocations: 0 / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1217, allocations: 51.8 kB / 0.5233 GB, free: 15.64 MB / 414.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.001728/0.1234, allocations: 1.074 MB / 0.5244 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.735e-05/0.1235, allocations: 59.34 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1235, allocations: 0 / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.1236, allocations: 59.34 kB / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1237, allocations: 4 kB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.1241, allocations: 146.2 kB / 0.5246 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1244, allocations: 0.6729 MB / 0.5253 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.099e-06/0.1244, allocations: 4.125 kB / 0.5253 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.1244, allocations: 7.438 kB / 0.5253 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1244, allocations: 0 / 0.5253 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.1531, allocations: 3.167 MB / 0.5284 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.89, allocations: 11.92 kB / 0.5284 GB, free: 10.32 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.922882518003462]