Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",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.002148/0.002148, allocations: 176.9 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.046/2.046, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001111/0.00111, allocations: 96.06 kB / 262.1 MB, free: 13.85 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.304/0.304, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.05e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4217, allocations: 58.86 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.5967, allocations: 88.7 MB / 0.5526 GB, free: 10.47 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.5972, allocations: 63.97 kB / 0.5527 GB, free: 10.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02329/0.6205, allocations: 4.806 MB / 0.5574 GB, free: 5.605 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6205, allocations: 4 kB / 0.5574 GB, free: 5.602 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.6205, allocations: 0 / 0.5574 GB, free: 5.602 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001187/0.6217, allocations: 0.5332 MB / 0.5579 GB, free: 5.012 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6218, allocations: 8.031 kB / 0.5579 GB, free: 5.004 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.6219, allocations: 19.72 kB / 0.5579 GB, free: 4.984 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.6225, allocations: 251.7 kB / 0.5582 GB, free: 4.695 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.6225, allocations: 4 kB / 0.5582 GB, free: 4.691 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.6226, allocations: 4 kB / 0.5582 GB, free: 4.688 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002097/0.6228, allocations: 51.92 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.6231, allocations: 115.3 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6231, allocations: 3.984 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.6231, allocations: 0 / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6231, allocations: 4 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.6243, allocations: 0.5638 MB / 0.5589 GB, free: 3.895 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.6248, allocations: 94.67 kB / 0.559 GB, free: 3.793 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.6249, allocations: 40.86 kB / 0.559 GB, free: 3.75 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.6249, allocations: 4 kB / 0.559 GB, free: 3.746 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.6252, allocations: 107.5 kB / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.6252, allocations: 0 / 0.5591 GB, free: 3.629 MB / 395.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004295/0.6257, allocations: 133.3 kB / 0.5593 GB, free: 3.492 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.6257, allocations: 55.41 kB / 0.5593 GB, free: 3.426 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.6261, allocations: 194.1 kB / 0.5595 GB, free: 3.23 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.6261, allocations: 25.7 kB / 0.5595 GB, free: 3.199 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6263, allocations: 186.8 kB / 0.5597 GB, free: 3.012 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.6263, allocations: 39.55 kB / 0.5597 GB, free: 2.973 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.6264, allocations: 0 / 0.5597 GB, free: 2.973 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6265, allocations: 318.8 kB / 0.56 GB, free: 2.652 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.6267, allocations: 32 kB / 0.5601 GB, free: 2.621 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.6268, allocations: 76.22 kB / 0.5601 GB, free: 2.531 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.627, allocations: 37.55 kB / 0.5602 GB, free: 2.496 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.627, allocations: 0 / 0.5602 GB, free: 2.496 MB / 395.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004167/0.6274, allocations: 146.4 kB / 0.5603 GB, free: 2.348 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.6275, allocations: 33.7 kB / 0.5604 GB, free: 2.309 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6275, allocations: 0 / 0.5604 GB, free: 2.309 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.6276, allocations: 7.953 kB / 0.5604 GB, free: 2.301 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.6279, allocations: 48.03 kB / 0.5604 GB, free: 2.254 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.6279, allocations: 7.984 kB / 0.5604 GB, free: 2.246 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.6283, allocations: 27.89 kB / 0.5604 GB, free: 2.219 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.6283, allocations: 7.984 kB / 0.5605 GB, free: 2.211 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001256/0.6285, allocations: 108.9 kB / 0.5606 GB, free: 2.098 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003599/0.6288, allocations: 133.4 kB / 0.5607 GB, free: 1.961 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.6289, allocations: 23.77 kB / 0.5607 GB, free: 1.938 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.6294, allocations: 147.5 kB / 0.5608 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6294, allocations: 0 / 0.5608 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6294, allocations: 0 / 0.5608 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6294, allocations: 0 / 0.5608 GB, free: 1.793 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.6297, allocations: 222 kB / 0.5611 GB, free: 1.539 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6297, allocations: 0 / 0.5611 GB, free: 1.539 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.6301, allocations: 35.91 kB / 0.5611 GB, free: 1.504 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.6301, allocations: 4 kB / 0.5611 GB, free: 1.5 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.6302, allocations: 0 / 0.5611 GB, free: 1.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6302, allocations: 3.953 kB / 0.5611 GB, free: 1.496 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6302, allocations: 0 / 0.5611 GB, free: 1.496 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.6308, allocations: 209.2 kB / 0.5613 GB, free: 1.273 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.6309, allocations: 104.9 kB / 0.5614 GB, free: 1.152 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.6309, allocations: 0 / 0.5614 GB, free: 1.152 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.6313, allocations: 36.03 kB / 0.5614 GB, free: 1.117 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6314, allocations: 19.92 kB / 0.5615 GB, free: 1.098 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.6314, allocations: 4 kB / 0.5615 GB, free: 1.094 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.6317, allocations: 156.7 kB / 0.5616 GB, free: 0.9414 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6317, allocations: 0 / 0.5616 GB, free: 0.9414 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000433/0.6321, allocations: 51.83 kB / 0.5617 GB, free: 0.8906 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001867/0.634, allocations: 1.002 MB / 0.5626 GB, free: 15.9 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.6344, allocations: 155.5 kB / 0.5628 GB, free: 15.74 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6345, allocations: 8 kB / 0.5628 GB, free: 15.73 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.6346, allocations: 47.98 kB / 0.5628 GB, free: 15.68 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.6351, allocations: 43.78 kB / 0.5629 GB, free: 15.64 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.6361, allocations: 318.8 kB / 0.5632 GB, free: 15.28 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.6365, allocations: 0.7319 MB / 0.5639 GB, free: 14.52 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.6367, allocations: 55.42 kB / 0.5639 GB, free: 14.47 MB / 411.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6367, allocations: 0 / 0.5639 GB, free: 14.47 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.812/3.449, allocations: 3.509 MB / 0.5674 GB, free: 10.97 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)