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.0009459/0.0009458, allocations: 176.7 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.483/1.483, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008249/0.0008249, allocations: 82.34 kB / 261.7 MB, free: 1.684 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.2269/0.2269, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.212e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1424, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.6306, allocations: 87.67 MB / 0.5516 GB, free: 7.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.631, allocations: 79.23 kB / 0.5517 GB, free: 7.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02023/0.6512, allocations: 8.537 MB / 0.5601 GB, free: 192 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6513, allocations: 0 / 0.5601 GB, free: 192 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.6513, allocations: 8 kB / 0.5601 GB, free: 184 kB / 362.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.0009413/0.6523, allocations: 0.6325 MB / 0.5607 GB, free: 15.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.6523, allocations: 8.031 kB / 0.5607 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.6525, allocations: 55.3 kB / 0.5607 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.6534, allocations: 477 kB / 0.5612 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.6535, allocations: 4 kB / 0.5612 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.6535, allocations: 7.906 kB / 0.5612 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00022/0.6537, allocations: 74.84 kB / 0.5613 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.654, allocations: 132 kB / 0.5614 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6541, allocations: 4 kB / 0.5614 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.6541, allocations: 3.953 kB / 0.5614 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.6541, allocations: 0 / 0.5614 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.6553, allocations: 0.692 MB / 0.5621 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.6555, allocations: 96.56 kB / 0.5622 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.6556, allocations: 33.47 kB / 0.5622 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.6557, allocations: 7.922 kB / 0.5622 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.6557, allocations: 42.38 kB / 0.5623 GB, free: 13.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.572e-06/0.6557, allocations: 4 kB / 0.5623 GB, free: 13.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001342/0.6571, allocations: 451.1 kB / 0.5627 GB, free: 13.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.6572, allocations: 77.11 kB / 0.5628 GB, free: 13.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.6583, allocations: 0.7482 MB / 0.5635 GB, free: 12.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.6584, allocations: 25.7 kB / 0.5635 GB, free: 12.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.6586, allocations: 258.5 kB / 0.5638 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.6587, allocations: 51.14 kB / 0.5638 GB, free: 12.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.6587, allocations: 0 / 0.5638 GB, free: 12.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.6589, allocations: 369.6 kB / 0.5642 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.6591, allocations: 43.73 kB / 0.5642 GB, free: 12.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.6592, allocations: 72.38 kB / 0.5643 GB, free: 12.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.6593, allocations: 47.41 kB / 0.5643 GB, free: 12.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6593, allocations: 0 / 0.5643 GB, free: 12.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003998/0.6597, allocations: 195.5 kB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6598, allocations: 8 kB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6598, allocations: 0 / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.6598, allocations: 0 / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.6601, allocations: 43.91 kB / 0.5646 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6601, allocations: 4 kB / 0.5646 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.6603, allocations: 19.98 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.6604, allocations: 4 kB / 0.5646 GB, free: 11.95 MB / 378.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 () * 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.0001251/0.6605, allocations: 104.9 kB / 0.5647 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004465/0.661, allocations: 199.4 kB / 0.5649 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6611, allocations: 59.25 kB / 0.5649 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/0.6617, allocations: 240.8 kB / 0.5652 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6617, allocations: 7.938 kB / 0.5652 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6617, allocations: 0 / 0.5652 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6618, allocations: 3.953 kB / 0.5652 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.6631, allocations: 0.7928 MB / 0.566 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6631, allocations: 4 kB / 0.566 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.6634, allocations: 47.84 kB / 0.566 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.6634, allocations: 0 / 0.566 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.6634, allocations: 7.953 kB / 0.566 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.6634, allocations: 0 / 0.566 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6634, allocations: 0 / 0.566 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.664, allocations: 386.8 kB / 0.5664 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.6642, allocations: 178.1 kB / 0.5665 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.6643, allocations: 7.938 kB / 0.5666 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.6646, allocations: 12 kB / 0.5666 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.6647, allocations: 19.41 kB / 0.5666 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.6647, allocations: 11.92 kB / 0.5666 GB, free: 10.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009148/0.6657, allocations: 0.5906 MB / 0.5672 GB, free: 9.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6657, allocations: 0 / 0.5672 GB, free: 9.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005568/0.6662, allocations: 67.94 kB / 0.5672 GB, free: 9.52 MB / 378.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 () * 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.001789/0.668, allocations: 1.218 MB / 0.5684 GB, free: 8.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.6684, allocations: 117.7 kB / 0.5685 GB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6684, allocations: 0 / 0.5685 GB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.6686, allocations: 67.05 kB / 0.5686 GB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.6693, allocations: 63.41 kB / 0.5687 GB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.6713, allocations: 0.8444 MB / 0.5695 GB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.6719, allocations: 0.8782 MB / 0.5703 GB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.6722, allocations: 107.1 kB / 0.5704 GB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003075/0.6726, allocations: 170.2 kB / 0.5706 GB, free: 6.32 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6726, allocations: 3.938 kB / 0.5706 GB, free: 6.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.709, allocations: 8.102 MB / 0.5785 GB, free: 14.22 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.7093, allocations: 159.8 kB / 0.5787 GB, free: 14.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.723, allocations: 0 / 0.5787 GB, free: 14.03 MB / 394.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