Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",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.002262/0.002262, allocations: 185.9 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.052/2.052, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001151/0.001151, allocations: 94.91 kB / 270.9 MB, free: 8.387 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.5414/0.5414, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 12 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.6043, allocations: 88.7 MB / 0.5654 GB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.6047, allocations: 71.97 kB / 0.5655 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01987/0.6246, allocations: 4.23 MB / 0.5696 GB, free: 9.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6246, allocations: 0 / 0.5696 GB, free: 9.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.6247, allocations: 8 kB / 0.5697 GB, free: 9.609 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008382/0.6255, allocations: 492.6 kB / 0.5701 GB, free: 9.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6256, allocations: 8.031 kB / 0.5701 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.6256, allocations: 38.56 kB / 0.5702 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.6257, allocations: 15.25 kB / 0.5702 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.6261, allocations: 222.7 kB / 0.5704 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.6262, allocations: 11.98 kB / 0.5704 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.6262, allocations: 7.984 kB / 0.5704 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.6266, allocations: 116.2 kB / 0.5705 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6266, allocations: 0 / 0.5705 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.6266, allocations: 1.406 kB / 0.5705 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.6266, allocations: 9.031 kB / 0.5705 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.6269, allocations: 55.97 kB / 0.5706 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008932/0.6278, allocations: 0.5204 MB / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.6283, allocations: 100 kB / 0.5712 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.6284, allocations: 0 / 0.5712 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.6287, allocations: 83.33 kB / 0.5713 GB, free: 7.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.6287, allocations: 0 / 0.5713 GB, free: 7.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006542/0.6294, allocations: 152.2 kB / 0.5714 GB, free: 7.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6294, allocations: 59.39 kB / 0.5715 GB, free: 7.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.6297, allocations: 170.6 kB / 0.5716 GB, free: 7.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.6298, allocations: 25.7 kB / 0.5717 GB, free: 7.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.6299, allocations: 186.3 kB / 0.5718 GB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.63, allocations: 27.59 kB / 0.5719 GB, free: 7.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.63, allocations: 8 kB / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6301, allocations: 318.8 kB / 0.5722 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.6303, allocations: 27.98 kB / 0.5722 GB, free: 6.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.6305, allocations: 72.92 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.6307, allocations: 35.98 kB / 0.5723 GB, free: 6.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6307, allocations: 0 / 0.5723 GB, free: 6.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004594/0.6312, allocations: 134.2 kB / 0.5724 GB, free: 6.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6312, allocations: 12.12 kB / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6312, allocations: 0 / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.6312, allocations: 7.953 kB / 0.5725 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.6315, allocations: 27.92 kB / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.6315, allocations: 0 / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.6316, allocations: 12.47 kB / 0.5725 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.6317, allocations: 4 kB / 0.5725 GB, free: 6.445 MB / 394.7 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 () * Number of clocked 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 0.0001744/0.6319, allocations: 135.1 kB / 0.5726 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.6319, allocations: 15.81 kB / 0.5726 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.6324, allocations: 142.9 kB / 0.5728 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.6325, allocations: 3.953 kB / 0.5728 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6325, allocations: 0 / 0.5728 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6325, allocations: 0 / 0.5728 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.6328, allocations: 229.5 kB / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6328, allocations: 0 / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.6329, allocations: 16 kB / 0.573 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.633, allocations: 0 / 0.573 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.633, allocations: 3.984 kB / 0.573 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.633, allocations: 0 / 0.573 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.633, allocations: 3.953 kB / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.6337, allocations: 192.9 kB / 0.5732 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.6338, allocations: 96.94 kB / 0.5733 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.6338, allocations: 4 kB / 0.5733 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.634, allocations: 7.984 kB / 0.5733 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.634, allocations: 4 kB / 0.5733 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.6341, allocations: 15.94 kB / 0.5733 GB, free: 5.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.6343, allocations: 141.1 kB / 0.5735 GB, free: 5.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6343, allocations: 0 / 0.5735 GB, free: 5.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.6346, allocations: 40.12 kB / 0.5735 GB, free: 5.316 MB / 394.7 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) * Number of clocked states: 0 () * 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.00215/0.6368, allocations: 1.054 MB / 0.5745 GB, free: 4.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.6373, allocations: 87.89 kB / 0.5746 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.6373, allocations: 0 / 0.5746 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6375, allocations: 40.11 kB / 0.5747 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.638, allocations: 36.28 kB / 0.5747 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.6405, allocations: 1.489 MB / 0.5761 GB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.6409, allocations: 0.7239 MB / 0.5769 GB, free: 1.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.6411, allocations: 39.42 kB / 0.5769 GB, free: 1.836 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6411, allocations: 0 / 0.5769 GB, free: 1.836 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.825/3.466, allocations: 2.784 MB / 0.5796 GB, free: 15.06 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)