Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.251/0.251, allocations: 46.1 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 80.66 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1737, allocations: 62.44 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004669/0.1784, allocations: 2.028 MB / 482.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.181, allocations: 1.114 MB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.1813, allocations: 7.938 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.1819, allocations: 51.62 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.1826, allocations: 103.4 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.183, allocations: 119.6 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.1834, allocations: 199.5 kB / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1835, allocations: 21.69 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1837, allocations: 87.62 kB / 483.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.1839, allocations: 79.55 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.1839, allocations: 16 kB / 484 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1841, allocations: 55.97 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.1842, allocations: 39.84 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1843, allocations: 63.61 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1847, allocations: 199.6 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1847, allocations: 3.938 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1847, allocations: 0 / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1847, allocations: 0 / 484.3 MB, free: 1.027 MB / 350.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.001234/0.1859, allocations: 0.5643 MB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.186, allocations: 8.031 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.298e-05/0.1861, allocations: 38.75 kB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.1862, allocations: 16.75 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.1866, allocations: 256.8 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1866, allocations: 4.375 kB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.1867, allocations: 15.88 kB / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.1872, allocations: 154.5 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1872, allocations: 0 / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1872, allocations: 0 / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.1872, allocations: 4 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.1877, allocations: 119.8 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008615/0.1886, allocations: 0.5398 MB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1896, allocations: 174.6 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.1899, allocations: 72.73 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.19, allocations: 4 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.1906, allocations: 139.1 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.295e-06/0.1906, allocations: 0 / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000973/0.1916, allocations: 265.5 kB / 486.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1916, allocations: 51.41 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1919, allocations: 229.6 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1919, allocations: 33.7 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.192, allocations: 120.3 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1921, allocations: 35.59 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.1921, allocations: 45.64 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1923, allocations: 334.8 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.1926, allocations: 67.94 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.1929, allocations: 106.6 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.1934, allocations: 185.8 kB / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1934, allocations: 4 kB / 487.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006786/0.1941, allocations: 254.7 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.1942, allocations: 33.7 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1942, allocations: 3.984 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1942, allocations: 12.06 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1944, allocations: 35.97 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.1944, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1946, allocations: 31.81 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1946, allocations: 8 kB / 488.2 MB, free: 12.8 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.1948, allocations: 133.8 kB / 488.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.1948, allocations: 23.7 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.1949, allocations: 25.41 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1949, allocations: 3.938 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1949, allocations: 0 / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.195, allocations: 7.922 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.1952, allocations: 237.5 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1952, allocations: 0 / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1953, allocations: 23.97 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1954, allocations: 4 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1954, allocations: 3.984 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1954, allocations: 11.88 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1954, allocations: 0 / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.1963, allocations: 304.8 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.1964, allocations: 96.86 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.1964, allocations: 0 / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.1966, allocations: 27.91 kB / 489.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.1967, allocations: 23.91 kB / 489.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.1967, allocations: 11.94 kB / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1969, allocations: 168.5 kB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1969, allocations: 0 / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1971, allocations: 40 kB / 489.3 MB, free: 11.58 MB / 366.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002142/0.1993, allocations: 1.136 MB / 490.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000668/0.2, allocations: 223.1 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2, allocations: 0 / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.2003, allocations: 80.19 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.2007, allocations: 45.77 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.2041, allocations: 2.181 MB / 493 MB, free: 7.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.2043, allocations: 0.7241 MB / 493.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.2045, allocations: 25.53 kB / 493.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2046, allocations: 55.42 kB / 493.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2046, allocations: 0 / 493.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1332/0.3379, allocations: 4.904 MB / 498.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.724, allocations: 15.72 kB / 498.7 MB, free: 2.254 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)