Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 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.001475/0.001475, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.765/1.765, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.3822/0.3822, allocations: 39.94 MB / 309.7 MB, free: 9.336 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.002939/0.00294, allocations: 78.39 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1944, allocations: 56.88 MB / 434.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003639/0.1981, allocations: 1.693 MB / 436.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1997, allocations: 0.8016 MB / 437 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.1998, allocations: 0 / 437 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.2003, allocations: 83.7 kB / 437.1 MB, free: 1.113 MB / 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.0002953/0.2006, allocations: 71.7 kB / 437.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.2009, allocations: 83.72 kB / 437.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.2011, allocations: 111.7 kB / 437.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2013, allocations: 16.2 kB / 437.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2014, allocations: 55.77 kB / 437.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2015, allocations: 43.84 kB / 437.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2015, allocations: 4 kB / 437.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2017, allocations: 47.97 kB / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.2018, allocations: 19.92 kB / 437.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.2018, allocations: 35.73 kB / 437.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.2021, allocations: 131.7 kB / 437.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.2021, allocations: 4 kB / 437.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2021, allocations: 0 / 437.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.2021, allocations: 0 / 437.7 MB, free: 0.5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007699/0.2029, allocations: 414.9 kB / 438.1 MB, free: 48 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.203, allocations: 11.89 kB / 438.1 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.203, allocations: 12.75 kB / 438.1 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2034, allocations: 208.1 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.2034, allocations: 4.375 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.2035, allocations: 12.12 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.2037, allocations: 57.61 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2037, allocations: 0 / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2037, allocations: 4 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2037, allocations: 0 / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.2038, allocations: 15.98 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.2042, allocations: 288.8 kB / 438.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2044, allocations: 66.61 kB / 438.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.2045, allocations: 20.84 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.2045, allocations: 0 / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.2048, allocations: 79.33 kB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.2048, allocations: 0 / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.2054, allocations: 177.1 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.2054, allocations: 55.39 kB / 439.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.2057, allocations: 219 kB / 439.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.2057, allocations: 29.7 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.2058, allocations: 104.1 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2058, allocations: 23.66 kB / 439.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.2059, allocations: 25.7 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.206, allocations: 326.8 kB / 439.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.2061, allocations: 27.98 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.2061, allocations: 37.64 kB / 439.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.2063, allocations: 57.72 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2063, allocations: 0 / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.2065, allocations: 101.4 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2065, allocations: 8 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2065, allocations: 8.016 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2065, allocations: 192 / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2066, allocations: 12 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2066, allocations: 3.938 kB / 440.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.2067, allocations: 11.92 kB / 440.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2067, allocations: 8 kB / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001034/0.2068, allocations: 125.8 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.2068, allocations: 11.91 kB / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.2069, allocations: 17.56 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2069, allocations: 0 / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2069, allocations: 4 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2069, allocations: 3.938 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.2074, allocations: 407.2 kB / 440.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2074, allocations: 0 / 440.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.2074, allocations: 8 kB / 440.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2074, allocations: 0 / 440.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2075, allocations: 7.969 kB / 440.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2075, allocations: 4 kB / 440.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2075, allocations: 384 / 440.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.2077, allocations: 200.3 kB / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.2078, allocations: 100.8 kB / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.2078, allocations: 3.938 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.2079, allocations: 8 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.2079, allocations: 11.98 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2079, allocations: 4 kB / 441 MB, free: 12.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.2081, allocations: 159.2 kB / 441.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2081, allocations: 0 / 441.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.2084, allocations: 24 kB / 441.1 MB, free: 12.69 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001172/0.2095, allocations: 461 kB / 441.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.2098, allocations: 59.86 kB / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2098, allocations: 0 / 441.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.2099, allocations: 35.92 kB / 441.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2103, allocations: 27.83 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.2109, allocations: 235.2 kB / 441.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2112, allocations: 0.7157 MB / 442.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.2113, allocations: 17.17 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.2113, allocations: 19.44 kB / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2113, allocations: 0 / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Templates: time 0.004722/0.216, allocations: 1.701 MB / 444.4 MB, free: 9.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)