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.002211/0.00221, 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.073/2.073, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001153/0.001153, allocations: 103.8 kB / 270.9 MB, free: 8.395 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.5366/0.5366, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.0006527, allocations: 20 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1291, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4714/0.6005, allocations: 88.7 MB / 0.5654 GB, free: 13.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.6008, allocations: 79.95 kB / 0.5655 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01923/0.6201, allocations: 4.264 MB / 0.5697 GB, free: 9.531 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6201, allocations: 0 / 0.5697 GB, free: 9.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.6202, allocations: 8 kB / 0.5697 GB, free: 9.523 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.0008052/0.621, allocations: 484.7 kB / 0.5702 GB, free: 9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.621, allocations: 8.031 kB / 0.5702 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.6211, allocations: 38.56 kB / 0.5702 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.6212, allocations: 15.25 kB / 0.5702 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.6216, allocations: 227.9 kB / 0.5704 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.6216, allocations: 4 kB / 0.5704 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.6217, allocations: 11.98 kB / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.622, allocations: 108.2 kB / 0.5706 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.622, allocations: 7.312 kB / 0.5706 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.6221, allocations: 4 kB / 0.5706 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6221, allocations: 5.031 kB / 0.5706 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.6223, allocations: 51.97 kB / 0.5706 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008631/0.6232, allocations: 0.5204 MB / 0.5711 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.6237, allocations: 99.45 kB / 0.5712 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.6238, allocations: 0 / 0.5712 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.6241, allocations: 90.23 kB / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.6241, allocations: 4 kB / 0.5713 GB, free: 7.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006488/0.6247, allocations: 145.5 kB / 0.5714 GB, free: 7.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.6248, allocations: 59.39 kB / 0.5715 GB, free: 7.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.6251, allocations: 166.6 kB / 0.5717 GB, free: 7.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.6251, allocations: 29.7 kB / 0.5717 GB, free: 7.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.6253, allocations: 178.3 kB / 0.5719 GB, free: 7.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.6253, allocations: 31.64 kB / 0.5719 GB, free: 7.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.6253, allocations: 7.938 kB / 0.5719 GB, free: 7.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6255, allocations: 318.8 kB / 0.5722 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.6256, allocations: 27.98 kB / 0.5722 GB, free: 6.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.6258, allocations: 77.55 kB / 0.5723 GB, free: 6.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.626, allocations: 37.02 kB / 0.5723 GB, free: 6.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.626, allocations: 0 / 0.5723 GB, free: 6.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004482/0.6265, allocations: 133.5 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.6265, allocations: 8 kB / 0.5725 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6266, allocations: 0 / 0.5725 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.6266, allocations: 8.422 kB / 0.5725 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.6268, allocations: 27.92 kB / 0.5725 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.6268, allocations: 4 kB / 0.5725 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.6269, allocations: 4 kB / 0.5725 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.627, allocations: 8 kB / 0.5725 GB, free: 6.375 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.000182/0.6272, allocations: 144.6 kB / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.6272, allocations: 11.81 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.6277, allocations: 135 kB / 0.5728 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6277, allocations: 7.953 kB / 0.5728 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6277, allocations: 0 / 0.5728 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6278, allocations: 0 / 0.5728 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.628, allocations: 221.6 kB / 0.573 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.628, allocations: 7.938 kB / 0.573 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.6282, allocations: 12 kB / 0.573 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6282, allocations: 4 kB / 0.573 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.6282, allocations: 3.984 kB / 0.573 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6283, allocations: 0 / 0.573 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.6283, allocations: 4.969 kB / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.6289, allocations: 192.9 kB / 0.5732 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.629, allocations: 97.62 kB / 0.5733 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.629, allocations: 4 kB / 0.5733 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.6292, allocations: 11.98 kB / 0.5733 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.6292, allocations: 7.984 kB / 0.5734 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.6293, allocations: 11.94 kB / 0.5734 GB, free: 5.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.6295, allocations: 137.2 kB / 0.5735 GB, free: 5.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6295, allocations: 8 kB / 0.5735 GB, free: 5.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.6298, allocations: 40.05 kB / 0.5735 GB, free: 5.234 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.002048/0.6319, allocations: 1.047 MB / 0.5746 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.6323, allocations: 87.89 kB / 0.5746 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6323, allocations: 0 / 0.5746 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.6325, allocations: 44.05 kB / 0.5747 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.6329, allocations: 32.41 kB / 0.5747 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.6352, allocations: 1.485 MB / 0.5762 GB, free: 2.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.6356, allocations: 0.72 MB / 0.5769 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.6358, allocations: 47.42 kB / 0.5769 GB, free: 1.766 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6358, allocations: 0 / 0.5769 GB, free: 1.766 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.932/3.568, allocations: 2.772 MB / 0.5796 GB, free: 15 MB / 410.7 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)