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.001264/0.001264, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008646/0.0008646, allocations: 86.62 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1887/0.1887, allocations: 45.14 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.473e-05, allocations: 0 / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.09942, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.4467, allocations: 91.45 MB / 0.6008 GB, free: 2.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.447, allocations: 62.59 kB / 0.6008 GB, free: 2.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08048/0.5275, allocations: 30.39 MB / 0.6305 GB, free: 8.051 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5275, allocations: 7.938 kB / 0.6305 GB, free: 8.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.5275, allocations: 0 / 0.6305 GB, free: 8.043 MB / 426.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.0004841/0.528, allocations: 403.7 kB / 0.6309 GB, free: 7.602 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.528, allocations: 11.97 kB / 0.6309 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.5281, allocations: 34.56 kB / 0.6309 GB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.5281, allocations: 0 / 0.6309 GB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.5282, allocations: 170.3 kB / 0.6311 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.5282, allocations: 0 / 0.6311 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.5282, allocations: 0 / 0.6311 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.866e-05/0.5283, allocations: 37.69 kB / 0.6311 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5283, allocations: 0 / 0.6311 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.5283, allocations: 0 / 0.6311 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5284, allocations: 0 / 0.6311 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.5284, allocations: 3.938 kB / 0.6311 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.5285, allocations: 149.6 kB / 0.6313 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.545e-05/0.5286, allocations: 18.02 kB / 0.6313 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.5286, allocations: 12.95 kB / 0.6313 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.732e-06/0.5286, allocations: 0 / 0.6313 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.5286, allocations: 60.25 kB / 0.6314 GB, free: 6.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5287, allocations: 0 / 0.6314 GB, free: 6.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.5288, allocations: 63.34 kB / 0.6314 GB, free: 6.914 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.5289, allocations: 80.48 kB / 0.6315 GB, free: 6.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.299e-05/0.5289, allocations: 85 kB / 0.6316 GB, free: 6.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5289, allocations: 25.7 kB / 0.6316 GB, free: 6.699 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.529, allocations: 84.17 kB / 0.6317 GB, free: 6.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.529, allocations: 0 / 0.6317 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-06/0.529, allocations: 0 / 0.6317 GB, free: 6.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5291, allocations: 314.8 kB / 0.632 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.5291, allocations: 0 / 0.632 GB, free: 6.297 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.5292, allocations: 0 / 0.632 GB, free: 6.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.5292, allocations: 29.69 kB / 0.632 GB, free: 6.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5292, allocations: 7.953 kB / 0.632 GB, free: 6.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.126e-05/0.5293, allocations: 66.84 kB / 0.6321 GB, free: 6.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.5293, allocations: 33.7 kB / 0.6321 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5293, allocations: 0 / 0.6321 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5293, allocations: 0 / 0.6321 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.5294, allocations: 0 / 0.6321 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5294, allocations: 7.969 kB / 0.6321 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.5294, allocations: 0 / 0.6321 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.5294, allocations: 0 / 0.6321 GB, free: 6.133 MB / 426.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 7.768e-05/0.5295, allocations: 130.7 kB / 0.6323 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.5295, allocations: 7.984 kB / 0.6323 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-06/0.5295, allocations: 11 kB / 0.6323 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.5295, allocations: 0 / 0.6323 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5295, allocations: 4 kB / 0.6323 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.5295, allocations: 0 / 0.6323 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.712e-05/0.5296, allocations: 149.2 kB / 0.6324 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5296, allocations: 0 / 0.6324 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.5296, allocations: 3.953 kB / 0.6324 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.5296, allocations: 0 / 0.6324 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.5296, allocations: 0 / 0.6324 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5297, allocations: 4 kB / 0.6324 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5297, allocations: 4 kB / 0.6324 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.5298, allocations: 94.14 kB / 0.6325 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.5298, allocations: 85.09 kB / 0.6326 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5298, allocations: 3.953 kB / 0.6326 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-06/0.5298, allocations: 0 / 0.6326 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.5299, allocations: 0 / 0.6326 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.5299, allocations: 0 / 0.6326 GB, free: 5.551 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.5299, allocations: 79.31 kB / 0.6327 GB, free: 5.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5299, allocations: 4 kB / 0.6327 GB, free: 5.469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003603/0.5303, allocations: 67.47 kB / 0.6327 GB, free: 5.406 MB / 426.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.001973/0.5323, allocations: 1.066 MB / 0.6338 GB, free: 4.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.5324, allocations: 55.41 kB / 0.6338 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5324, allocations: 0 / 0.6338 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.5324, allocations: 58.72 kB / 0.6339 GB, free: 4.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.748e-05/0.5325, allocations: 8.078 kB / 0.6339 GB, free: 4.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.5328, allocations: 118.6 kB / 0.634 GB, free: 4.074 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.5331, allocations: 0.677 MB / 0.6347 GB, free: 3.371 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.839e-06/0.5332, allocations: 0 / 0.6347 GB, free: 3.371 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.5332, allocations: 7.438 kB / 0.6347 GB, free: 3.367 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5332, allocations: 3.938 kB / 0.6347 GB, free: 3.363 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.5464, allocations: 2.777 MB / 0.6374 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5466, allocations: 185.2 kB / 0.6376 GB, free: 464 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.385/1.932, allocations: 3.938 kB / 0.6376 GB, free: 460 kB / 426.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