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.001595/0.001595, allocations: 177.8 kB / 8.36 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.095/2.095, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.00114/0.00114, allocations: 99.34 kB / 262.1 MB, free: 13.86 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.3424/0.3424, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.116e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.3999, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5653, allocations: 87.95 MB / 0.5519 GB, free: 11.32 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/0.5657, allocations: 75.91 kB / 0.552 GB, free: 11.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02572/0.5915, allocations: 4.182 MB / 0.5561 GB, free: 7.074 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.5916, allocations: 0 / 0.5561 GB, free: 7.074 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.5916, allocations: 8.547 kB / 0.5561 GB, free: 7.066 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.0008797/0.5925, allocations: 468.5 kB / 0.5565 GB, free: 6.559 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5926, allocations: 8.031 kB / 0.5565 GB, free: 6.551 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.5927, allocations: 11.91 kB / 0.5565 GB, free: 6.539 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.5932, allocations: 226.7 kB / 0.5567 GB, free: 6.277 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.5932, allocations: 0 / 0.5567 GB, free: 6.277 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.5932, allocations: 7.984 kB / 0.5568 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001514/0.5934, allocations: 32 kB / 0.5568 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.5936, allocations: 96.17 kB / 0.5569 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5937, allocations: 0 / 0.5569 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.5937, allocations: 0 / 0.5569 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5937, allocations: 0 / 0.5569 GB, free: 6.129 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.5945, allocations: 0.4898 MB / 0.5574 GB, free: 5.594 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.5949, allocations: 82.61 kB / 0.5574 GB, free: 5.504 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.595, allocations: 32.86 kB / 0.5575 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.5951, allocations: 0 / 0.5575 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.5953, allocations: 71.39 kB / 0.5575 GB, free: 5.387 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.5953, allocations: 0 / 0.5575 GB, free: 5.387 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003508/0.5957, allocations: 105.4 kB / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.5957, allocations: 59.39 kB / 0.5577 GB, free: 5.207 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.5961, allocations: 162.6 kB / 0.5578 GB, free: 5.031 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.5962, allocations: 29.7 kB / 0.5579 GB, free: 4.996 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.5964, allocations: 174.5 kB / 0.558 GB, free: 4.824 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.5965, allocations: 31.55 kB / 0.5581 GB, free: 4.793 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.5965, allocations: 0 / 0.5581 GB, free: 4.793 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5967, allocations: 314.8 kB / 0.5584 GB, free: 4.477 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.5969, allocations: 24.06 kB / 0.5584 GB, free: 4.453 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.5971, allocations: 64.31 kB / 0.5585 GB, free: 4.375 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.5972, allocations: 27.92 kB / 0.5585 GB, free: 4.348 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5973, allocations: 4 kB / 0.5585 GB, free: 4.344 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004544/0.5977, allocations: 105.6 kB / 0.5586 GB, free: 4.234 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.5978, allocations: 8 kB / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5978, allocations: 0 / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.5979, allocations: 0 / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.5982, allocations: 23.98 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.5983, allocations: 11.89 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.5985, allocations: 11.84 kB / 0.5586 GB, free: 4.18 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.5986, allocations: 11.98 kB / 0.5586 GB, free: 4.168 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 0.0001574/0.5987, allocations: 109.1 kB / 0.5588 GB, free: 4.055 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004047/0.5992, allocations: 105.4 kB / 0.5589 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.5992, allocations: 11.91 kB / 0.5589 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.5998, allocations: 123.3 kB / 0.559 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.5998, allocations: 0 / 0.559 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5999, allocations: 0 / 0.559 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5999, allocations: 0 / 0.559 GB, free: 3.809 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.6003, allocations: 186.3 kB / 0.5592 GB, free: 3.59 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6003, allocations: 288 / 0.5592 GB, free: 3.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.6006, allocations: 15.98 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.6007, allocations: 7.984 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.6007, allocations: 3.938 kB / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6007, allocations: 0 / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.6008, allocations: 7.953 kB / 0.5592 GB, free: 3.555 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.6014, allocations: 164.8 kB / 0.5593 GB, free: 3.375 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6016, allocations: 85.05 kB / 0.5594 GB, free: 3.273 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.6016, allocations: 4 kB / 0.5594 GB, free: 3.27 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.6018, allocations: 16.05 kB / 0.5595 GB, free: 3.254 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.6019, allocations: 7.984 kB / 0.5595 GB, free: 3.246 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.6019, allocations: 3.953 kB / 0.5595 GB, free: 3.242 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.6022, allocations: 132.1 kB / 0.5596 GB, free: 3.113 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.873e-06/0.6023, allocations: 0 / 0.5596 GB, free: 3.113 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005883/0.6029, allocations: 43.77 kB / 0.5596 GB, free: 3.07 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.002601/0.6055, allocations: 0.9419 MB / 0.5605 GB, free: 2.141 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.6059, allocations: 59.94 kB / 0.5606 GB, free: 2.082 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.946e-06/0.606, allocations: 0 / 0.5606 GB, free: 2.082 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.6062, allocations: 35.94 kB / 0.5606 GB, free: 2.047 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.6068, allocations: 36.27 kB / 0.5607 GB, free: 2.008 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.6083, allocations: 262.4 kB / 0.5609 GB, free: 1.703 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.6089, allocations: 0.724 MB / 0.5616 GB, free: 0.9531 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.6091, allocations: 39.42 kB / 0.5617 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of SimCode: time 2.234e-06/0.6091, allocations: 0 / 0.5617 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.876/3.485, allocations: 2.776 MB / 0.5644 GB, free: 14.15 MB / 411.1 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)