Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 196.8 kB / 16.14 MB, free: 6.652 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.785/1.785, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4867/0.4867, allocations: 39.94 MB / 309.3 MB, free: 9.664 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 70.41 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1914, allocations: 56.89 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004007/0.1955, allocations: 1.837 MB / 435.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1982, allocations: 1.449 MB / 437.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1983, allocations: 4 kB / 437.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.1988, allocations: 47.77 kB / 437.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.1991, allocations: 79.67 kB / 437.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1995, allocations: 139.7 kB / 437.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1999, allocations: 167.5 kB / 437.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.2, allocations: 9.547 kB / 437.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.2001, allocations: 79.56 kB / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.2004, allocations: 67.62 kB / 437.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.2004, allocations: 4 kB / 437.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2006, allocations: 63.97 kB / 437.7 MB, free: 456 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.2007, allocations: 23.91 kB / 437.8 MB, free: 432 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.2008, allocations: 63.53 kB / 437.8 MB, free: 368 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.2011, allocations: 163.8 kB / 438 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2011, allocations: 0 / 438 MB, free: 204 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2011, allocations: 0 / 438 MB, free: 204 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2011, allocations: 0 / 438 MB, free: 204 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009468/0.2021, allocations: 462.6 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.2021, allocations: 16.02 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.2022, allocations: 20.75 kB / 438.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.2026, allocations: 243.6 kB / 438.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2026, allocations: 384 / 438.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.2026, allocations: 8.125 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.203, allocations: 97.08 kB / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.203, allocations: 0 / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.203, allocations: 4 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.203, allocations: 11.92 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.2032, allocations: 23.98 kB / 438.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.2035, allocations: 218.5 kB / 439.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.2039, allocations: 109.2 kB / 439.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.204, allocations: 41.64 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.204, allocations: 0 / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.2044, allocations: 112.9 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.2044, allocations: 4 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005407/0.205, allocations: 169.4 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.2051, allocations: 132.5 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.2055, allocations: 207.8 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.2056, allocations: 33.7 kB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.2057, allocations: 120 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.2058, allocations: 31.64 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.2059, allocations: 29.72 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.2062, allocations: 330.8 kB / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.2063, allocations: 27.98 kB / 440.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.2064, allocations: 69.14 kB / 440.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.2066, allocations: 95.38 kB / 440.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2066, allocations: 0 / 440.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003171/0.207, allocations: 133.4 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.207, allocations: 7.938 kB / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.207, allocations: 0 / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.207, allocations: 4 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2072, allocations: 20.67 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2072, allocations: 8 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.2073, allocations: 11.91 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2073, allocations: 4 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.2075, allocations: 141.7 kB / 440.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.2075, allocations: 15.81 kB / 440.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.2076, allocations: 16.98 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.2076, allocations: 8 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.2077, allocations: 0 / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2077, allocations: 4 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.2079, allocations: 221.5 kB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2079, allocations: 3.984 kB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.2079, allocations: 8 kB / 441.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.208, allocations: 0 / 441.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.208, allocations: 4 kB / 441.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.208, allocations: 4 kB / 441.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.208, allocations: 0 / 441.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.2084, allocations: 173.6 kB / 441.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.2085, allocations: 88.92 kB / 441.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.2085, allocations: 8 kB / 441.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.2086, allocations: 7.984 kB / 441.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.2087, allocations: 4 kB / 441.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2087, allocations: 11.98 kB / 441.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.2089, allocations: 157.5 kB / 441.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2089, allocations: 4.031 kB / 441.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.2092, allocations: 43.92 kB / 441.6 MB, free: 12.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001315/0.2105, allocations: 453.5 kB / 442.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.2108, allocations: 75.91 kB / 442.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2108, allocations: 4.125 kB / 442.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.2109, allocations: 47.91 kB / 442.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.2113, allocations: 55.64 kB / 442.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.212, allocations: 297.6 kB / 442.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2123, allocations: 0.7127 MB / 443.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.731e-05/0.2124, allocations: 42 kB / 443.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.2125, allocations: 23.42 kB / 443.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2125, allocations: 0 / 443.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of Templates: time 0.007177/0.2197, allocations: 2.527 MB / 445.9 MB, free: 7.898 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)