Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001184, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.2 MB / 245 MB, free: 7.672 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 95.7 kB / 297.3 MB, free: 6.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4588/0.4588, allocations: 45.24 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003005, allocations: 8 kB / 468.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4609, allocations: 63.24 MB / 0.5193 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.5918, allocations: 91.52 MB / 0.6086 GB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5922, allocations: 75.92 kB / 0.6087 GB, free: 14.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08722/0.6794, allocations: 30.47 MB / 0.6385 GB, free: 15.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6795, allocations: 0 / 0.6385 GB, free: 15.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.6795, allocations: 0 / 0.6385 GB, free: 15.58 MB / 458.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.0007809/0.6803, allocations: 416.8 kB / 0.6389 GB, free: 15.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.6803, allocations: 8.031 kB / 0.6389 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.6804, allocations: 34.56 kB / 0.6389 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.6804, allocations: 0 / 0.6389 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6806, allocations: 171 kB / 0.6391 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.6806, allocations: 0 / 0.6391 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6806, allocations: 4 kB / 0.6391 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.6807, allocations: 29.7 kB / 0.6391 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6808, allocations: 0 / 0.6391 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.6808, allocations: 0 / 0.6391 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6808, allocations: 0 / 0.6391 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.6808, allocations: 0 / 0.6391 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.681, allocations: 153.6 kB / 0.6392 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.6811, allocations: 22.5 kB / 0.6393 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.6811, allocations: 4 kB / 0.6393 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/0.6812, allocations: 60.36 kB / 0.6393 GB, free: 14.51 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6812, allocations: 0 / 0.6393 GB, free: 14.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002001/0.6814, allocations: 59.41 kB / 0.6394 GB, free: 14.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.6814, allocations: 81.11 kB / 0.6395 GB, free: 14.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.6815, allocations: 88.98 kB / 0.6396 GB, free: 14.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.6815, allocations: 25.7 kB / 0.6396 GB, free: 14.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.6816, allocations: 84.27 kB / 0.6397 GB, free: 14.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.6816, allocations: 0 / 0.6397 GB, free: 14.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.6816, allocations: 0 / 0.6397 GB, free: 14.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6818, allocations: 314.8 kB / 0.64 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.6818, allocations: 4 kB / 0.64 GB, free: 13.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.6818, allocations: 7.875 kB / 0.64 GB, free: 13.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.6819, allocations: 25.7 kB / 0.64 GB, free: 13.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6819, allocations: 0 / 0.64 GB, free: 13.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.654e-05/0.6819, allocations: 75.41 kB / 0.6401 GB, free: 13.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.682, allocations: 29.7 kB / 0.6401 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.682, allocations: 0 / 0.6401 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.682, allocations: 4 kB / 0.6401 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.682, allocations: 0 / 0.6401 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.682, allocations: 0 / 0.6401 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.6821, allocations: 0 / 0.6401 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.6821, allocations: 0 / 0.6401 GB, free: 13.65 MB / 458.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 9.67e-05/0.6822, allocations: 135.5 kB / 0.6402 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.6822, allocations: 3.953 kB / 0.6402 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.205e-05/0.6822, allocations: 11.14 kB / 0.6402 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6822, allocations: 0 / 0.6402 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6822, allocations: 3.938 kB / 0.6402 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6822, allocations: 0 / 0.6402 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.971e-05/0.6823, allocations: 149.7 kB / 0.6404 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6824, allocations: 4 kB / 0.6404 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-07/0.6824, allocations: 0 / 0.6404 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.6824, allocations: 3.953 kB / 0.6404 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.6824, allocations: 0 / 0.6404 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6824, allocations: 3.984 kB / 0.6404 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6824, allocations: 8 kB / 0.6404 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.6825, allocations: 82.84 kB / 0.6405 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.6826, allocations: 77.11 kB / 0.6406 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.6826, allocations: 11.94 kB / 0.6406 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.6826, allocations: 0 / 0.6406 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.6826, allocations: 0 / 0.6406 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.6826, allocations: 0 / 0.6406 GB, free: 13.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.372e-05/0.6827, allocations: 79.31 kB / 0.6406 GB, free: 12.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6827, allocations: 0 / 0.6406 GB, free: 12.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000388/0.683, allocations: 79.78 kB / 0.6407 GB, free: 12.9 MB / 458.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.002093/0.6851, allocations: 1.071 MB / 0.6418 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.711e-05/0.6853, allocations: 59.39 kB / 0.6418 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6853, allocations: 0 / 0.6418 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.6853, allocations: 59.34 kB / 0.6419 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.601e-05/0.6854, allocations: 10.86 kB / 0.6419 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.6858, allocations: 154.8 kB / 0.642 GB, free: 11.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.6861, allocations: 0.677 MB / 0.6427 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.591e-06/0.6861, allocations: 0 / 0.6427 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.6861, allocations: 7.438 kB / 0.6427 GB, free: 10.82 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6861, allocations: 0 / 0.6427 GB, free: 10.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.7021, allocations: 2.76 MB / 0.6454 GB, free: 8.164 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.7024, allocations: 210.7 kB / 0.6456 GB, free: 7.922 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.514, allocations: 0 / 0.6456 GB, free: 7.922 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat