Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009744, allocations: 98.25 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4176/0.4176, allocations: 44.22 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 8 kB / 460 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.454, allocations: 61.9 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.5843, allocations: 90.48 MB / 0.598 GB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5846, allocations: 63.95 kB / 0.5981 GB, free: 4.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08615/0.6708, allocations: 30.48 MB / 0.6278 GB, free: 6.066 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6708, allocations: 0 / 0.6278 GB, free: 6.066 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.6708, allocations: 0 / 0.6278 GB, free: 6.066 MB / 442.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.0005928/0.6714, allocations: 416.9 kB / 0.6282 GB, free: 5.605 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.6715, allocations: 8.031 kB / 0.6282 GB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.6715, allocations: 34.56 kB / 0.6283 GB, free: 5.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.6716, allocations: 7.906 kB / 0.6283 GB, free: 5.547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.316e-05/0.6717, allocations: 159.1 kB / 0.6284 GB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.6717, allocations: 0 / 0.6284 GB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6717, allocations: 7.891 kB / 0.6284 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.6718, allocations: 37.67 kB / 0.6285 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.6718, allocations: 0 / 0.6285 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.6718, allocations: 0 / 0.6285 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6718, allocations: 4 kB / 0.6285 GB, free: 5.297 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.6718, allocations: 0 / 0.6285 GB, free: 5.297 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.672, allocations: 149.7 kB / 0.6286 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.75e-05/0.672, allocations: 18.58 kB / 0.6286 GB, free: 5.074 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.672, allocations: 3.938 kB / 0.6286 GB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.6721, allocations: 68.3 kB / 0.6287 GB, free: 4.988 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.6721, allocations: 0 / 0.6287 GB, free: 4.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.6722, allocations: 59.41 kB / 0.6287 GB, free: 4.918 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.6723, allocations: 81.11 kB / 0.6288 GB, free: 4.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.677e-05/0.6723, allocations: 85 kB / 0.6289 GB, free: 4.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6724, allocations: 25.7 kB / 0.6289 GB, free: 4.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.6724, allocations: 84.14 kB / 0.629 GB, free: 4.613 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.6724, allocations: 0 / 0.629 GB, free: 4.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.6724, allocations: 0 / 0.629 GB, free: 4.613 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6725, allocations: 314.8 kB / 0.6293 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.6726, allocations: 8.125 kB / 0.6293 GB, free: 4.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.6726, allocations: 3.938 kB / 0.6293 GB, free: 4.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.6726, allocations: 29.64 kB / 0.6293 GB, free: 4.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6726, allocations: 0 / 0.6293 GB, free: 4.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.789e-05/0.6727, allocations: 59.41 kB / 0.6294 GB, free: 4.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.6727, allocations: 29.7 kB / 0.6294 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6727, allocations: 4 kB / 0.6294 GB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6727, allocations: 7.938 kB / 0.6294 GB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.6727, allocations: 0 / 0.6294 GB, free: 4.133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6727, allocations: 8.078 kB / 0.6295 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.6728, allocations: 7.938 kB / 0.6295 GB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.6728, allocations: 0 / 0.6295 GB, free: 4.117 MB / 442.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 7.599e-05/0.6729, allocations: 136.1 kB / 0.6296 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.6729, allocations: 0 / 0.6296 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.6729, allocations: 3.125 kB / 0.6296 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.6729, allocations: 0 / 0.6296 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6729, allocations: 3.953 kB / 0.6296 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.6729, allocations: 0 / 0.6296 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.173e-05/0.673, allocations: 153.7 kB / 0.6297 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.673, allocations: 0 / 0.6297 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-06/0.673, allocations: 3.938 kB / 0.6297 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.673, allocations: 0 / 0.6297 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.673, allocations: 0 / 0.6297 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.673, allocations: 0 / 0.6297 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.673, allocations: 4 kB / 0.6297 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.378e-05/0.6731, allocations: 90.78 kB / 0.6298 GB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.6732, allocations: 81.14 kB / 0.6299 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.6732, allocations: 4 kB / 0.6299 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.6732, allocations: 0 / 0.6299 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.6732, allocations: 0 / 0.6299 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.6732, allocations: 4 kB / 0.6299 GB, free: 3.539 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.491e-05/0.6733, allocations: 79.23 kB / 0.63 GB, free: 3.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6733, allocations: 0 / 0.63 GB, free: 3.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.6736, allocations: 75.84 kB / 0.6301 GB, free: 3.387 MB / 442.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.002001/0.6756, allocations: 1.081 MB / 0.6311 GB, free: 2.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.621e-05/0.6757, allocations: 63.34 kB / 0.6312 GB, free: 2.273 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6757, allocations: 0 / 0.6312 GB, free: 2.273 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.6758, allocations: 59.39 kB / 0.6312 GB, free: 2.203 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.17e-05/0.6759, allocations: 3.938 kB / 0.6312 GB, free: 2.199 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.6762, allocations: 144.3 kB / 0.6314 GB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.6764, allocations: 0.6809 MB / 0.632 GB, free: 1.309 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.861e-06/0.6765, allocations: 0 / 0.632 GB, free: 1.309 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.151e-05/0.6765, allocations: 11.56 kB / 0.6321 GB, free: 1.297 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6765, allocations: 0 / 0.6321 GB, free: 1.297 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.6919, allocations: 2.773 MB / 0.6348 GB, free: 14.61 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.6922, allocations: 215 kB / 0.635 GB, free: 14.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.327, allocations: 0 / 0.635 GB, free: 14.37 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat