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.002297/0.002297, allocations: 181 kB / 13.66 MB, free: 1.664 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.195/2.195, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001129/0.001128, allocations: 86.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.29/0.29, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.542e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 58.84 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5079/0.6396, allocations: 89.29 MB / 0.5601 GB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.6399, allocations: 64.75 kB / 0.5601 GB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1486/0.7886, allocations: 30.29 MB / 0.5897 GB, free: 4.043 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7886, allocations: 0 / 0.5897 GB, free: 4.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.7886, allocations: 4 kB / 0.5897 GB, free: 4.039 MB / 394.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.000726/0.7894, allocations: 415.5 kB / 0.5901 GB, free: 3.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.7894, allocations: 8.031 kB / 0.5901 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.7895, allocations: 34.55 kB / 0.5902 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.7895, allocations: 4 kB / 0.5902 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7897, allocations: 163 kB / 0.5903 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.7897, allocations: 0 / 0.5903 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.7897, allocations: 0 / 0.5903 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.138e-05/0.7898, allocations: 29.7 kB / 0.5903 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7898, allocations: 4 kB / 0.5903 GB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.7899, allocations: 0 / 0.5903 GB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.7899, allocations: 0 / 0.5903 GB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.7899, allocations: 3.938 kB / 0.5904 GB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.7901, allocations: 156.6 kB / 0.5905 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.303e-05/0.7901, allocations: 14.58 kB / 0.5905 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.7902, allocations: 4.859 kB / 0.5905 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.7902, allocations: 4.094 kB / 0.5905 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.7902, allocations: 60.27 kB / 0.5906 GB, free: 2.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.7903, allocations: 0 / 0.5906 GB, free: 2.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.7904, allocations: 67.27 kB / 0.5906 GB, free: 2.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.7905, allocations: 81.11 kB / 0.5907 GB, free: 2.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.66e-05/0.7906, allocations: 85 kB / 0.5908 GB, free: 2.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.7906, allocations: 25.7 kB / 0.5908 GB, free: 2.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.7907, allocations: 154.5 kB / 0.591 GB, free: 2.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.7907, allocations: 0 / 0.591 GB, free: 2.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.7907, allocations: 4.031 kB / 0.591 GB, free: 2.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7908, allocations: 310.8 kB / 0.5913 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.7909, allocations: 4 kB / 0.5913 GB, free: 2.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.7909, allocations: 0 / 0.5913 GB, free: 2.219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.7909, allocations: 25.7 kB / 0.5913 GB, free: 2.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.791, allocations: 7.891 kB / 0.5913 GB, free: 2.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.952e-05/0.7911, allocations: 66.89 kB / 0.5914 GB, free: 2.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.7911, allocations: 33.14 kB / 0.5914 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7911, allocations: 8.094 kB / 0.5914 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.7912, allocations: 3.938 kB / 0.5914 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.7912, allocations: 0 / 0.5914 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.7912, allocations: 0 / 0.5914 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.7912, allocations: 0 / 0.5914 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.7912, allocations: 0 / 0.5914 GB, free: 2.059 MB / 394.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 () * 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 9.761e-05/0.7913, allocations: 130.7 kB / 0.5915 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.7914, allocations: 7.938 kB / 0.5915 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.7914, allocations: 3.125 kB / 0.5916 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7914, allocations: 4 kB / 0.5916 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7914, allocations: 0 / 0.5916 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7914, allocations: 0 / 0.5916 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.7916, allocations: 149.2 kB / 0.5917 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7916, allocations: 0 / 0.5917 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.7916, allocations: 3.953 kB / 0.5917 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7916, allocations: 0 / 0.5917 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.7916, allocations: 3.984 kB / 0.5917 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7916, allocations: 0 / 0.5917 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7916, allocations: 8 kB / 0.5917 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.7918, allocations: 90.16 kB / 0.5918 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.7919, allocations: 85.08 kB / 0.5919 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.7919, allocations: 7.953 kB / 0.5919 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.7919, allocations: 0 / 0.5919 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.7919, allocations: 0 / 0.5919 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.7919, allocations: 0 / 0.5919 GB, free: 1.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.792, allocations: 75.28 kB / 0.592 GB, free: 1.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.792, allocations: 3.938 kB / 0.592 GB, free: 1.402 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006215/0.7927, allocations: 71.44 kB / 0.592 GB, free: 1.336 MB / 394.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) * 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.003435/0.7961, allocations: 1.048 MB / 0.5931 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.7963, allocations: 59.39 kB / 0.5931 GB, free: 228 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7964, allocations: 4.062 kB / 0.5931 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.7964, allocations: 58.91 kB / 0.5932 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.7965, allocations: 7.891 kB / 0.5932 GB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.7973, allocations: 144.2 kB / 0.5933 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.7977, allocations: 0.6731 MB / 0.594 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.7977, allocations: 11.44 kB / 0.594 GB, free: 15.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.824e-06/0.7977, allocations: 0 / 0.594 GB, free: 15.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.686/3.484, allocations: 2.81 MB / 0.5967 GB, free: 12.45 MB / 410.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