Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 108 kB / 15.61 MB, free: 152 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.001561/0.001561, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.661/1.661, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.4182/0.4182, allocations: 39.94 MB / 309.7 MB, free: 9.352 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.002782/0.002782, allocations: 71.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1857, allocations: 56.89 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.005004/0.1908, allocations: 1.774 MB / 436.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1937, allocations: 1.478 MB / 437.8 MB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1939, allocations: 4 kB / 437.8 MB, free: 416 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.1944, allocations: 47.69 kB / 437.8 MB, free: 368 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.1948, allocations: 91.53 kB / 437.9 MB, free: 276 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.1953, allocations: 139.6 kB / 438 MB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.1956, allocations: 171.5 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.1957, allocations: 21.53 kB / 438.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1959, allocations: 79.58 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.1962, allocations: 74.92 kB / 438.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1963, allocations: 7.938 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1964, allocations: 63.97 kB / 438.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1965, allocations: 27.91 kB / 438.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1967, allocations: 63.53 kB / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.1971, allocations: 167.8 kB / 438.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.1971, allocations: 4 kB / 438.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1971, allocations: 7.938 kB / 438.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1972, allocations: 0 / 438.7 MB, free: 15.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001053/0.1982, allocations: 470.6 kB / 439.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.1983, allocations: 11.89 kB / 439.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.1984, allocations: 16.75 kB / 439.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1988, allocations: 235.7 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1988, allocations: 8.359 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1988, allocations: 8.125 kB / 439.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1991, allocations: 105 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1991, allocations: 0 / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1991, allocations: 4 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1992, allocations: 4 kB / 439.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1993, allocations: 31.92 kB / 439.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.1996, allocations: 218.5 kB / 439.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.1999, allocations: 101.2 kB / 439.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2, allocations: 41.64 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.2001, allocations: 11.94 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.2005, allocations: 105 kB / 440.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.2005, allocations: 0 / 440.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005337/0.201, allocations: 169.4 kB / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.2011, allocations: 132.5 kB / 440.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.2015, allocations: 215.8 kB / 440.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.2015, allocations: 29.7 kB / 440.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.2016, allocations: 116.1 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.2017, allocations: 27.64 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.2017, allocations: 25.72 kB / 440.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.2019, allocations: 334.8 kB / 441.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.202, allocations: 27.98 kB / 441.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2021, allocations: 69.14 kB / 441.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.2023, allocations: 91.34 kB / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2023, allocations: 0 / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002596/0.2026, allocations: 138 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2026, allocations: 8 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2026, allocations: 7.938 kB / 441.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2027, allocations: 0 / 441.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2028, allocations: 27.92 kB / 441.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2028, allocations: 3.984 kB / 441.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.861e-05/0.2029, allocations: 11.91 kB / 441.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2029, allocations: 7.984 kB / 441.5 MB, free: 12.39 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.0001452/0.2031, allocations: 133.8 kB / 441.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.2031, allocations: 15.81 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.2032, allocations: 16.98 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2032, allocations: 4 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.2032, allocations: 0 / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2032, allocations: 0 / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2035, allocations: 221.5 kB / 441.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2035, allocations: 3.984 kB / 441.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.2035, allocations: 11.94 kB / 441.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2035, allocations: 0 / 441.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.2036, allocations: 12 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2036, allocations: 0 / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2036, allocations: 0 / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.204, allocations: 173.6 kB / 442 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2042, allocations: 88.92 kB / 442.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.2042, allocations: 8 kB / 442.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.2043, allocations: 11.98 kB / 442.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.2044, allocations: 7.938 kB / 442.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2044, allocations: 4 kB / 442.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.2046, allocations: 169.5 kB / 442.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2046, allocations: 0 / 442.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.2049, allocations: 39.98 kB / 442.4 MB, free: 11.38 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.001152/0.2061, allocations: 434.8 kB / 442.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.2064, allocations: 91.78 kB / 442.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.2064, allocations: 4 kB / 442.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.2065, allocations: 35.97 kB / 442.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.2069, allocations: 75.06 kB / 443 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.2076, allocations: 263.9 kB / 443.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.208, allocations: 0.7163 MB / 444 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.2081, allocations: 33.5 kB / 444 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.2082, allocations: 35.36 kB / 444 MB, free: 9.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2082, allocations: 4 kB / 444 MB, free: 9.684 MB / 382.1 MB Notification: Performance of Templates: time 0.008462/0.2167, allocations: 2.613 MB / 446.6 MB, free: 7.074 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)