Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",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.001573/0.001573, allocations: 169.7 kB / 8.74 MB, free: 348 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.528/1.528, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009224/0.0009222, allocations: 101.2 kB / 281.6 MB, free: 5.312 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.2023/0.2023, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/1.992e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 61.91 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3323/0.4511, allocations: 86.93 MB / 0.5797 GB, free: 9.418 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.4513, allocations: 75.95 kB / 0.5797 GB, free: 9.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00614/0.4575, allocations: 2.922 MB / 0.5826 GB, free: 6.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.4575, allocations: 0 / 0.5826 GB, free: 6.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.4575, allocations: 0 / 0.5826 GB, free: 6.418 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002318/0.4577, allocations: 362.4 kB / 0.5829 GB, free: 6.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4578, allocations: 11.98 kB / 0.5829 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.4578, allocations: 10.86 kB / 0.583 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.4579, allocations: 171.3 kB / 0.5831 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.4579, allocations: 3.953 kB / 0.5831 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.4579, allocations: 4 kB / 0.5831 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.332e-05/0.458, allocations: 35.98 kB / 0.5832 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4582, allocations: 181.9 kB / 0.5833 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.4582, allocations: 3.938 kB / 0.5833 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4582, allocations: 0 / 0.5833 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.4582, allocations: 11.98 kB / 0.5833 GB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.459, allocations: 1.676 MB / 0.585 GB, free: 3.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.696e-05/0.4591, allocations: 177 kB / 0.5852 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.4591, allocations: 84.14 kB / 0.5852 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4592, allocations: 75.28 kB / 0.5853 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4592, allocations: 109.8 kB / 0.5854 GB, free: 3.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4592, allocations: 0 / 0.5854 GB, free: 3.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.011e-05/0.4593, allocations: 33.61 kB / 0.5854 GB, free: 3.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.4593, allocations: 55.41 kB / 0.5855 GB, free: 3.168 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4594, allocations: 173.2 kB / 0.5857 GB, free: 2.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.4595, allocations: 25.7 kB / 0.5857 GB, free: 2.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.4595, allocations: 143.2 kB / 0.5858 GB, free: 2.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.4595, allocations: 3.984 kB / 0.5858 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4596, allocations: 0 / 0.5858 GB, free: 2.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.4596, allocations: 318.8 kB / 0.5861 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.52e-05/0.4597, allocations: 35.88 kB / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.4598, allocations: 145.2 kB / 0.5863 GB, free: 2.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.931e-05/0.4599, allocations: 71.72 kB / 0.5864 GB, free: 2.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4599, allocations: 4 kB / 0.5864 GB, free: 2.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002177/0.4601, allocations: 165.6 kB / 0.5865 GB, free: 2.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4601, allocations: 5.406 kB / 0.5865 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4601, allocations: 4 kB / 0.5865 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4601, allocations: 8 kB / 0.5865 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4602, allocations: 39.92 kB / 0.5866 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.4603, allocations: 11.94 kB / 0.5866 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.4603, allocations: 19.75 kB / 0.5866 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4604, allocations: 11.95 kB / 0.5866 GB, free: 1.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.301e-05/0.4604, allocations: 196.4 kB / 0.5868 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.7e-05/0.4605, allocations: 139.3 kB / 0.5869 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/0.4606, allocations: 112.9 kB / 0.5871 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.4606, allocations: 120.7 kB / 0.5872 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/0.4607, allocations: 180.2 kB / 0.5873 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.311e-05/0.4607, allocations: 180.2 kB / 0.5875 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.995e-05/0.4607, allocations: 180.3 kB / 0.5877 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.4609, allocations: 405.7 kB / 0.5881 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/0.461, allocations: 109 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.461, allocations: 101 kB / 0.5883 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.447e-05/0.461, allocations: 184.2 kB / 0.5884 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.4611, allocations: 188.2 kB / 0.5886 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.915e-05/0.4611, allocations: 177 kB / 0.5888 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-05/0.4612, allocations: 185.6 kB / 0.589 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.423e-05/0.4613, allocations: 303.7 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.4614, allocations: 201.9 kB / 0.5895 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.59e-05/0.4615, allocations: 176.3 kB / 0.5896 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.4616, allocations: 104.9 kB / 0.5897 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.4616, allocations: 184.2 kB / 0.5899 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.4617, allocations: 105 kB / 0.59 GB, free: 14.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.105e-05/0.4618, allocations: 119.3 kB / 0.5901 GB, free: 14.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4618, allocations: 0 / 0.5901 GB, free: 14.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.462, allocations: 16 kB / 0.5901 GB, free: 14.11 MB / 410.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 (0): * Single equations (assignments): 0 * 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.0006943/0.4627, allocations: 0.8965 MB / 0.591 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.4629, allocations: 71.84 kB / 0.5911 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4629, allocations: 3.938 kB / 0.5911 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.4629, allocations: 0 / 0.5911 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.4633, allocations: 0.5237 MB / 0.5916 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.4638, allocations: 245.4 kB / 0.5918 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4641, allocations: 0.7006 MB / 0.5925 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.4643, allocations: 53.14 kB / 0.5926 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.4643, allocations: 23.42 kB / 0.5926 GB, free: 11.52 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4643, allocations: 0 / 0.5926 GB, free: 11.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.4852, allocations: 1.632 MB / 0.5942 GB, free: 9.906 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.4855, allocations: 161.3 kB / 0.5943 GB, free: 9.715 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.21, allocations: 3.938 kB / 0.5943 GB, free: 9.711 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat does not exist to compare? outputFormat=mat