Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.001533/0.001537, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.00115/0.00115, allocations: 100.8 kB / 281.6 MB, free: 5.332 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.2319/0.2319, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.689e-05, allocations: 7.938 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5594, allocations: 87.61 MB / 0.5803 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.5596, allocations: 71.95 kB / 0.5804 GB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01109/0.5707, allocations: 4.172 MB / 0.5845 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5708, allocations: 0 / 0.5845 GB, free: 4.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.5708, allocations: 0 / 0.5845 GB, free: 4.531 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004222/0.5712, allocations: 366.5 kB / 0.5848 GB, free: 4.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.5713, allocations: 15.98 kB / 0.5848 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.5713, allocations: 3.906 kB / 0.5848 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.5716, allocations: 190.9 kB / 0.585 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.5716, allocations: 0 / 0.585 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.5716, allocations: 0 / 0.585 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.005e-05/0.5717, allocations: 19.95 kB / 0.585 GB, free: 3.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5719, allocations: 59.41 kB / 0.5851 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5719, allocations: 0 / 0.5851 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.5719, allocations: 0 / 0.5851 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5719, allocations: 0 / 0.5851 GB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.5724, allocations: 265.4 kB / 0.5853 GB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.5727, allocations: 42.45 kB / 0.5854 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.5727, allocations: 16.86 kB / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.5728, allocations: 0 / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5728, allocations: 30.56 kB / 0.5854 GB, free: 3.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5728, allocations: 0 / 0.5854 GB, free: 3.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005037/0.5733, allocations: 117.4 kB / 0.5855 GB, free: 3.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.5734, allocations: 77.11 kB / 0.5856 GB, free: 3.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5735, allocations: 117.9 kB / 0.5857 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.5735, allocations: 25.7 kB / 0.5858 GB, free: 3.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.5736, allocations: 96.12 kB / 0.5858 GB, free: 2.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.5736, allocations: 11.75 kB / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.5736, allocations: 0 / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5738, allocations: 322.8 kB / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.5738, allocations: 16 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.5739, allocations: 21.72 kB / 0.5862 GB, free: 2.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.5739, allocations: 16.17 kB / 0.5862 GB, free: 2.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5739, allocations: 0 / 0.5862 GB, free: 2.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/0.574, allocations: 77.48 kB / 0.5863 GB, free: 2.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5741, allocations: 4 kB / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5741, allocations: 0 / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5741, allocations: 0 / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.5742, allocations: 20.02 kB / 0.5863 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5742, allocations: 0 / 0.5863 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.5743, allocations: 8 kB / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.5743, allocations: 3.938 kB / 0.5863 GB, free: 2.41 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.728e-05/0.5744, allocations: 101 kB / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001251/0.5745, allocations: 69.55 kB / 0.5865 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.5745, allocations: 11.84 kB / 0.5865 GB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.5747, allocations: 74.08 kB / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5747, allocations: 0 / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5747, allocations: 0 / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5747, allocations: 7.984 kB / 0.5866 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.575, allocations: 303.1 kB / 0.5869 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.575, allocations: 3.938 kB / 0.5869 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.5751, allocations: 19.92 kB / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5751, allocations: 0 / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.5751, allocations: 0 / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5752, allocations: 8.25 kB / 0.5869 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5752, allocations: 3.984 kB / 0.5869 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.5753, allocations: 163.4 kB / 0.5871 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.5754, allocations: 89.09 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.5754, allocations: 0 / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.5755, allocations: 4 kB / 0.5871 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.5755, allocations: 7.984 kB / 0.5872 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.5756, allocations: 4 kB / 0.5872 GB, free: 1.457 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.988e-05/0.5756, allocations: 100.9 kB / 0.5873 GB, free: 1.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5756, allocations: 0 / 0.5873 GB, free: 1.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.5759, allocations: 27.98 kB / 0.5873 GB, free: 1.332 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001348/0.5773, allocations: 0.9689 MB / 0.5882 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.5774, allocations: 31.92 kB / 0.5883 GB, free: 392 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5775, allocations: 8 kB / 0.5883 GB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.131e-05/0.5775, allocations: 12 kB / 0.5883 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.5777, allocations: 18.52 kB / 0.5883 GB, free: 356 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.5783, allocations: 149.6 kB / 0.5884 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.5787, allocations: 0.6963 MB / 0.5891 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.729e-05/0.5788, allocations: 19.77 kB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.5789, allocations: 23.42 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5789, allocations: 3.938 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.5995, allocations: 1.968 MB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.5999, allocations: 177.1 kB / 0.5913 GB, free: 13.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.421/2.021, allocations: 0 / 0.5913 GB, free: 13.23 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat does not exist to compare? outputFormat=mat