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.002136/0.002136, allocations: 179.4 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 94.27 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3059/0.3059, allocations: 43.48 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.282e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4576, allocations: 58.85 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.6277, allocations: 88.63 MB / 0.5525 GB, free: 10.66 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.628, allocations: 63.97 kB / 0.5526 GB, free: 10.6 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1482/0.7763, allocations: 29.95 MB / 0.5819 GB, free: 12.62 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.7764, allocations: 0 / 0.5819 GB, free: 12.62 MB / 427.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.7764, allocations: 0 / 0.5819 GB, free: 12.62 MB / 427.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.0008735/0.7773, allocations: 412 kB / 0.5822 GB, free: 12.17 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.7773, allocations: 8.031 kB / 0.5823 GB, free: 12.16 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.7774, allocations: 4 kB / 0.5823 GB, free: 12.16 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.7775, allocations: 163 kB / 0.5824 GB, free: 11.96 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.7775, allocations: 0 / 0.5824 GB, free: 11.96 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.7776, allocations: 0 / 0.5824 GB, free: 11.96 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.171e-05/0.7776, allocations: 7.984 kB / 0.5824 GB, free: 11.95 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.987e-05/0.7777, allocations: 33.69 kB / 0.5825 GB, free: 11.91 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7777, allocations: 0 / 0.5825 GB, free: 11.91 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.7778, allocations: 0 / 0.5825 GB, free: 11.91 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7778, allocations: 0 / 0.5825 GB, free: 11.91 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.7779, allocations: 126.2 kB / 0.5826 GB, free: 11.75 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.778, allocations: 26.55 kB / 0.5826 GB, free: 11.72 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.778, allocations: 8.859 kB / 0.5826 GB, free: 11.71 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.778, allocations: 0 / 0.5826 GB, free: 11.71 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.7781, allocations: 56.27 kB / 0.5827 GB, free: 11.64 MB / 427.1 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.7781, allocations: 0 / 0.5827 GB, free: 11.64 MB / 427.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001993/0.7783, allocations: 37.75 kB / 0.5827 GB, free: 11.59 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.7784, allocations: 77.11 kB / 0.5828 GB, free: 11.5 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.911e-05/0.7785, allocations: 85 kB / 0.5829 GB, free: 11.41 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.7785, allocations: 25.7 kB / 0.5829 GB, free: 11.38 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.7786, allocations: 154.6 kB / 0.583 GB, free: 11.23 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.7786, allocations: 7.938 kB / 0.583 GB, free: 11.22 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.7786, allocations: 0 / 0.583 GB, free: 11.22 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7788, allocations: 314.8 kB / 0.5833 GB, free: 10.9 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.7788, allocations: 0 / 0.5833 GB, free: 10.9 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-06/0.7788, allocations: 3.938 kB / 0.5833 GB, free: 10.9 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.7789, allocations: 0 / 0.5833 GB, free: 10.9 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7789, allocations: 0 / 0.5833 GB, free: 10.9 MB / 427.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.442e-05/0.779, allocations: 45.7 kB / 0.5834 GB, free: 10.85 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.779, allocations: 33.64 kB / 0.5834 GB, free: 10.81 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.779, allocations: 0 / 0.5834 GB, free: 10.81 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.7791, allocations: 4 kB / 0.5834 GB, free: 10.8 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.7791, allocations: 0 / 0.5834 GB, free: 10.8 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.7791, allocations: 0 / 0.5834 GB, free: 10.8 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.7791, allocations: 0 / 0.5834 GB, free: 10.8 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.7791, allocations: 3.984 kB / 0.5834 GB, free: 10.8 MB / 427.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 () * 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.0001099/0.7793, allocations: 130.7 kB / 0.5835 GB, free: 10.66 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.553e-05/0.7794, allocations: 53.61 kB / 0.5836 GB, free: 10.6 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.7794, allocations: 0 / 0.5836 GB, free: 10.6 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.7794, allocations: 3.75 kB / 0.5836 GB, free: 10.6 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7794, allocations: 0 / 0.5836 GB, free: 10.6 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7794, allocations: 0 / 0.5836 GB, free: 10.6 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7795, allocations: 0 / 0.5836 GB, free: 10.6 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.7796, allocations: 134.2 kB / 0.5837 GB, free: 10.43 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7796, allocations: 4 kB / 0.5837 GB, free: 10.43 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.7796, allocations: 0 / 0.5837 GB, free: 10.43 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.7796, allocations: 3.953 kB / 0.5837 GB, free: 10.42 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7796, allocations: 0 / 0.5837 GB, free: 10.42 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7796, allocations: 4.031 kB / 0.5837 GB, free: 10.42 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.7797, allocations: 4 kB / 0.5837 GB, free: 10.41 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.7798, allocations: 61.12 kB / 0.5838 GB, free: 10.34 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.7798, allocations: 77.11 kB / 0.5839 GB, free: 10.24 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.7799, allocations: 3.953 kB / 0.5839 GB, free: 10.24 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.192e-05/0.7799, allocations: 0 / 0.5839 GB, free: 10.24 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.7799, allocations: 4 kB / 0.5839 GB, free: 10.23 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.7799, allocations: 4.031 kB / 0.5839 GB, free: 10.23 MB / 427.1 MB Notification: Performance of sorting global known variables: time 4.208e-05/0.78, allocations: 79.22 kB / 0.584 GB, free: 10.15 MB / 427.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.78, allocations: 3.938 kB / 0.584 GB, free: 10.15 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006119/0.7806, allocations: 63.92 kB / 0.584 GB, free: 10.09 MB / 427.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) * 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.003307/0.7839, allocations: 1.031 MB / 0.585 GB, free: 9.047 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.7841, allocations: 59.34 kB / 0.5851 GB, free: 8.977 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7841, allocations: 0 / 0.5851 GB, free: 8.977 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.7842, allocations: 55.41 kB / 0.5851 GB, free: 8.91 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.7844, allocations: 3.953 kB / 0.5851 GB, free: 8.906 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.7849, allocations: 139.4 kB / 0.5853 GB, free: 8.727 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.7853, allocations: 0.6806 MB / 0.5859 GB, free: 8.02 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.7853, allocations: 7.438 kB / 0.586 GB, free: 8.012 MB / 427.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7853, allocations: 0 / 0.586 GB, free: 8.012 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.581/3.366, allocations: 2.824 MB / 0.5887 GB, free: 5.191 MB / 427.1 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