Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, 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.001598/0.001598, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.701/1.701, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.4215/0.4215, allocations: 37.99 MB / 307.7 MB, free: 9.953 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.001539/0.001539, allocations: 72.06 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1895, allocations: 56.46 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004359/0.1939, allocations: 1.681 MB / 433.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1958, allocations: 0.8091 MB / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.1959, allocations: 0 / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1963, allocations: 35.77 kB / 434.2 MB, free: 4.078 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.0002583/0.1965, allocations: 51.7 kB / 434.3 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1968, allocations: 83.75 kB / 434.4 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.197, allocations: 95.7 kB / 434.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1971, allocations: 16.22 kB / 434.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.1972, allocations: 39.78 kB / 434.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.1973, allocations: 35.78 kB / 434.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1973, allocations: 4 kB / 434.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.1974, allocations: 40 kB / 434.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.1975, allocations: 19.91 kB / 434.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.1975, allocations: 35.8 kB / 434.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1978, allocations: 103.9 kB / 434.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1978, allocations: 0 / 434.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1978, allocations: 0 / 434.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1978, allocations: 0 / 434.8 MB, free: 3.562 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.0006188/0.1984, allocations: 403 kB / 435.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1985, allocations: 11.89 kB / 435.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1985, allocations: 12.78 kB / 435.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1988, allocations: 200.8 kB / 435.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1988, allocations: 7.938 kB / 435.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1988, allocations: 7.906 kB / 435.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.199, allocations: 57.66 kB / 435.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.199, allocations: 0 / 435.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.199, allocations: 0 / 435.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1991, allocations: 0 / 435.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.1991, allocations: 19.98 kB / 435.5 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.1996, allocations: 292.8 kB / 435.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1998, allocations: 58.69 kB / 435.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.1999, allocations: 20.84 kB / 435.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1999, allocations: 0 / 435.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.2002, allocations: 71.33 kB / 435.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 5.871e-06/0.2002, allocations: 4 kB / 435.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006411/0.2009, allocations: 165.2 kB / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.2009, allocations: 59.34 kB / 436.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.2011, allocations: 158.4 kB / 436.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2011, allocations: 29.7 kB / 436.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.2012, allocations: 104 kB / 436.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.2013, allocations: 23.66 kB / 436.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.2013, allocations: 21.7 kB / 436.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.2015, allocations: 330.8 kB / 436.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.2015, allocations: 20 kB / 436.8 MB, free: 1.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/0.2016, allocations: 38.02 kB / 436.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.2018, allocations: 65.64 kB / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2018, allocations: 0 / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.202, allocations: 101.6 kB / 437 MB, free: 1.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.202, allocations: 8.031 kB / 437 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2021, allocations: 0 / 437 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.2021, allocations: 11.92 kB / 437 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2022, allocations: 15.94 kB / 437 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2022, allocations: 0 / 437 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.2023, allocations: 8 kB / 437 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2023, allocations: 0 / 437 MB, free: 1.043 MB / 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.0001424/0.2025, allocations: 121.8 kB / 437.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.2025, allocations: 7.906 kB / 437.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.2025, allocations: 20.66 kB / 437.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2025, allocations: 0 / 437.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2026, allocations: 4 kB / 437.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.2026, allocations: 3.984 kB / 437.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.2031, allocations: 391.3 kB / 437.6 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2031, allocations: 0 / 437.6 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.2031, allocations: 8 kB / 437.6 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2031, allocations: 4.031 kB / 437.6 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2032, allocations: 0 / 437.6 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.2032, allocations: 7.938 kB / 437.6 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2032, allocations: 0 / 437.6 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.2035, allocations: 204.1 kB / 437.8 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.2035, allocations: 85 kB / 437.9 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.2036, allocations: 4 kB / 437.9 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.2036, allocations: 7.938 kB / 437.9 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2037, allocations: 11.98 kB / 437.9 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2037, allocations: 4 kB / 437.9 MB, free: 72 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.2039, allocations: 127.9 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2039, allocations: 0 / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2042, allocations: 20 kB / 438 MB, free: 15.93 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.001136/0.2053, allocations: 469.1 kB / 438.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.2055, allocations: 71.84 kB / 438.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2056, allocations: 0 / 438.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.2057, allocations: 27.98 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.206, allocations: 36.28 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.2065, allocations: 206.7 kB / 438.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.2069, allocations: 0.708 MB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.2069, allocations: 12.88 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.207, allocations: 19.38 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.207, allocations: 0 / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of Templates: time 0.005237/0.2122, allocations: 1.673 MB / 441.2 MB, free: 12.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)