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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009107/0.0009109, allocations: 85.67 kB / 267 MB, free: 9.277 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.5019/0.5019, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.507e-05/4.528e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1618, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.6768, allocations: 89.29 MB / 0.5601 GB, free: 15.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.6771, allocations: 58.69 kB / 0.5601 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08157/0.7587, allocations: 30.29 MB / 0.5897 GB, free: 6.105 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7587, allocations: 0 / 0.5897 GB, free: 6.105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.7587, allocations: 4 kB / 0.5897 GB, free: 6.102 MB / 410.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.0007432/0.7595, allocations: 409.9 kB / 0.5901 GB, free: 5.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.7596, allocations: 8.031 kB / 0.5901 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.7596, allocations: 30.56 kB / 0.5902 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.7597, allocations: 11.44 kB / 0.5902 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7598, allocations: 159.1 kB / 0.5903 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.7598, allocations: 0 / 0.5903 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.7599, allocations: 3.984 kB / 0.5903 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.76, allocations: 32.77 kB / 0.5904 GB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.76, allocations: 0 / 0.5904 GB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.76, allocations: 3.938 kB / 0.5904 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.76, allocations: 1.375 kB / 0.5904 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.76, allocations: 0 / 0.5904 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.7602, allocations: 153.6 kB / 0.5905 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.417e-05/0.7603, allocations: 14.58 kB / 0.5905 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.7603, allocations: 12.17 kB / 0.5905 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.7603, allocations: 8.078 kB / 0.5905 GB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.7604, allocations: 56.27 kB / 0.5906 GB, free: 5.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.008e-06/0.7604, allocations: 0 / 0.5906 GB, free: 5.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000178/0.7606, allocations: 67.31 kB / 0.5907 GB, free: 4.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.7606, allocations: 81.11 kB / 0.5907 GB, free: 4.875 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.231e-05/0.7607, allocations: 88.69 kB / 0.5908 GB, free: 4.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7607, allocations: 25.7 kB / 0.5908 GB, free: 4.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.7608, allocations: 80.14 kB / 0.5909 GB, free: 4.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.7608, allocations: 0.7812 kB / 0.5909 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.7608, allocations: 0 / 0.5909 GB, free: 4.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.7609, allocations: 314.8 kB / 0.5912 GB, free: 4.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.761, allocations: 4 kB / 0.5912 GB, free: 4.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.761, allocations: 4 kB / 0.5912 GB, free: 4.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.761, allocations: 25.7 kB / 0.5913 GB, free: 4.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.761, allocations: 7.953 kB / 0.5913 GB, free: 4.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.565e-05/0.7611, allocations: 59.34 kB / 0.5913 GB, free: 4.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.7612, allocations: 37.45 kB / 0.5914 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.7612, allocations: 7.984 kB / 0.5914 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7612, allocations: 0 / 0.5914 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.7612, allocations: 0 / 0.5914 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.7612, allocations: 0 / 0.5914 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.7613, allocations: 4.094 kB / 0.5914 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.7613, allocations: 0 / 0.5914 GB, free: 4.188 MB / 410.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 8.498e-05/0.7614, allocations: 130.7 kB / 0.5915 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.7614, allocations: 3.953 kB / 0.5915 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.192e-05/0.7614, allocations: 3.125 kB / 0.5915 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7614, allocations: 0 / 0.5915 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7614, allocations: 0 / 0.5915 GB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7614, allocations: 4 kB / 0.5915 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.7616, allocations: 145.7 kB / 0.5916 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7616, allocations: 4 kB / 0.5916 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-06/0.7616, allocations: 3.953 kB / 0.5917 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7616, allocations: 0 / 0.5917 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.7616, allocations: 0 / 0.5917 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.7616, allocations: 4 kB / 0.5917 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7616, allocations: 3.984 kB / 0.5917 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.7617, allocations: 93.81 kB / 0.5917 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.7618, allocations: 78.83 kB / 0.5918 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7618, allocations: 11.98 kB / 0.5918 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.7618, allocations: 7.562 kB / 0.5918 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.7619, allocations: 0 / 0.5918 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.7619, allocations: 3.938 kB / 0.5918 GB, free: 3.605 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.7619, allocations: 75.28 kB / 0.5919 GB, free: 3.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7619, allocations: 0 / 0.5919 GB, free: 3.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004302/0.7624, allocations: 63.23 kB / 0.592 GB, free: 3.473 MB / 410.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.002186/0.7645, allocations: 1.07 MB / 0.593 GB, free: 2.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.7647, allocations: 55.41 kB / 0.5931 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7647, allocations: 0 / 0.5931 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.7647, allocations: 55.41 kB / 0.5931 GB, free: 2.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.419e-05/0.7648, allocations: 11.83 kB / 0.5931 GB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.7652, allocations: 122.4 kB / 0.5933 GB, free: 2.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.7656, allocations: 0.6692 MB / 0.5939 GB, free: 1.445 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.608e-06/0.7656, allocations: 4 kB / 0.5939 GB, free: 1.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.7656, allocations: 7.438 kB / 0.5939 GB, free: 1.434 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.7656, allocations: 0 / 0.5939 GB, free: 1.434 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.7814, allocations: 2.774 MB / 0.5966 GB, free: 14.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.7816, allocations: 179.9 kB / 0.5968 GB, free: 14.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.408, allocations: 4 kB / 0.5968 GB, free: 14.46 MB / 426.7 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat