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.0009328/0.0009329, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000901/0.0009015, allocations: 177.7 kB / 16.92 MB, free: 6.684 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.44/1.44, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3452/0.3452, allocations: 43.58 MB / 315 MB, free: 9.035 MB / 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.0005582/0.0005584, allocations: 19.98 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.142, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.000693/0.1427, allocations: 228.4 kB / 443.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1447, allocations: 1.171 MB / 444.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.023e-05/0.1448, allocations: 0 / 444.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.1448, allocations: 0 / 444.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.1448, allocations: 0 / 444.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.1466, allocations: 0.6355 MB / 445.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.174e-05/0.1466, allocations: 0 / 445.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.138e-05/0.1467, allocations: 4 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.1467, allocations: 3.984 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.593e-05/0.1467, allocations: 4 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-06/0.1467, allocations: 0 / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.1497, allocations: 2.601 MB / 448.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.1497, allocations: 0 / 448.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.1498, allocations: 25.7 kB / 448.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.1503, allocations: 431.2 kB / 448.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1503, allocations: 4 kB / 448.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1503, allocations: 0 / 448.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1503, allocations: 0 / 448.6 MB, free: 7.703 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.0004358/0.1507, allocations: 380.9 kB / 449 MB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1508, allocations: 12.03 kB / 449 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.1508, allocations: 30.56 kB / 449 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.1509, allocations: 3.938 kB / 449 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.151, allocations: 163.1 kB / 449.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.151, allocations: 0 / 449.2 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.151, allocations: 4 kB / 449.2 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.253e-05/0.1511, allocations: 29.64 kB / 449.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1511, allocations: 0 / 449.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1512, allocations: 0 / 449.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1512, allocations: 4 kB / 449.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.1512, allocations: 11.92 kB / 449.3 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.1513, allocations: 141.7 kB / 449.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.354e-05/0.1514, allocations: 18.61 kB / 449.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.1514, allocations: 8.859 kB / 449.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.1514, allocations: 0 / 449.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.1515, allocations: 56.27 kB / 449.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1515, allocations: 7.938 kB / 449.5 MB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001702/0.1516, allocations: 63.45 kB / 449.5 MB, free: 6.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.1517, allocations: 85.05 kB / 449.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.114e-05/0.1518, allocations: 89.86 kB / 449.7 MB, free: 6.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1518, allocations: 29.7 kB / 449.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.1518, allocations: 80.14 kB / 449.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1518, allocations: 0 / 449.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.1519, allocations: 9.719 kB / 449.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.152, allocations: 311 kB / 450.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.152, allocations: 11.98 kB / 450.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-06/0.152, allocations: 0 / 450.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.1521, allocations: 68.14 kB / 450.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1521, allocations: 0 / 450.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.297e-05/0.1521, allocations: 59.41 kB / 450.3 MB, free: 5.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.1522, allocations: 37.69 kB / 450.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1522, allocations: 0 / 450.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1522, allocations: 3.938 kB / 450.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1522, allocations: 4.094 kB / 450.3 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1522, allocations: 3.938 kB / 450.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.1523, allocations: 4 kB / 450.3 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1523, allocations: 4 kB / 450.3 MB, free: 5.719 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.931e-05/0.1524, allocations: 131.5 kB / 450.5 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.1524, allocations: 0 / 450.5 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.19e-05/0.1524, allocations: 3.125 kB / 450.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1524, allocations: 4 kB / 450.5 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1524, allocations: 3.938 kB / 450.5 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1524, allocations: 4 kB / 450.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1525, allocations: 149.7 kB / 450.6 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1525, allocations: 0 / 450.6 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-06/0.1525, allocations: 0 / 450.6 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1526, allocations: 3.938 kB / 450.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1526, allocations: 4 kB / 450.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.1526, allocations: 0 / 450.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.1526, allocations: 3.938 kB / 450.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.7e-05/0.1527, allocations: 94.83 kB / 450.7 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.1527, allocations: 81.09 kB / 450.8 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.1527, allocations: 0 / 450.8 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-06/0.1527, allocations: 0 / 450.8 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.1528, allocations: 7.922 kB / 450.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1528, allocations: 4 kB / 450.8 MB, free: 5.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.4e-05/0.1528, allocations: 75.28 kB / 450.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1528, allocations: 0 / 450.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1532, allocations: 51.98 kB / 450.9 MB, free: 5 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.001951/0.1551, allocations: 1.061 MB / 452 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.1552, allocations: 59.41 kB / 452.1 MB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1552, allocations: 3.938 kB / 452.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.1553, allocations: 59.45 kB / 452.1 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1554, allocations: 7.938 kB / 452.1 MB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.1558, allocations: 132.3 kB / 452.3 MB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.156, allocations: 0.6808 MB / 452.9 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.724e-06/0.1561, allocations: 3.984 kB / 452.9 MB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.1561, allocations: 7.438 kB / 452.9 MB, free: 2.883 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1561, allocations: 0 / 452.9 MB, free: 2.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.1702, allocations: 2.815 MB / 455.8 MB, free: 84 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.219/0.3893, allocations: 228.9 kB / 456 MB, free: 47.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.338, allocations: 0 / 456 MB, free: 47.41 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches