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.001445/0.001445, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.582/1.582, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.73 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.455e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.163, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/0.6734, allocations: 90.41 MB / 0.5901 GB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.6737, allocations: 59.97 kB / 0.5901 GB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09064/0.7644, allocations: 30.41 MB / 0.6198 GB, free: 376 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7644, allocations: 0 / 0.6198 GB, free: 376 kB / 426.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.7644, allocations: 0 / 0.6198 GB, free: 376 kB / 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.0008244/0.7653, allocations: 404.1 kB / 0.6202 GB, free: 15.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.7653, allocations: 12.03 kB / 0.6202 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.7654, allocations: 30.56 kB / 0.6203 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.7654, allocations: 0 / 0.6203 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7656, allocations: 159.1 kB / 0.6204 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.7656, allocations: 4 kB / 0.6204 GB, free: 15.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.7656, allocations: 7.938 kB / 0.6204 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.7657, allocations: 29.7 kB / 0.6204 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.7658, allocations: 0 / 0.6204 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.7658, allocations: 0 / 0.6204 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7658, allocations: 0 / 0.6204 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.7658, allocations: 7.938 kB / 0.6204 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.766, allocations: 145.7 kB / 0.6206 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.682e-05/0.7661, allocations: 30.61 kB / 0.6206 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.7661, allocations: 4.859 kB / 0.6206 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.7661, allocations: 3.984 kB / 0.6206 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.7662, allocations: 60.22 kB / 0.6207 GB, free: 15.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.7662, allocations: 0 / 0.6207 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002036/0.7664, allocations: 63.34 kB / 0.6207 GB, free: 15.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.7664, allocations: 77.11 kB / 0.6208 GB, free: 15.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.7665, allocations: 89.03 kB / 0.6209 GB, free: 15.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.7665, allocations: 29.7 kB / 0.6209 GB, free: 15.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.7666, allocations: 80.14 kB / 0.621 GB, free: 14.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.7666, allocations: 4 kB / 0.621 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.7666, allocations: 0 / 0.621 GB, free: 14.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.7668, allocations: 314.8 kB / 0.6213 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.7668, allocations: 0 / 0.6213 GB, free: 14.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.7668, allocations: 0 / 0.6213 GB, free: 14.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.7669, allocations: 33.77 kB / 0.6213 GB, free: 14.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7669, allocations: 0 / 0.6213 GB, free: 14.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.648e-05/0.767, allocations: 63.34 kB / 0.6214 GB, free: 14.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.767, allocations: 33.64 kB / 0.6214 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7671, allocations: 3.984 kB / 0.6214 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7671, allocations: 3.953 kB / 0.6214 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.7671, allocations: 0 / 0.6214 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.7671, allocations: 3.984 kB / 0.6214 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.7671, allocations: 0 / 0.6214 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.7671, allocations: 4 kB / 0.6215 GB, free: 14.44 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 () * 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.0001036/0.7673, allocations: 134.7 kB / 0.6216 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.7673, allocations: 0 / 0.6216 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.251e-05/0.7673, allocations: 7.125 kB / 0.6216 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.7673, allocations: 3.953 kB / 0.6216 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7673, allocations: 4 kB / 0.6216 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7673, allocations: 0 / 0.6216 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.7675, allocations: 145.7 kB / 0.6217 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7675, allocations: 0 / 0.6217 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.7675, allocations: 0 / 0.6217 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7675, allocations: 4 kB / 0.6217 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.7675, allocations: 4 kB / 0.6217 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7675, allocations: 3.938 kB / 0.6217 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7675, allocations: 3.953 kB / 0.6217 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.7676, allocations: 94.77 kB / 0.6218 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.7677, allocations: 77.11 kB / 0.6219 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.7677, allocations: 3.984 kB / 0.6219 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.7677, allocations: 0 / 0.6219 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.7678, allocations: 4.031 kB / 0.6219 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.7678, allocations: 7.953 kB / 0.6219 GB, free: 13.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.937e-05/0.7678, allocations: 75.28 kB / 0.622 GB, free: 13.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7678, allocations: 0 / 0.622 GB, free: 13.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.7683, allocations: 67.92 kB / 0.6221 GB, free: 13.71 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) * 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.002322/0.7706, allocations: 1.074 MB / 0.6231 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.7707, allocations: 59.41 kB / 0.6232 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.7707, allocations: 4.062 kB / 0.6232 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.7708, allocations: 55.41 kB / 0.6232 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.181e-05/0.7709, allocations: 0 / 0.6232 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.7713, allocations: 131.1 kB / 0.6234 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.7717, allocations: 0.6692 MB / 0.624 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.362e-06/0.7717, allocations: 0 / 0.624 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.7717, allocations: 11.44 kB / 0.624 GB, free: 11.65 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7717, allocations: 0 / 0.624 GB, free: 11.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.7883, allocations: 2.764 MB / 0.6267 GB, free: 8.953 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.7885, allocations: 191.2 kB / 0.6269 GB, free: 8.719 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.481, allocations: 0 / 0.6269 GB, free: 8.719 MB / 442.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