Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0024/0.002408, allocations: 182.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 99.33 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5995/0.5995, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004787, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1468, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.0007746/0.1477, allocations: 228.3 kB / 490.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.1504, allocations: 1.026 MB / 491.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.1504, allocations: 0 / 491.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1505, allocations: 0 / 491.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.1505, allocations: 0 / 491.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.1528, allocations: 0.6081 MB / 492.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.57e-05/0.1529, allocations: 0 / 492.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.153, allocations: 7.922 kB / 492.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.153, allocations: 4 kB / 492.2 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.819e-05/0.153, allocations: 4 kB / 492.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.153, allocations: 0 / 492.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.1545, allocations: 0.5265 MB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-06/0.1545, allocations: 0 / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1545, allocations: 25.7 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006445/0.1552, allocations: 275.4 kB / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1552, allocations: 0 / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1552, allocations: 0 / 493 MB, free: 8.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1553, allocations: 4 kB / 493 MB, free: 8.211 MB / 378.7 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.0005264/0.1558, allocations: 393.3 kB / 493.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.1559, allocations: 8.031 kB / 493.4 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.1559, allocations: 30.56 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.156, allocations: 3.953 kB / 493.4 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1561, allocations: 167 kB / 493.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1561, allocations: 4 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.1561, allocations: 0 / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.1562, allocations: 29.64 kB / 493.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1563, allocations: 4 kB / 493.6 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1563, allocations: 4 kB / 493.6 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1563, allocations: 4 kB / 493.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.1563, allocations: 0 / 493.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.1565, allocations: 157.6 kB / 493.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.1566, allocations: 18.61 kB / 493.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.1566, allocations: 0 / 493.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/0.1567, allocations: 60.27 kB / 493.9 MB, free: 7.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.1567, allocations: 0 / 493.9 MB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002248/0.1569, allocations: 71.39 kB / 493.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.157, allocations: 77.11 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.1571, allocations: 89.86 kB / 494.1 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1571, allocations: 25.7 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.1572, allocations: 150.6 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1572, allocations: 4 kB / 494.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.1572, allocations: 0 / 494.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1574, allocations: 318.9 kB / 494.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1574, allocations: 0 / 494.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-06/0.1574, allocations: 0 / 494.6 MB, free: 6.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.1575, allocations: 33.7 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1575, allocations: 0 / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.571e-05/0.1576, allocations: 67.33 kB / 494.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.1577, allocations: 33.14 kB / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1577, allocations: 0 / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1577, allocations: 4.094 kB / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.1577, allocations: 0 / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1577, allocations: 0 / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.1578, allocations: 4 kB / 494.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1578, allocations: 0 / 494.7 MB, free: 6.227 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.1579, allocations: 143.5 kB / 494.9 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.158, allocations: 7.938 kB / 494.9 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.158, allocations: 3.125 kB / 494.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.158, allocations: 3.938 kB / 494.9 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.158, allocations: 4 kB / 494.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.158, allocations: 0 / 494.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1582, allocations: 153.6 kB / 495 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1582, allocations: 0 / 495 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.1582, allocations: 4 kB / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1582, allocations: 0 / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1582, allocations: 0 / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1582, allocations: 0 / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1583, allocations: 0 / 495 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.1584, allocations: 98.77 kB / 495.1 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1585, allocations: 81.06 kB / 495.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1585, allocations: 0 / 495.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.1585, allocations: 0 / 495.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.1585, allocations: 7.984 kB / 495.2 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.1586, allocations: 0 / 495.2 MB, free: 5.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.1586, allocations: 75.28 kB / 495.3 MB, free: 5.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1586, allocations: 0 / 495.3 MB, free: 5.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.1593, allocations: 87.98 kB / 495.4 MB, free: 5.461 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.1608, allocations: 0.893 MB / 496.3 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.161, allocations: 63.39 kB / 496.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.161, allocations: 0 / 496.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.1611, allocations: 59.41 kB / 496.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.1612, allocations: 0 / 496.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.1617, allocations: 170 kB / 496.6 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1621, allocations: 0.6733 MB / 497.2 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.1621, allocations: 11.44 kB / 497.2 MB, free: 3.5 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1621, allocations: 3.938 kB / 497.2 MB, free: 3.496 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.999/3.161, allocations: 3.336 MB / 0.4889 GB, free: 160 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat