Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002183/0.002183, allocations: 184.8 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001184/0.001184, allocations: 100.5 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5755/0.5755, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009039/0.0009036, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1455, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5217/0.6673, allocations: 89.38 MB / 0.5661 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.6676, allocations: 67.97 kB / 0.5662 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.145/0.8127, allocations: 30.36 MB / 0.5958 GB, free: 14.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.8127, allocations: 0 / 0.5958 GB, free: 14.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.8127, allocations: 0 / 0.5958 GB, free: 14.78 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.0007101/0.8135, allocations: 421.8 kB / 0.5962 GB, free: 14.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.8135, allocations: 12.03 kB / 0.5962 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.8136, allocations: 42.42 kB / 0.5963 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.8136, allocations: 3.438 kB / 0.5963 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.8137, allocations: 159.1 kB / 0.5964 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.8138, allocations: 0 / 0.5964 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.8138, allocations: 0 / 0.5964 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.8139, allocations: 29.7 kB / 0.5964 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8139, allocations: 0 / 0.5964 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8139, allocations: 11.98 kB / 0.5965 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.8139, allocations: 0 / 0.5965 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/0.814, allocations: 5.031 kB / 0.5965 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.8142, allocations: 149.6 kB / 0.5966 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.8142, allocations: 22.52 kB / 0.5966 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.8142, allocations: 0 / 0.5966 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.8143, allocations: 60.36 kB / 0.5967 GB, free: 13.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.8143, allocations: 4 kB / 0.5967 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001996/0.8145, allocations: 63.39 kB / 0.5967 GB, free: 13.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.8146, allocations: 81.05 kB / 0.5968 GB, free: 13.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.8147, allocations: 89 kB / 0.5969 GB, free: 13.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.8147, allocations: 25.7 kB / 0.5969 GB, free: 13.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.8148, allocations: 150.6 kB / 0.5971 GB, free: 13.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.8148, allocations: 0.9375 kB / 0.5971 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.8148, allocations: 0 / 0.5971 GB, free: 13.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8149, allocations: 319 kB / 0.5974 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.815, allocations: 0 / 0.5974 GB, free: 12.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.815, allocations: 0 / 0.5974 GB, free: 12.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.815, allocations: 25.7 kB / 0.5974 GB, free: 12.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.815, allocations: 4 kB / 0.5974 GB, free: 12.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.481e-05/0.8151, allocations: 67.34 kB / 0.5975 GB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.8152, allocations: 33.7 kB / 0.5975 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8152, allocations: 0 / 0.5975 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.8152, allocations: 0 / 0.5975 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-06/0.8152, allocations: 4.094 kB / 0.5975 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.8153, allocations: 0 / 0.5975 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.8153, allocations: 0 / 0.5975 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.8153, allocations: 3.938 kB / 0.5975 GB, free: 12.78 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 () * 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 0.0001125/0.8154, allocations: 143.5 kB / 0.5976 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.8155, allocations: 13.86 kB / 0.5977 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.8155, allocations: 3.125 kB / 0.5977 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8155, allocations: 0 / 0.5977 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8155, allocations: 0 / 0.5977 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8155, allocations: 8 kB / 0.5977 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.8156, allocations: 145.7 kB / 0.5978 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.8157, allocations: 0 / 0.5978 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-06/0.8157, allocations: 0 / 0.5978 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.8157, allocations: 3.953 kB / 0.5978 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.8157, allocations: 0 / 0.5978 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8157, allocations: 4 kB / 0.5978 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8157, allocations: 0 / 0.5978 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.8159, allocations: 90.83 kB / 0.5979 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.8159, allocations: 77.11 kB / 0.598 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.816, allocations: 7.953 kB / 0.598 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.816, allocations: 4 kB / 0.598 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.816, allocations: 3.938 kB / 0.598 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.816, allocations: 0 / 0.598 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.8161, allocations: 75.28 kB / 0.5981 GB, free: 12.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8161, allocations: 0 / 0.5981 GB, free: 12.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006083/0.8167, allocations: 67.91 kB / 0.5981 GB, free: 12.04 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) * 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.003234/0.8199, allocations: 1.074 MB / 0.5992 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.8201, allocations: 63.34 kB / 0.5992 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8201, allocations: 0 / 0.5992 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.8202, allocations: 55.47 kB / 0.5993 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.8203, allocations: 8.766 kB / 0.5993 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.8209, allocations: 168.7 kB / 0.5995 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.8212, allocations: 0.6731 MB / 0.6001 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.8213, allocations: 7.438 kB / 0.6001 GB, free: 9.934 MB / 426.7 MB Notification: Performance of SimCode: time 9.71e-07/0.8213, allocations: 3.938 kB / 0.6001 GB, free: 9.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.63, allocations: 2.802 MB / 0.6029 GB, free: 7.129 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat