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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 106.5 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 188.9 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.221/0.221, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB 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.001464/0.001464, allocations: 67.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 57.79 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.00162/0.1147, allocations: 0.491 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1166, allocations: 1.15 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.1167, allocations: 0 / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1167, allocations: 0 / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.461e-06/0.1167, allocations: 0 / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1189, allocations: 0.6794 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.646e-05/0.119, allocations: 7.984 kB / 0.4897 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.1191, allocations: 4 kB / 0.4897 GB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.1191, allocations: 0 / 0.4897 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.699e-05/0.1191, allocations: 0 / 0.4897 GB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1191, allocations: 7.938 kB / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.122, allocations: 2.448 MB / 0.4921 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.122, allocations: 0 / 0.4921 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.122, allocations: 4 kB / 0.4921 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1225, allocations: 355.4 kB / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1225, allocations: 0 / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1225, allocations: 0 / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1225, allocations: 4 kB / 0.4924 GB, free: 7.18 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.0004301/0.1229, allocations: 392 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.123, allocations: 11.89 kB / 0.4928 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.123, allocations: 30.56 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.123, allocations: 3.953 kB / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.1231, allocations: 163.1 kB / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1232, allocations: 3.938 kB / 0.493 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1232, allocations: 4 kB / 0.493 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.1233, allocations: 33.69 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1233, allocations: 3.938 kB / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1233, allocations: 0 / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1233, allocations: 4 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.664e-05/0.1233, allocations: 0 / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.1235, allocations: 153.6 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.1235, allocations: 18.61 kB / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.1235, allocations: 8.844 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.1235, allocations: 4 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.1236, allocations: 56.27 kB / 0.4933 GB, free: 6.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1236, allocations: 0 / 0.4933 GB, free: 6.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.1237, allocations: 67.41 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.1238, allocations: 77.11 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489e-05/0.1239, allocations: 97.84 kB / 0.4935 GB, free: 5.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1239, allocations: 25.7 kB / 0.4935 GB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.1239, allocations: 84.12 kB / 0.4936 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1239, allocations: 4.125 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.124, allocations: 9.719 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1241, allocations: 314.8 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.1241, allocations: 0 / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-06/0.1241, allocations: 4 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.468e-05/0.1241, allocations: 60.27 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1242, allocations: 7.938 kB / 0.494 GB, free: 5.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.925e-05/0.1242, allocations: 71.39 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.1243, allocations: 29.7 kB / 0.4941 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1243, allocations: 0 / 0.4941 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1243, allocations: 3.938 kB / 0.4941 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1243, allocations: 0 / 0.4941 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1243, allocations: 4 kB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.1243, allocations: 3.984 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1243, allocations: 0 / 0.4941 GB, free: 5.18 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.049e-05/0.1244, allocations: 147.4 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-06/0.1245, allocations: 8.031 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.01e-05/0.1245, allocations: 3.125 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1245, allocations: 0 / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1245, allocations: 0 / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1245, allocations: 0 / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.295e-05/0.1246, allocations: 149.6 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1246, allocations: 3.984 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1246, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1246, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1246, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1246, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1246, allocations: 7.938 kB / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1247, allocations: 98.7 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.1248, allocations: 77.11 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1248, allocations: 0 / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.1248, allocations: 4 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.1248, allocations: 0 / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-06/0.1248, allocations: 0 / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.374e-05/0.1249, allocations: 79.31 kB / 0.4946 GB, free: 4.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1249, allocations: 0 / 0.4946 GB, free: 4.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.1252, allocations: 59.73 kB / 0.4947 GB, free: 4.445 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.001579/0.1268, allocations: 1.052 MB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.107e-05/0.1269, allocations: 63.34 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1269, allocations: 0 / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.127, allocations: 59.41 kB / 0.4958 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.1271, allocations: 0 / 0.4958 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.1274, allocations: 138.3 kB / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1277, allocations: 0.6729 MB / 0.4966 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.1277, allocations: 0 / 0.4966 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.1277, allocations: 11.44 kB / 0.4966 GB, free: 2.352 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1277, allocations: 128 / 0.4966 GB, free: 2.352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.1484, allocations: 3.044 MB / 0.4996 GB, free: 15.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.704, allocations: 7.875 kB / 0.4996 GB, free: 15.28 MB / 398.1 MB (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) 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) Reference file matches