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.001343/0.001343, allocations: 108.2 kB / 16.41 MB, free: 6.488 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.001927/0.001927, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.522/1.522, 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.2231/0.2231, allocations: 43.52 MB / 314.1 MB, free: 476 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.00227/0.00227, allocations: 71.89 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1317, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001874/0.1336, allocations: 490.9 kB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1358, allocations: 1.15 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.1358, allocations: 0 / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1359, allocations: 3.938 kB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.279e-06/0.1359, allocations: 0 / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.1382, allocations: 0.6885 MB / 0.4897 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.1383, allocations: 4 kB / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.1383, allocations: 4 kB / 0.4897 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.1383, allocations: 0 / 0.4897 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.525e-05/0.1384, allocations: 0 / 0.4897 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-06/0.1384, allocations: 0 / 0.4897 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.1418, allocations: 2.452 MB / 0.4921 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1418, allocations: 0 / 0.4921 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1418, allocations: 0 / 0.4921 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000525/0.1424, allocations: 363.3 kB / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1424, allocations: 0 / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1424, allocations: 0 / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1424, allocations: 0 / 0.4924 GB, free: 7.172 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.0005169/0.1429, allocations: 380.7 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.143, allocations: 19.83 kB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.228e-05/0.143, allocations: 30.56 kB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.143, allocations: 3.953 kB / 0.4928 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1432, allocations: 167.1 kB / 0.493 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1432, allocations: 3.938 kB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1432, allocations: 4 kB / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.1433, allocations: 33.64 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1434, allocations: 0 / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1434, allocations: 3.984 kB / 0.493 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1434, allocations: 4 kB / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/0.1434, allocations: 4 kB / 0.493 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1436, allocations: 149.6 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/0.1437, allocations: 18.61 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.1437, allocations: 4.859 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.1437, allocations: 0 / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.1438, allocations: 68.2 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1438, allocations: 0 / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002039/0.144, allocations: 67.44 kB / 0.4933 GB, free: 6.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.1441, allocations: 77.11 kB / 0.4934 GB, free: 5.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.1441, allocations: 89.86 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1442, allocations: 29.7 kB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.1442, allocations: 80.14 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.1442, allocations: 0 / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1443, allocations: 13.84 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1445, allocations: 318.8 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.1445, allocations: 0 / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.1445, allocations: 0 / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.1446, allocations: 68.19 kB / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1446, allocations: 3.938 kB / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.614e-05/0.1447, allocations: 63.41 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.1447, allocations: 29.7 kB / 0.4941 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.1447, allocations: 4.094 kB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1447, allocations: 3.938 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-06/0.1447, allocations: 3.984 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1448, allocations: 0 / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.1448, allocations: 4 kB / 0.4941 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.1448, allocations: 0 / 0.4941 GB, free: 5.172 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 0.000123/0.1449, allocations: 139.4 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.1449, allocations: 4 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/0.145, allocations: 3.125 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.145, allocations: 4 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.145, allocations: 0 / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.145, allocations: 7.875 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1451, allocations: 157.6 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1452, allocations: 4 kB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.1452, allocations: 0 / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1452, allocations: 0 / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.1452, allocations: 0 / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1452, allocations: 0 / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1452, allocations: 0 / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1453, allocations: 98.77 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.1454, allocations: 77.11 kB / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1454, allocations: 0 / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.1454, allocations: 0 / 0.4946 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.1454, allocations: 4 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1455, allocations: 0 / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.295e-05/0.1455, allocations: 75.28 kB / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.1459, allocations: 59.77 kB / 0.4947 GB, free: 4.441 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.001925/0.1478, allocations: 1.06 MB / 0.4957 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1479, allocations: 55.41 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1479, allocations: 0 / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.148, allocations: 63.45 kB / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1481, allocations: 3.938 kB / 0.4958 GB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.1485, allocations: 146.2 kB / 0.496 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1489, allocations: 0.669 MB / 0.4966 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.992e-06/0.1489, allocations: 0 / 0.4966 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.1489, allocations: 11.44 kB / 0.4966 GB, free: 2.332 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.149, allocations: 0 / 0.4966 GB, free: 2.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.1747, allocations: 3.048 MB / 0.4996 GB, free: 15.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.535, allocations: 3.938 kB / 0.4996 GB, free: 15.27 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 & /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) 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) Reference file matches