Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_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.002251/0.002251, allocations: 183 kB / 13.19 MB, free: 2.129 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.708/1.708, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0008893/0.0008893, allocations: 91.86 kB / 267 MB, free: 9.266 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.4427/0.4427, allocations: 43.46 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.893e-05, allocations: 0 / 425.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.16, allocations: 58.84 MB / 484.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.6285, allocations: 88.38 MB / 0.5592 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.6287, allocations: 67.97 kB / 0.5593 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03845/0.6672, allocations: 12.94 MB / 0.5719 GB, free: 3.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6672, allocations: 0 / 0.5719 GB, free: 3.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.46e-05/0.6673, allocations: 12 kB / 0.5719 GB, free: 3.633 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.001231/0.6685, allocations: 0.7538 MB / 0.5726 GB, free: 2.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.6686, allocations: 8.031 kB / 0.5726 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.6687, allocations: 46.55 kB / 0.5727 GB, free: 2.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.6688, allocations: 59.34 kB / 0.5727 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.6697, allocations: 479.3 kB / 0.5732 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.6698, allocations: 16.23 kB / 0.5732 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.6698, allocations: 12 kB / 0.5732 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.6703, allocations: 255.8 kB / 0.5735 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6703, allocations: 3.938 kB / 0.5735 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.6703, allocations: 8 kB / 0.5735 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6704, allocations: 7.984 kB / 0.5735 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.6706, allocations: 111.9 kB / 0.5736 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.6719, allocations: 0.9303 MB / 0.5745 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.6724, allocations: 279 kB / 0.5748 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.6726, allocations: 111.5 kB / 0.5749 GB, free: 324 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.6726, allocations: 4.156 kB / 0.5749 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.673, allocations: 219.7 kB / 0.5751 GB, free: 76 kB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.673, allocations: 0 / 0.5751 GB, free: 76 kB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006749/0.6737, allocations: 313 kB / 0.5754 GB, free: 15.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002529/0.6739, allocations: 346.1 kB / 0.5757 GB, free: 15.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007695/0.6747, allocations: 0.5787 MB / 0.5763 GB, free: 14.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.6748, allocations: 33.7 kB / 0.5763 GB, free: 14.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.675, allocations: 220.5 kB / 0.5765 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.675, allocations: 59.2 kB / 0.5766 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.6751, allocations: 12 kB / 0.5766 GB, free: 14.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6752, allocations: 366.8 kB / 0.5769 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.6754, allocations: 75.98 kB / 0.577 GB, free: 13.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.6757, allocations: 255.5 kB / 0.5773 GB, free: 13.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.6759, allocations: 99.89 kB / 0.5774 GB, free: 13.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6759, allocations: 4 kB / 0.5774 GB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004928/0.6764, allocations: 308.7 kB / 0.5777 GB, free: 13.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6764, allocations: 4 kB / 0.5777 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6765, allocations: 4 kB / 0.5777 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.6765, allocations: 4.375 kB / 0.5777 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.6768, allocations: 51.91 kB / 0.5777 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.6768, allocations: 12.11 kB / 0.5777 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.677, allocations: 31.84 kB / 0.5778 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.677, allocations: 19.92 kB / 0.5778 GB, free: 13.14 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 () * 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.0001443/0.6772, allocations: 136.9 kB / 0.5779 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.6773, allocations: 63.28 kB / 0.578 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.678, allocations: 353.4 kB / 0.5783 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.678, allocations: 7.984 kB / 0.5783 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.678, allocations: 0 / 0.5783 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.678, allocations: 4 kB / 0.5783 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.6785, allocations: 441.2 kB / 0.5787 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6785, allocations: 3.938 kB / 0.5787 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.6787, allocations: 31.92 kB / 0.5788 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6787, allocations: 7.953 kB / 0.5788 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.6787, allocations: 11.98 kB / 0.5788 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6788, allocations: 0 / 0.5788 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6788, allocations: 8 kB / 0.5788 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.6794, allocations: 405.8 kB / 0.5792 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.6796, allocations: 164.4 kB / 0.5793 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.6797, allocations: 12 kB / 0.5794 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.6799, allocations: 19.97 kB / 0.5794 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.68, allocations: 35.95 kB / 0.5794 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.68, allocations: 16 kB / 0.5794 GB, free: 11.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005903/0.6806, allocations: 465.5 kB / 0.5799 GB, free: 10.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6806, allocations: 0 / 0.5799 GB, free: 10.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005448/0.6812, allocations: 119.9 kB / 0.58 GB, free: 10.76 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) * 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.001982/0.6832, allocations: 1.494 MB / 0.5814 GB, free: 9.289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005151/0.6837, allocations: 255.8 kB / 0.5817 GB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6837, allocations: 0 / 0.5817 GB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.684, allocations: 179.8 kB / 0.5819 GB, free: 8.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.6847, allocations: 129.5 kB / 0.582 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.6862, allocations: 0.7561 MB / 0.5827 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.6866, allocations: 0.8587 MB / 0.5836 GB, free: 7.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.6869, allocations: 95.2 kB / 0.5836 GB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.6872, allocations: 167.4 kB / 0.5838 GB, free: 6.797 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6872, allocations: 0 / 0.5838 GB, free: 6.797 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.7163, allocations: 11.67 MB / 0.5952 GB, free: 11.14 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.7166, allocations: 177.8 kB / 0.5954 GB, free: 10.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.033, allocations: 4 kB / 0.5954 GB, free: 10.91 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat