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.00112/0.00112, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.709/1.709, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009617/0.0009617, allocations: 90.8 kB / 270.2 MB, free: 13.37 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.2283/0.2283, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 58.87 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5595, allocations: 89.37 MB / 0.5661 GB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.5597, allocations: 61.95 kB / 0.5662 GB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08632/0.6461, allocations: 30.36 MB / 0.5958 GB, free: 68 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6461, allocations: 3.938 kB / 0.5958 GB, free: 64 kB / 394.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.6461, allocations: 0 / 0.5958 GB, free: 64 kB / 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.000656/0.6468, allocations: 412.9 kB / 0.5962 GB, free: 15.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6469, allocations: 12.03 kB / 0.5962 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.6469, allocations: 30.56 kB / 0.5963 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.647, allocations: 11.75 kB / 0.5963 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.574e-05/0.6471, allocations: 167 kB / 0.5964 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.6471, allocations: 4 kB / 0.5964 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.6471, allocations: 0 / 0.5964 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.6472, allocations: 29.7 kB / 0.5965 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6472, allocations: 0 / 0.5965 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.6472, allocations: 0 / 0.5965 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.6472, allocations: 0 / 0.5965 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.6473, allocations: 4 kB / 0.5965 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.6474, allocations: 145.6 kB / 0.5966 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.6475, allocations: 30.19 kB / 0.5966 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.6475, allocations: 0 / 0.5966 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.6476, allocations: 60.36 kB / 0.5967 GB, free: 15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.6476, allocations: 0 / 0.5967 GB, free: 15 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001788/0.6478, allocations: 59.41 kB / 0.5968 GB, free: 14.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.6478, allocations: 81.05 kB / 0.5968 GB, free: 14.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.109e-05/0.6479, allocations: 92.23 kB / 0.5969 GB, free: 14.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.6479, allocations: 25.83 kB / 0.597 GB, free: 14.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.6479, allocations: 84.14 kB / 0.597 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.648, allocations: 0 / 0.597 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.648, allocations: 0 / 0.597 GB, free: 14.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6481, allocations: 314.8 kB / 0.5973 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.6481, allocations: 0 / 0.5973 GB, free: 14.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.6481, allocations: 0 / 0.5973 GB, free: 14.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.6482, allocations: 25.7 kB / 0.5974 GB, free: 14.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6482, allocations: 4 kB / 0.5974 GB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.845e-05/0.6483, allocations: 71.34 kB / 0.5974 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.6483, allocations: 33.7 kB / 0.5975 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6483, allocations: 0 / 0.5975 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6483, allocations: 0 / 0.5975 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.6483, allocations: 0 / 0.5975 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.6483, allocations: 3.938 kB / 0.5975 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.6484, allocations: 0 / 0.5975 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.6484, allocations: 0 / 0.5975 GB, free: 14.15 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 () * 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 8.947e-05/0.6485, allocations: 139.5 kB / 0.5976 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.6485, allocations: 7.984 kB / 0.5976 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.6485, allocations: 11.05 kB / 0.5976 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.6485, allocations: 7.922 kB / 0.5976 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6485, allocations: 0 / 0.5976 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6485, allocations: 4 kB / 0.5976 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.651e-05/0.6486, allocations: 145.6 kB / 0.5978 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6486, allocations: 0 / 0.5978 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.6486, allocations: 0 / 0.5978 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6487, allocations: 3.953 kB / 0.5978 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.6487, allocations: 0 / 0.5978 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6487, allocations: 11.98 kB / 0.5978 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6487, allocations: 3.984 kB / 0.5978 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.088e-05/0.6488, allocations: 82.22 kB / 0.5979 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.6488, allocations: 77.11 kB / 0.5979 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.6488, allocations: 11.94 kB / 0.5979 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.6489, allocations: 0 / 0.5979 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.6489, allocations: 7.938 kB / 0.598 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.6489, allocations: 0 / 0.598 GB, free: 13.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.6489, allocations: 79.31 kB / 0.598 GB, free: 13.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6489, allocations: 0 / 0.598 GB, free: 13.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.6493, allocations: 67.2 kB / 0.5981 GB, free: 13.41 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) * 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.001996/0.6513, allocations: 1.069 MB / 0.5991 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.6514, allocations: 66.64 kB / 0.5992 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6514, allocations: 0.75 kB / 0.5992 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.6514, allocations: 55.41 kB / 0.5993 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.219e-05/0.6515, allocations: 7.75 kB / 0.5993 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.6519, allocations: 136.3 kB / 0.5994 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.6522, allocations: 0.677 MB / 0.6001 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.151e-06/0.6522, allocations: 0 / 0.6001 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.6522, allocations: 11.56 kB / 0.6001 GB, free: 11.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6522, allocations: 0 / 0.6001 GB, free: 11.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.6679, allocations: 2.769 MB / 0.6028 GB, free: 8.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.6682, allocations: 201.5 kB / 0.603 GB, free: 8.332 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.279, allocations: 4 kB / 0.603 GB, free: 8.328 MB / 410.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