Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Math_TestColorMapToSvg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestColorMapToSvg,fileNamePrefix="ModelicaTest_3_2_3_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.001137/0.001137, allocations: 178.3 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000903/0.0009031, allocations: 78.17 kB / 261.7 MB, free: 1.695 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.2605/0.2605, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.511e-05, allocations: 4 kB / 418.3 MB, free: 28.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1489, allocations: 58.86 MB / 477.2 MB, free: 1.574 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5145/0.6635, allocations: 88.62 MB / 0.5526 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.6637, allocations: 67.78 kB / 0.5526 GB, free: 6.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08868/0.7524, allocations: 29.95 MB / 0.5819 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7525, allocations: 0 / 0.5819 GB, free: 13.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.7525, allocations: 0 / 0.5819 GB, free: 13.11 MB / 394.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.0007235/0.7532, allocations: 415.2 kB / 0.5823 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.7533, allocations: 8.031 kB / 0.5823 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.7534, allocations: 8 kB / 0.5823 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.7535, allocations: 167 kB / 0.5824 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.7535, allocations: 4 kB / 0.5824 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.7535, allocations: 0 / 0.5824 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.35e-05/0.7536, allocations: 3.938 kB / 0.5825 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.765e-05/0.7536, allocations: 25.7 kB / 0.5825 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.7537, allocations: 4 kB / 0.5825 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.7537, allocations: 0 / 0.5825 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.7537, allocations: 0 / 0.5825 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.7538, allocations: 133.6 kB / 0.5826 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.587e-05/0.7539, allocations: 14.58 kB / 0.5826 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.7539, allocations: 8.953 kB / 0.5826 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.7539, allocations: 3.984 kB / 0.5826 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.754, allocations: 60.2 kB / 0.5827 GB, free: 12.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.754, allocations: 0 / 0.5827 GB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001902/0.7542, allocations: 29.7 kB / 0.5827 GB, free: 12.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.7542, allocations: 88.52 kB / 0.5828 GB, free: 11.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.7543, allocations: 85 kB / 0.5829 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.7543, allocations: 25.7 kB / 0.5829 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.7544, allocations: 84.08 kB / 0.583 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.7544, allocations: 0 / 0.583 GB, free: 11.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.7544, allocations: 0 / 0.583 GB, free: 11.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7546, allocations: 314.8 kB / 0.5833 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.7546, allocations: 4 kB / 0.5833 GB, free: 11.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.7546, allocations: 4 kB / 0.5833 GB, free: 11.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.7547, allocations: 0 / 0.5833 GB, free: 11.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7547, allocations: 0 / 0.5833 GB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.435e-05/0.7547, allocations: 45.34 kB / 0.5833 GB, free: 11.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.7548, allocations: 29.7 kB / 0.5834 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7548, allocations: 0 / 0.5834 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7548, allocations: 0 / 0.5834 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.7548, allocations: 3.938 kB / 0.5834 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.7549, allocations: 7.969 kB / 0.5834 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.7549, allocations: 4.094 kB / 0.5834 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.7549, allocations: 4 kB / 0.5834 GB, free: 11.35 MB / 394.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.702e-05/0.755, allocations: 126.7 kB / 0.5835 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.087e-05/0.7551, allocations: 41.66 kB / 0.5835 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.7551, allocations: 3.984 kB / 0.5836 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.7551, allocations: 7.734 kB / 0.5836 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7551, allocations: 0 / 0.5836 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7552, allocations: 0 / 0.5836 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7552, allocations: 0 / 0.5836 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.7553, allocations: 129.5 kB / 0.5837 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.7553, allocations: 8.031 kB / 0.5837 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.7553, allocations: 0 / 0.5837 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.7553, allocations: 3.953 kB / 0.5837 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.7553, allocations: 3.938 kB / 0.5837 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.7553, allocations: 0 / 0.5837 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7553, allocations: 0 / 0.5837 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.774e-05/0.7554, allocations: 64.5 kB / 0.5838 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.7555, allocations: 81.14 kB / 0.5838 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.7555, allocations: 7.953 kB / 0.5838 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.7555, allocations: 0 / 0.5838 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.7555, allocations: 3.984 kB / 0.5838 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7555, allocations: 4 kB / 0.5839 GB, free: 10.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.166e-05/0.7556, allocations: 79.22 kB / 0.5839 GB, free: 10.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7556, allocations: 0 / 0.5839 GB, free: 10.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.756, allocations: 59.3 kB / 0.584 GB, free: 10.66 MB / 394.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.002089/0.7581, allocations: 1.031 MB / 0.585 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.7582, allocations: 59.41 kB / 0.585 GB, free: 9.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7582, allocations: 4 kB / 0.5851 GB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/0.7582, allocations: 55.34 kB / 0.5851 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.7584, allocations: 7.953 kB / 0.5851 GB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.7588, allocations: 116.7 kB / 0.5852 GB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.7592, allocations: 0.6729 MB / 0.5859 GB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.374e-06/0.7592, allocations: 0 / 0.5859 GB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.7592, allocations: 7.438 kB / 0.5859 GB, free: 8.625 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7592, allocations: 0 / 0.5859 GB, free: 8.625 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.7824, allocations: 2.494 MB / 0.5883 GB, free: 6.133 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.7827, allocations: 160.4 kB / 0.5885 GB, free: 5.934 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.336, allocations: 8 kB / 0.5885 GB, free: 5.926 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestColorMapToSvg.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestColorMapToSvg_res.mat does not exist to compare? outputFormat=mat