Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001092/0.001092, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008941/0.0008943, allocations: 82.83 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2528/0.2528, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003163, allocations: 15.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5553, allocations: 88.43 MB / 0.5652 GB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.5556, allocations: 76.39 kB / 0.5653 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02117/0.5767, allocations: 8.602 MB / 0.5737 GB, free: 3.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5768, allocations: 0 / 0.5737 GB, free: 3.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.106e-05/0.5768, allocations: 16 kB / 0.5737 GB, free: 3.863 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001155/0.578, allocations: 0.7455 MB / 0.5744 GB, free: 3.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.578, allocations: 12.03 kB / 0.5744 GB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.267e-05/0.5781, allocations: 54.19 kB / 0.5745 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.5782, allocations: 55.25 kB / 0.5745 GB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007713/0.579, allocations: 480.8 kB / 0.575 GB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.579, allocations: 7.75 kB / 0.575 GB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.579, allocations: 15.88 kB / 0.575 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.5793, allocations: 149.5 kB / 0.5752 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5794, allocations: 0 / 0.5752 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5794, allocations: 3.875 kB / 0.5752 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.5794, allocations: 7.953 kB / 0.5752 GB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.5796, allocations: 107.8 kB / 0.5753 GB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.5807, allocations: 0.7327 MB / 0.576 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.5809, allocations: 115.6 kB / 0.5761 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.5809, allocations: 4.219 kB / 0.5761 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.581, allocations: 34.56 kB / 0.5761 GB, free: 1.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.581, allocations: 3.938 kB / 0.5761 GB, free: 1.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001474/0.5825, allocations: 0.5687 MB / 0.5767 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5825, allocations: 89.06 kB / 0.5768 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009156/0.5834, allocations: 0.8037 MB / 0.5776 GB, free: 144 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.5835, allocations: 25.7 kB / 0.5776 GB, free: 112 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.5837, allocations: 251.3 kB / 0.5778 GB, free: 15.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.5837, allocations: 54.89 kB / 0.5779 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5837, allocations: 3.875 kB / 0.5779 GB, free: 15.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5839, allocations: 373.5 kB / 0.5782 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.5841, allocations: 71.39 kB / 0.5783 GB, free: 15.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.5843, allocations: 85.11 kB / 0.5784 GB, free: 15.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.5844, allocations: 90.75 kB / 0.5785 GB, free: 15.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5844, allocations: 0 / 0.5785 GB, free: 15.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004626/0.5849, allocations: 251.5 kB / 0.5787 GB, free: 15.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5849, allocations: 4 kB / 0.5787 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.585, allocations: 0 / 0.5787 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.585, allocations: 7.984 kB / 0.5787 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.5852, allocations: 43.91 kB / 0.5788 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5852, allocations: 4 kB / 0.5788 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.5854, allocations: 19.52 kB / 0.5788 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.5854, allocations: 7.984 kB / 0.5788 GB, free: 15.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0002025/0.5856, allocations: 216.8 kB / 0.579 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.5857, allocations: 55.34 kB / 0.5791 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.5863, allocations: 312.3 kB / 0.5794 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5863, allocations: 4 kB / 0.5794 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5863, allocations: 3.938 kB / 0.5794 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5863, allocations: 0 / 0.5794 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5877, allocations: 0.8933 MB / 0.5802 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5877, allocations: 0 / 0.5802 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.5878, allocations: 47.28 kB / 0.5803 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5879, allocations: 3.938 kB / 0.5803 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5879, allocations: 11.95 kB / 0.5803 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5879, allocations: 0 / 0.5803 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5879, allocations: 7.938 kB / 0.5803 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.5884, allocations: 436.1 kB / 0.5807 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.5887, allocations: 182.9 kB / 0.5809 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.5888, allocations: 7.391 kB / 0.5809 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.589, allocations: 19.42 kB / 0.5809 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.589, allocations: 15.98 kB / 0.5809 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.589, allocations: 4 kB / 0.5809 GB, free: 13.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006692/0.5897, allocations: 0.6357 MB / 0.5816 GB, free: 12.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5897, allocations: 0 / 0.5816 GB, free: 12.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.5901, allocations: 83.27 kB / 0.5816 GB, free: 12.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001645/0.5918, allocations: 1.351 MB / 0.583 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.5922, allocations: 178.9 kB / 0.5831 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5922, allocations: 4 kB / 0.5831 GB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.5924, allocations: 92.94 kB / 0.5832 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.5928, allocations: 71.52 kB / 0.5833 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.5971, allocations: 3.341 MB / 0.5866 GB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.5976, allocations: 0.8748 MB / 0.5874 GB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.5978, allocations: 103.2 kB / 0.5875 GB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.5981, allocations: 165.9 kB / 0.5877 GB, free: 6.887 MB / 394.7 MB Notification: Performance of SimCode: time 2.01e-07/0.5981, allocations: 0 / 0.5877 GB, free: 6.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.6204, allocations: 9.317 MB / 0.5968 GB, free: 13.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.6206, allocations: 208.6 kB / 0.597 GB, free: 13.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.646, allocations: 0 / 0.597 GB, free: 13.34 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat