Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",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.001521/0.00152, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.337/2.337, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001824/0.001824, allocations: 93.3 kB / 270.9 MB, free: 8.371 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.5794/0.5794, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006449, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1547, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4872/0.6419, allocations: 88.47 MB / 0.5652 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.6423, allocations: 67.97 kB / 0.5653 GB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0674/0.7097, allocations: 12.96 MB / 0.5779 GB, free: 1.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.7098, allocations: 3.938 kB / 0.5779 GB, free: 1.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.225e-05/0.7099, allocations: 12 kB / 0.5779 GB, free: 1.094 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002952/0.7129, allocations: 0.862 MB / 0.5788 GB, free: 160 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/0.7129, allocations: 12.03 kB / 0.5788 GB, free: 148 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.7131, allocations: 46.55 kB / 0.5788 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.7134, allocations: 50.88 kB / 0.5789 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.7155, allocations: 491.2 kB / 0.5794 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.7156, allocations: 16.22 kB / 0.5794 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.7157, allocations: 19.98 kB / 0.5794 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.7167, allocations: 261.4 kB / 0.5796 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7168, allocations: 0 / 0.5796 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.7169, allocations: 9.016 kB / 0.5797 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.7169, allocations: 4 kB / 0.5797 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000752/0.7177, allocations: 115.9 kB / 0.5798 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.7204, allocations: 0.9304 MB / 0.5807 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.722, allocations: 310.9 kB / 0.581 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.7221, allocations: 7.953 kB / 0.581 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009307/0.7231, allocations: 219.8 kB / 0.5812 GB, free: 13.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 4.419e-06/0.7231, allocations: 0 / 0.5812 GB, free: 13.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.002538/0.7256, allocations: 420.7 kB / 0.5816 GB, free: 13.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002841/0.726, allocations: 346.1 kB / 0.5819 GB, free: 12.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.7279, allocations: 0.58 MB / 0.5825 GB, free: 12.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.7281, allocations: 33.7 kB / 0.5825 GB, free: 12.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.7284, allocations: 243 kB / 0.5828 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.7286, allocations: 67.22 kB / 0.5828 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.7287, allocations: 11.94 kB / 0.5828 GB, free: 11.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.7289, allocations: 318.8 kB / 0.5831 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.7296, allocations: 91.88 kB / 0.5832 GB, free: 11.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.7305, allocations: 265 kB / 0.5835 GB, free: 10.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.7312, allocations: 111 kB / 0.5836 GB, free: 10.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.7312, allocations: 0 / 0.5836 GB, free: 10.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00154/0.7327, allocations: 285.3 kB / 0.5838 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.7328, allocations: 11.98 kB / 0.5839 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7328, allocations: 0 / 0.5839 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.7329, allocations: 4 kB / 0.5839 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.7335, allocations: 60.03 kB / 0.5839 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.7335, allocations: 4 kB / 0.5839 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006436/0.7342, allocations: 31.83 kB / 0.584 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.7343, allocations: 8 kB / 0.584 GB, free: 10.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0006286/0.7349, allocations: 225.7 kB / 0.5842 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.7351, allocations: 55.3 kB / 0.5842 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.737, allocations: 377.3 kB / 0.5846 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.7371, allocations: 4 kB / 0.5846 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.7371, allocations: 0 / 0.5846 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.7371, allocations: 4 kB / 0.5846 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.7382, allocations: 441.1 kB / 0.585 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.7382, allocations: 256 / 0.585 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.7387, allocations: 39.92 kB / 0.5851 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-05/0.7387, allocations: 11.95 kB / 0.5851 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.128e-05/0.7388, allocations: 7.984 kB / 0.5851 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.7388, allocations: 0 / 0.5851 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/0.7389, allocations: 4 kB / 0.5851 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.7407, allocations: 436.7 kB / 0.5855 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.7411, allocations: 156.4 kB / 0.5856 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.7413, allocations: 12 kB / 0.5857 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.7418, allocations: 15.98 kB / 0.5857 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.742, allocations: 43.94 kB / 0.5857 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.7421, allocations: 12 kB / 0.5857 GB, free: 8.531 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001375/0.7435, allocations: 474.8 kB / 0.5862 GB, free: 8.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7435, allocations: 0 / 0.5862 GB, free: 8.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7447, allocations: 127.8 kB / 0.5863 GB, free: 7.945 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004537/0.7493, allocations: 1.526 MB / 0.5878 GB, free: 6.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.7512, allocations: 284.2 kB / 0.5881 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.7512, allocations: 4 kB / 0.5881 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.7521, allocations: 143.8 kB / 0.5882 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.7538, allocations: 118.7 kB / 0.5883 GB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.7652, allocations: 3.828 MB / 0.5921 GB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/0.7661, allocations: 0.8664 MB / 0.5929 GB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/0.7669, allocations: 167.4 kB / 0.5931 GB, free: 0.957 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/0.7669, allocations: 0 / 0.5931 GB, free: 0.957 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.919/3.686, allocations: 9.36 MB / 0.6022 GB, free: 7.605 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat