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.001286/0.001286, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 92 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 45.14 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.641e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.567, allocations: 90.78 MB / 0.5931 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5673, allocations: 66.47 kB / 0.5932 GB, free: 11.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08885/0.6562, allocations: 30.04 MB / 0.6225 GB, free: 2.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6562, allocations: 0 / 0.6225 GB, free: 2.184 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.6562, allocations: 0 / 0.6225 GB, free: 2.184 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.0006267/0.6568, allocations: 402 kB / 0.6229 GB, free: 1.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6569, allocations: 16.03 kB / 0.6229 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.6569, allocations: 0 / 0.6229 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.6571, allocations: 167 kB / 0.6231 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6571, allocations: 0 / 0.6231 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.6571, allocations: 0 / 0.6231 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.642e-05/0.6572, allocations: 7.922 kB / 0.6231 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.047e-05/0.6572, allocations: 29.7 kB / 0.6231 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.6573, allocations: 0 / 0.6231 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.6573, allocations: 0 / 0.6231 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6573, allocations: 0 / 0.6231 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.6574, allocations: 132.8 kB / 0.6232 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.6575, allocations: 18.61 kB / 0.6232 GB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.6575, allocations: 4.859 kB / 0.6233 GB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.6575, allocations: 3.938 kB / 0.6233 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.6576, allocations: 60.25 kB / 0.6233 GB, free: 1.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.6576, allocations: 64 / 0.6233 GB, free: 1.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001849/0.6578, allocations: 41.08 kB / 0.6234 GB, free: 1.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.6578, allocations: 77.11 kB / 0.6234 GB, free: 1.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.6579, allocations: 85 kB / 0.6235 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.6579, allocations: 25.7 kB / 0.6235 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.658, allocations: 80.14 kB / 0.6236 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.658, allocations: 4 kB / 0.6236 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.658, allocations: 0 / 0.6236 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6581, allocations: 310.8 kB / 0.6239 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-06/0.6581, allocations: 3.188 kB / 0.6239 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-06/0.6581, allocations: 4.031 kB / 0.6239 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.6582, allocations: 3.984 kB / 0.6239 GB, free: 0.543 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6582, allocations: 7.938 kB / 0.6239 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.983e-05/0.6583, allocations: 37.59 kB / 0.624 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.6584, allocations: 29.7 kB / 0.624 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6584, allocations: 4 kB / 0.624 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6584, allocations: 0 / 0.624 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.6584, allocations: 0 / 0.624 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.6584, allocations: 0 / 0.624 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.6584, allocations: 4.094 kB / 0.624 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6584, allocations: 0 / 0.624 GB, free: 460 kB / 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 9.912e-05/0.6585, allocations: 137.4 kB / 0.6241 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.217e-05/0.6586, allocations: 41.16 kB / 0.6242 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.6586, allocations: 4 kB / 0.6242 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18e-05/0.6587, allocations: 3.75 kB / 0.6242 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6587, allocations: 0 / 0.6242 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6587, allocations: 3.938 kB / 0.6242 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6587, allocations: 11.97 kB / 0.6242 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.793e-05/0.6588, allocations: 126.3 kB / 0.6243 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6588, allocations: 3.938 kB / 0.6243 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.6588, allocations: 0 / 0.6243 GB, free: 76 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.6588, allocations: 3.953 kB / 0.6243 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.6588, allocations: 0 / 0.6243 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6588, allocations: 4 kB / 0.6243 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6588, allocations: 0 / 0.6243 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.6589, allocations: 64.5 kB / 0.6244 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.659, allocations: 77.11 kB / 0.6245 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.659, allocations: 3.953 kB / 0.6245 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.659, allocations: 4 kB / 0.6245 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.6591, allocations: 0 / 0.6245 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.6591, allocations: 0 / 0.6245 GB, free: 15.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.6591, allocations: 75.28 kB / 0.6245 GB, free: 15.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6591, allocations: 0 / 0.6245 GB, free: 15.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003919/0.6595, allocations: 74.78 kB / 0.6246 GB, free: 15.75 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.002221/0.6617, allocations: 1.039 MB / 0.6256 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.264e-05/0.6618, allocations: 58.09 kB / 0.6257 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6619, allocations: 3.938 kB / 0.6257 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.6619, allocations: 55.41 kB / 0.6257 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.113e-05/0.662, allocations: 8.078 kB / 0.6257 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.6624, allocations: 112.3 kB / 0.6258 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.6627, allocations: 0.6768 MB / 0.6265 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.584e-06/0.6627, allocations: 0 / 0.6265 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.6627, allocations: 15.38 kB / 0.6265 GB, free: 13.72 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6627, allocations: 0 / 0.6265 GB, free: 13.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.6888, allocations: 2.496 MB / 0.629 GB, free: 11.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/0.6891, allocations: 156.7 kB / 0.6291 GB, free: 11.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.144, allocations: 0 / 0.6291 GB, free: 11.04 MB / 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