Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",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.002069/0.002069, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001158, allocations: 89.7 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3018/0.3018, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.425e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4075, allocations: 58.85 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5711, allocations: 87.94 MB / 0.5519 GB, free: 11.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/0.5716, allocations: 79.45 kB / 0.552 GB, free: 11.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01945/0.591, allocations: 4.22 MB / 0.5561 GB, free: 6.961 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5911, allocations: 0 / 0.5561 GB, free: 6.961 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.5911, allocations: 4 kB / 0.5561 GB, free: 6.957 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007184/0.5919, allocations: 464.5 kB / 0.5565 GB, free: 6.453 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5919, allocations: 8.031 kB / 0.5565 GB, free: 6.445 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.592, allocations: 11.91 kB / 0.5566 GB, free: 6.434 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.5924, allocations: 230.7 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5925, allocations: 7.984 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.5925, allocations: 4 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001389/0.5927, allocations: 28 kB / 0.5568 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.5929, allocations: 96.23 kB / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.5929, allocations: 0 / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.5929, allocations: 0 / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.5929, allocations: 4 kB / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.5937, allocations: 0.4935 MB / 0.5574 GB, free: 5.477 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.594, allocations: 78.62 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.5941, allocations: 28.86 kB / 0.5575 GB, free: 5.359 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.5942, allocations: 0 / 0.5575 GB, free: 5.359 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.5944, allocations: 79.38 kB / 0.5576 GB, free: 5.27 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.5944, allocations: 0 / 0.5576 GB, free: 5.27 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003434/0.5948, allocations: 109.4 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.5948, allocations: 51.41 kB / 0.5577 GB, free: 5.094 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.5951, allocations: 166.6 kB / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.5951, allocations: 25.7 kB / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5952, allocations: 170.5 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.5953, allocations: 31.55 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.5953, allocations: 4 kB / 0.5581 GB, free: 4.68 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5954, allocations: 318.8 kB / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.5955, allocations: 23.98 kB / 0.5584 GB, free: 4.336 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.5956, allocations: 48.3 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.747e-05/0.5957, allocations: 35.92 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5958, allocations: 0 / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002654/0.596, allocations: 105.5 kB / 0.5586 GB, free: 4.129 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5961, allocations: 4 kB / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5961, allocations: 192 / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5961, allocations: 4 kB / 0.5586 GB, free: 4.121 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.5963, allocations: 31.92 kB / 0.5586 GB, free: 4.09 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5963, allocations: 3.953 kB / 0.5586 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.5965, allocations: 23.95 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.5965, allocations: 4 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.848e-05/0.5966, allocations: 108.2 kB / 0.5588 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002469/0.5969, allocations: 109.4 kB / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.5969, allocations: 11.91 kB / 0.5589 GB, free: 3.824 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.5972, allocations: 115.4 kB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5972, allocations: 0 / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5973, allocations: 3.938 kB / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5973, allocations: 4 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.5975, allocations: 186.3 kB / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5975, allocations: 0 / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.5977, allocations: 15.98 kB / 0.5592 GB, free: 3.469 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5977, allocations: 0 / 0.5592 GB, free: 3.469 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.5977, allocations: 4 kB / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5977, allocations: 0 / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/0.5978, allocations: 11.92 kB / 0.5592 GB, free: 3.453 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.5982, allocations: 168.8 kB / 0.5594 GB, free: 3.27 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.5983, allocations: 92.98 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.5983, allocations: 4 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5984, allocations: 7.984 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.5985, allocations: 8.266 kB / 0.5595 GB, free: 3.141 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.5985, allocations: 7.953 kB / 0.5595 GB, free: 3.133 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.5987, allocations: 128.1 kB / 0.5596 GB, free: 3.008 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5987, allocations: 11.88 kB / 0.5596 GB, free: 2.996 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.5991, allocations: 36.08 kB / 0.5597 GB, free: 2.961 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001622/0.6007, allocations: 0.9396 MB / 0.5606 GB, free: 2.035 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.601, allocations: 67.88 kB / 0.5606 GB, free: 1.969 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.601, allocations: 0 / 0.5606 GB, free: 1.969 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.6011, allocations: 35.92 kB / 0.5607 GB, free: 1.934 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.6015, allocations: 24.03 kB / 0.5607 GB, free: 1.906 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.6023, allocations: 274.4 kB / 0.561 GB, free: 1.594 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.6027, allocations: 0.7203 MB / 0.5617 GB, free: 0.8477 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.6028, allocations: 43.42 kB / 0.5617 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6029, allocations: 0 / 0.5617 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/3.353, allocations: 2.769 MB / 0.5644 GB, free: 14.04 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)