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.001017/0.001017, allocations: 183.8 kB / 15.76 MB, free: 6.363 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.446/1.446, 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.0009865/0.0009863, allocations: 94.86 kB / 270.2 MB, free: 13.36 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.2059/0.2059, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002833, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09855, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.3998, allocations: 88.46 MB / 0.5652 GB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4001, allocations: 69.47 kB / 0.5653 GB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03482/0.435, allocations: 12.97 MB / 0.578 GB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.435, allocations: 0 / 0.578 GB, free: 264 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.647e-05/0.4351, allocations: 15.94 kB / 0.578 GB, free: 248 kB / 378.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.001274/0.4363, allocations: 0.8546 MB / 0.5788 GB, free: 15.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4364, allocations: 12.03 kB / 0.5788 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.4365, allocations: 49.61 kB / 0.5789 GB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4366, allocations: 55.39 kB / 0.5789 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007935/0.4374, allocations: 483.2 kB / 0.5794 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4374, allocations: 15.48 kB / 0.5794 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4374, allocations: 11.19 kB / 0.5794 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.4379, allocations: 270.3 kB / 0.5797 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4379, allocations: 4 kB / 0.5797 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.4379, allocations: 3.812 kB / 0.5797 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4379, allocations: 4 kB / 0.5797 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.4383, allocations: 131.8 kB / 0.5798 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4394, allocations: 0.9229 MB / 0.5807 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.44, allocations: 308.1 kB / 0.581 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.44, allocations: 12.17 kB / 0.581 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.4404, allocations: 219.9 kB / 0.5812 GB, free: 13.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.4404, allocations: 0 / 0.5812 GB, free: 13.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008773/0.4413, allocations: 418 kB / 0.5816 GB, free: 12.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.4415, allocations: 342.1 kB / 0.582 GB, free: 12.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.4421, allocations: 0.5824 MB / 0.5825 GB, free: 11.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.4422, allocations: 35.02 kB / 0.5826 GB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4423, allocations: 218.7 kB / 0.5828 GB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.4424, allocations: 71.52 kB / 0.5828 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.4424, allocations: 3.312 kB / 0.5828 GB, free: 11.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4426, allocations: 366.2 kB / 0.5832 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.4428, allocations: 85.2 kB / 0.5833 GB, free: 11.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.4431, allocations: 259 kB / 0.5835 GB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.4433, allocations: 116.8 kB / 0.5836 GB, free: 10.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4434, allocations: 0 / 0.5836 GB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005782/0.4439, allocations: 336.3 kB / 0.5839 GB, free: 10.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.444, allocations: 10.66 kB / 0.584 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.444, allocations: 0 / 0.584 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.444, allocations: 4 kB / 0.584 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.4442, allocations: 55.28 kB / 0.584 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4443, allocations: 4 kB / 0.584 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.4445, allocations: 31.02 kB / 0.584 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.4445, allocations: 15.48 kB / 0.5841 GB, free: 10.57 MB / 394.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.0002035/0.4447, allocations: 218.3 kB / 0.5843 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.4448, allocations: 62.47 kB / 0.5843 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/0.4455, allocations: 369.7 kB / 0.5847 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4455, allocations: 4 kB / 0.5847 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4455, allocations: 4 kB / 0.5847 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4455, allocations: 8.234 kB / 0.5847 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.4459, allocations: 439.5 kB / 0.5851 GB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4459, allocations: 4 kB / 0.5851 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.4461, allocations: 35.91 kB / 0.5852 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4461, allocations: 3.953 kB / 0.5852 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.4461, allocations: 11.94 kB / 0.5852 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4461, allocations: 0 / 0.5852 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4461, allocations: 3.984 kB / 0.5852 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.4468, allocations: 427.1 kB / 0.5856 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.4469, allocations: 156 kB / 0.5857 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.447, allocations: 15.73 kB / 0.5857 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.4472, allocations: 19.73 kB / 0.5858 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.4473, allocations: 45.75 kB / 0.5858 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.4473, allocations: 15.42 kB / 0.5858 GB, free: 8.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004683/0.4478, allocations: 465.4 kB / 0.5863 GB, free: 8.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4478, allocations: 0 / 0.5863 GB, free: 8.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.4483, allocations: 129.1 kB / 0.5864 GB, free: 8.504 MB / 394.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.001854/0.4501, allocations: 1.532 MB / 0.5879 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.4507, allocations: 272 kB / 0.5881 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4507, allocations: 4 kB / 0.5881 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.451, allocations: 193.1 kB / 0.5883 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.4516, allocations: 127.7 kB / 0.5885 GB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.4555, allocations: 3.771 MB / 0.5921 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.456, allocations: 0.8598 MB / 0.593 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002422/0.4562, allocations: 94.92 kB / 0.5931 GB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4564, allocations: 167.2 kB / 0.5932 GB, free: 2.164 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4565, allocations: 0 / 0.5932 GB, free: 2.164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.4815, allocations: 11.8 MB / 0.6047 GB, free: 6.367 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.4818, allocations: 203.4 kB / 0.6049 GB, free: 6.125 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.56, allocations: 0 / 0.6049 GB, free: 6.125 MB / 410.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