Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.3 MB / 236 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008956, allocations: 111 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.507e-05, allocations: 224 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.6406, allocations: 89.94 MB / 0.5896 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.6409, allocations: 67.97 kB / 0.5897 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03921/0.6801, allocations: 13.28 MB / 0.6027 GB, free: 1.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6801, allocations: 0 / 0.6027 GB, free: 1.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.422e-05/0.6802, allocations: 11.94 kB / 0.6027 GB, free: 1.855 MB / 410.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.001496/0.6817, allocations: 0.7556 MB / 0.6034 GB, free: 1.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.6818, allocations: 8.031 kB / 0.6034 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.237e-05/0.6819, allocations: 46.55 kB / 0.6035 GB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.6821, allocations: 59.28 kB / 0.6035 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.6832, allocations: 479.4 kB / 0.604 GB, free: 396 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.6833, allocations: 12.23 kB / 0.604 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.6833, allocations: 15.94 kB / 0.604 GB, free: 368 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.6838, allocations: 258.6 kB / 0.6042 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6838, allocations: 0 / 0.6042 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.6838, allocations: 4 kB / 0.6043 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6838, allocations: 11.98 kB / 0.6043 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.6841, allocations: 111.9 kB / 0.6044 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.6857, allocations: 0.9225 MB / 0.6053 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.6862, allocations: 287 kB / 0.6055 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.6864, allocations: 103.5 kB / 0.6056 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.6865, allocations: 8 kB / 0.6057 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.6869, allocations: 217.8 kB / 0.6059 GB, free: 14.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.885e-06/0.6869, allocations: 0 / 0.6059 GB, free: 14.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007535/0.6877, allocations: 316.8 kB / 0.6062 GB, free: 13.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/0.6879, allocations: 342.1 kB / 0.6065 GB, free: 13.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.6889, allocations: 0.5748 MB / 0.607 GB, free: 12.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.689, allocations: 41.7 kB / 0.6071 GB, free: 12.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.6892, allocations: 224.5 kB / 0.6073 GB, free: 12.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.6893, allocations: 59.27 kB / 0.6074 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.6893, allocations: 4 kB / 0.6074 GB, free: 12.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.6896, allocations: 366.8 kB / 0.6077 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.6898, allocations: 79.97 kB / 0.6078 GB, free: 12.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.6901, allocations: 253 kB / 0.608 GB, free: 11.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.6903, allocations: 106.9 kB / 0.6081 GB, free: 11.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.6904, allocations: 0 / 0.6081 GB, free: 11.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006305/0.691, allocations: 300.8 kB / 0.6084 GB, free: 11.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.691, allocations: 9.406 kB / 0.6084 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.691, allocations: 8.062 kB / 0.6084 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.6911, allocations: 7.953 kB / 0.6084 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.6914, allocations: 55.84 kB / 0.6085 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6914, allocations: 4 kB / 0.6085 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.6917, allocations: 35.83 kB / 0.6085 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.6918, allocations: 11.98 kB / 0.6085 GB, free: 11.36 MB / 426.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.0001337/0.6919, allocations: 140.9 kB / 0.6087 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.692, allocations: 55.34 kB / 0.6087 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/0.6927, allocations: 357.4 kB / 0.6091 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.6927, allocations: 12.14 kB / 0.6091 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6927, allocations: 3.984 kB / 0.6091 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6927, allocations: 7.984 kB / 0.6091 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.6932, allocations: 441.1 kB / 0.6095 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.6932, allocations: 4 kB / 0.6095 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.6934, allocations: 31.97 kB / 0.6096 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6934, allocations: 4 kB / 0.6096 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.6934, allocations: 11.98 kB / 0.6096 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.6934, allocations: 4 kB / 0.6096 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6934, allocations: 7.891 kB / 0.6096 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.694, allocations: 409.8 kB / 0.61 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.6942, allocations: 152.4 kB / 0.6101 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.6943, allocations: 12 kB / 0.6101 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.6945, allocations: 19.98 kB / 0.6101 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.6946, allocations: 39.94 kB / 0.6102 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.6947, allocations: 16 kB / 0.6102 GB, free: 9.531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000642/0.6953, allocations: 469.4 kB / 0.6106 GB, free: 9.074 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6953, allocations: 0 / 0.6106 GB, free: 9.074 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000551/0.6959, allocations: 127.8 kB / 0.6108 GB, free: 8.949 MB / 426.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.002204/0.6981, allocations: 1.457 MB / 0.6122 GB, free: 7.543 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005624/0.6987, allocations: 263.7 kB / 0.6124 GB, free: 7.285 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6987, allocations: 0 / 0.6124 GB, free: 7.285 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.6991, allocations: 184.5 kB / 0.6126 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.6998, allocations: 132.1 kB / 0.6127 GB, free: 6.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.7013, allocations: 0.7575 MB / 0.6135 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.7019, allocations: 0.8509 MB / 0.6143 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.7022, allocations: 91.36 kB / 0.6144 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.7025, allocations: 171.4 kB / 0.6146 GB, free: 5.035 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.7025, allocations: 4 kB / 0.6146 GB, free: 5.031 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.7318, allocations: 11.68 MB / 0.626 GB, free: 9.453 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.7321, allocations: 178.3 kB / 0.6261 GB, free: 9.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.036, allocations: 0 / 0.6261 GB, free: 9.227 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat