Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007614, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000881/0.0008812, allocations: 177.7 kB / 16.92 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4874/0.4874, allocations: 43.57 MB / 315 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009691/0.0009695, allocations: 24 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1827, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002809/0.1856, allocations: 1.711 MB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1873, allocations: 0.8702 MB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.1875, allocations: 7.938 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.1879, allocations: 31.83 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1882, allocations: 59.69 kB / 446.1 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00042/0.1887, allocations: 111.8 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.189, allocations: 179.5 kB / 446.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1891, allocations: 41.92 kB / 446.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1893, allocations: 79.56 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1895, allocations: 63.69 kB / 446.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.1895, allocations: 4 kB / 446.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1897, allocations: 43.98 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.1898, allocations: 39.77 kB / 446.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1899, allocations: 93.3 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.1902, allocations: 179.3 kB / 446.9 MB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1902, allocations: 4 kB / 447 MB, free: 9.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1902, allocations: 4 kB / 447 MB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1902, allocations: 0 / 447 MB, free: 9.145 MB / 382.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.0009822/0.1912, allocations: 0.5333 MB / 447.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1913, allocations: 8.031 kB / 447.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.1914, allocations: 16.75 kB / 447.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1917, allocations: 252.7 kB / 447.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1917, allocations: 4.375 kB / 447.8 MB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.1918, allocations: 16.12 kB / 447.8 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.1922, allocations: 164.1 kB / 447.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1922, allocations: 0 / 447.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.1923, allocations: 0 / 447.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1923, allocations: 4 kB / 447.9 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.1927, allocations: 135.9 kB / 448.1 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.1934, allocations: 0.5437 MB / 448.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.1941, allocations: 190.5 kB / 448.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.1944, allocations: 92.78 kB / 448.9 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1944, allocations: 4 kB / 448.9 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.1948, allocations: 147.1 kB / 449 MB, free: 6.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1948, allocations: 4 kB / 449 MB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008985/0.1957, allocations: 289.3 kB / 449.3 MB, free: 6.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.1958, allocations: 63.33 kB / 449.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.196, allocations: 223.2 kB / 449.6 MB, free: 6.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1961, allocations: 33.7 kB / 449.6 MB, free: 6.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.1961, allocations: 124.2 kB / 449.8 MB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1962, allocations: 35.59 kB / 449.8 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.1962, allocations: 25.72 kB / 449.8 MB, free: 6.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1964, allocations: 330.8 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.1966, allocations: 83.89 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.1969, allocations: 116.2 kB / 450.3 MB, free: 5.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.1975, allocations: 217.8 kB / 450.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1975, allocations: 0 / 450.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000712/0.1982, allocations: 279 kB / 450.8 MB, free: 4.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.1983, allocations: 37.69 kB / 450.9 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.1983, allocations: 0 / 450.9 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.1983, allocations: 4 kB / 450.9 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.1985, allocations: 43.84 kB / 450.9 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1985, allocations: 8.062 kB / 450.9 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1987, allocations: 43.81 kB / 451 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1988, allocations: 4 kB / 451 MB, free: 4.824 MB / 382.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.0001805/0.199, allocations: 134.6 kB / 451.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.199, allocations: 27.72 kB / 451.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.1991, allocations: 17.41 kB / 451.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1991, allocations: 11.94 kB / 451.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.1991, allocations: 0 / 451.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1991, allocations: 3.984 kB / 451.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.1994, allocations: 237.4 kB / 451.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1994, allocations: 0 / 451.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1996, allocations: 27.97 kB / 451.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1996, allocations: 0 / 451.4 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1997, allocations: 4 kB / 451.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1997, allocations: 7.938 kB / 451.4 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1997, allocations: 0 / 451.4 MB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009402/0.2006, allocations: 344.7 kB / 451.8 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.2007, allocations: 100.8 kB / 451.9 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.2008, allocations: 8 kB / 451.9 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.201, allocations: 31.91 kB / 451.9 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.2011, allocations: 19.97 kB / 451.9 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2011, allocations: 0 / 451.9 MB, free: 3.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.2013, allocations: 168.7 kB / 452.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2013, allocations: 0 / 452.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.2015, allocations: 43.98 kB / 452.1 MB, free: 3.566 MB / 382.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.001396/0.2029, allocations: 410.2 kB / 452.5 MB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006848/0.2036, allocations: 239.2 kB / 452.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2037, allocations: 0 / 452.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.204, allocations: 100.1 kB / 452.9 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.2043, allocations: 35.97 kB / 452.9 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.2051, allocations: 370.2 kB / 453.3 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2054, allocations: 0.7244 MB / 454 MB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.2055, allocations: 25.53 kB / 454 MB, free: 1.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.2056, allocations: 31.42 kB / 454 MB, free: 1.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2056, allocations: 0 / 454 MB, free: 1.625 MB / 382.1 MB Notification: Performance of Templates: time 0.2794/0.485, allocations: 2.561 MB / 456.6 MB, free: 45.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)