Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",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.001449/0.001449, allocations: 179.2 kB / 8.363 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.041/2.041, 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.001101/0.001101, allocations: 92 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.357/0.357, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.445e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4524, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.6694, allocations: 87.96 MB / 0.5519 GB, free: 11.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.6697, allocations: 67.97 kB / 0.552 GB, free: 11.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.019/0.6887, allocations: 4.212 MB / 0.5561 GB, free: 6.953 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6888, allocations: 0 / 0.5561 GB, free: 6.953 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.6888, allocations: 8.547 kB / 0.5561 GB, free: 6.945 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.0007279/0.6896, allocations: 456.5 kB / 0.5565 GB, free: 6.449 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6896, allocations: 8.031 kB / 0.5565 GB, free: 6.441 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.6897, allocations: 15.91 kB / 0.5565 GB, free: 6.426 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.6901, allocations: 226.7 kB / 0.5568 GB, free: 6.164 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.6902, allocations: 7.984 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.6902, allocations: 4 kB / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/0.6904, allocations: 32 kB / 0.5568 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.6906, allocations: 92.22 kB / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6906, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.6907, allocations: 0 / 0.5569 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6907, allocations: 8 kB / 0.5569 GB, free: 6.008 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008295/0.6915, allocations: 0.5013 MB / 0.5574 GB, free: 5.461 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.6919, allocations: 74.62 kB / 0.5575 GB, free: 5.379 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.816e-05/0.692, allocations: 28.86 kB / 0.5575 GB, free: 5.348 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.692, allocations: 0 / 0.5575 GB, free: 5.348 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.6922, allocations: 79.38 kB / 0.5576 GB, free: 5.258 MB / 395.1 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.6922, allocations: 0 / 0.5576 GB, free: 5.258 MB / 395.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003439/0.6926, allocations: 109.4 kB / 0.5577 GB, free: 5.145 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.6926, allocations: 55.39 kB / 0.5577 GB, free: 5.078 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.6929, allocations: 162.6 kB / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.6929, allocations: 25.7 kB / 0.5579 GB, free: 4.871 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.6931, allocations: 174.5 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.6931, allocations: 31.55 kB / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.6931, allocations: 0 / 0.5581 GB, free: 4.668 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6933, allocations: 310.8 kB / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.6934, allocations: 35.92 kB / 0.5584 GB, free: 4.32 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.6935, allocations: 49.67 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.6936, allocations: 31.92 kB / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6936, allocations: 0 / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002785/0.6939, allocations: 109.5 kB / 0.5586 GB, free: 4.113 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6939, allocations: 4 kB / 0.5586 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6939, allocations: 192 / 0.5586 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.694, allocations: 4 kB / 0.5586 GB, free: 4.105 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.6942, allocations: 27.92 kB / 0.5586 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6942, allocations: 3.953 kB / 0.5586 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.6944, allocations: 15.84 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.6944, allocations: 7.984 kB / 0.5587 GB, free: 4.051 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.0001115/0.6945, allocations: 113.2 kB / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000253/0.6948, allocations: 101.4 kB / 0.5589 GB, free: 3.828 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.6948, allocations: 15.91 kB / 0.5589 GB, free: 3.812 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.6951, allocations: 115.4 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.6952, allocations: 0 / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6952, allocations: 3.938 kB / 0.559 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6952, allocations: 4 kB / 0.559 GB, free: 3.691 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.6955, allocations: 182.2 kB / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6955, allocations: 0 / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.6957, allocations: 19.98 kB / 0.5592 GB, free: 3.457 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.6957, allocations: 0 / 0.5592 GB, free: 3.457 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.6957, allocations: 4 kB / 0.5592 GB, free: 3.453 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6957, allocations: 0 / 0.5592 GB, free: 3.453 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6957, allocations: 3.953 kB / 0.5592 GB, free: 3.449 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.6961, allocations: 164.8 kB / 0.5594 GB, free: 3.27 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.6962, allocations: 88.98 kB / 0.5595 GB, free: 3.164 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.6963, allocations: 4 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6964, allocations: 12.05 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.6965, allocations: 12.27 kB / 0.5595 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.6965, allocations: 7.953 kB / 0.5595 GB, free: 3.129 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.6967, allocations: 128.1 kB / 0.5596 GB, free: 3.004 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.396e-06/0.6967, allocations: 3.938 kB / 0.5596 GB, free: 3 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.697, allocations: 39.95 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.001614/0.6987, allocations: 0.949 MB / 0.5606 GB, free: 2.023 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.6989, allocations: 63.88 kB / 0.5606 GB, free: 1.961 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.699, allocations: 0 / 0.5606 GB, free: 1.961 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.6991, allocations: 40.17 kB / 0.5607 GB, free: 1.922 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.6995, allocations: 32.03 kB / 0.5607 GB, free: 1.887 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.7004, allocations: 262.4 kB / 0.561 GB, free: 1.586 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.7007, allocations: 0.7162 MB / 0.5617 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.7009, allocations: 47.42 kB / 0.5617 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of SimCode: time 1.413e-06/0.7009, allocations: 0 / 0.5617 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.796/3.497, allocations: 2.769 MB / 0.5644 GB, free: 14.04 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)