Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, 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.001503/0.001503, allocations: 194.7 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.626/1.626, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4072/0.4072, allocations: 37.99 MB / 307.8 MB, free: 10.02 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.1. 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.002791/0.002791, allocations: 83.89 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.192, allocations: 56.46 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004405/0.1965, allocations: 1.666 MB / 433.4 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1994, allocations: 1.411 MB / 434.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1996, allocations: 0 / 434.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.2001, allocations: 39.77 kB / 434.8 MB, free: 3.496 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.000419/0.2005, allocations: 59.69 kB / 434.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.2009, allocations: 83.77 kB / 435 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.2012, allocations: 99.69 kB / 435.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.2014, allocations: 12.22 kB / 435.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.2016, allocations: 39.8 kB / 435.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2018, allocations: 39.83 kB / 435.2 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.2019, allocations: 4 kB / 435.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.2022, allocations: 63.91 kB / 435.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.2023, allocations: 15.92 kB / 435.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2024, allocations: 39.78 kB / 435.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.2028, allocations: 120 kB / 435.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2028, allocations: 0 / 435.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.2029, allocations: 0 / 435.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.2029, allocations: 0 / 435.4 MB, free: 2.93 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.00079/0.2037, allocations: 403.1 kB / 435.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.2037, allocations: 11.89 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.2038, allocations: 8.844 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.2041, allocations: 219.4 kB / 436 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2041, allocations: 4.375 kB / 436 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2041, allocations: 8.125 kB / 436 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.2043, allocations: 67.39 kB / 436.1 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2044, allocations: 4 kB / 436.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2044, allocations: 0 / 436.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2044, allocations: 0 / 436.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.2045, allocations: 23.92 kB / 436.1 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.2049, allocations: 284.9 kB / 436.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.2052, allocations: 54.67 kB / 436.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.294e-05/0.2052, allocations: 16.86 kB / 436.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2053, allocations: 0 / 436.5 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.2057, allocations: 79.31 kB / 436.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.2057, allocations: 4 kB / 436.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007445/0.2064, allocations: 169.2 kB / 436.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.2065, allocations: 81.11 kB / 436.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2067, allocations: 153.8 kB / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.2067, allocations: 29.7 kB / 437 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.2068, allocations: 104 kB / 437.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.2069, allocations: 23.66 kB / 437.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.2069, allocations: 29.7 kB / 437.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2071, allocations: 318.8 kB / 437.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.2071, allocations: 23.98 kB / 437.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.2072, allocations: 42.56 kB / 437.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2073, allocations: 61.7 kB / 437.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.2073, allocations: 0 / 437.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.2075, allocations: 97.62 kB / 437.7 MB, free: 416 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2076, allocations: 8 kB / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2076, allocations: 0 / 437.7 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2076, allocations: 3.984 kB / 437.7 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.2077, allocations: 15.94 kB / 437.7 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2077, allocations: 4 kB / 437.7 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.2078, allocations: 3.938 kB / 437.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2078, allocations: 8 kB / 437.7 MB, free: 372 kB / 366.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.0001037/0.2079, allocations: 121.9 kB / 437.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.2079, allocations: 11.91 kB / 437.9 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.208, allocations: 8.719 kB / 437.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.208, allocations: 4 kB / 437.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.208, allocations: 0 / 437.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.208, allocations: 7.922 kB / 437.9 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.2085, allocations: 387.3 kB / 438.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.2085, allocations: 0 / 438.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.2085, allocations: 12.03 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2085, allocations: 3.938 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2086, allocations: 7.938 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2086, allocations: 3.984 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2086, allocations: 384 / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.2088, allocations: 204.2 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.2089, allocations: 85 kB / 438.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.2089, allocations: 11.94 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.209, allocations: 12 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.2091, allocations: 3.984 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2091, allocations: 4.188 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2092, allocations: 118.9 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2092, allocations: 11.88 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.2095, allocations: 28 kB / 438.7 MB, free: 15.23 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.001148/0.2106, allocations: 0.4922 MB / 439.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.2109, allocations: 59.91 kB / 439.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2109, allocations: 4 kB / 439.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.211, allocations: 24 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.2113, allocations: 35.77 kB / 439.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.2118, allocations: 194.9 kB / 439.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.2122, allocations: 0.6963 MB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.2123, allocations: 16.81 kB / 440.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.2123, allocations: 19.44 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2124, allocations: 4 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of Templates: time 0.005708/0.2181, allocations: 1.948 MB / 442.2 MB, free: 11.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)