Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009152/0.009152, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.001666/0.001665, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.511/1.511, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.4172/0.4172, allocations: 38 MB / 307.9 MB, free: 10.15 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.001581/0.001581, allocations: 63.91 kB / 433 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4236, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004204/0.4279, allocations: 1.67 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.4294, allocations: 0.8042 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-05/0.4295, allocations: 1.156 kB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.4299, allocations: 49.62 kB / 492 MB, free: 18.22 MB / 382.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.0002527/0.4301, allocations: 44.97 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.4304, allocations: 84.53 kB / 492.2 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.4307, allocations: 94.58 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.4308, allocations: 16.52 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.4309, allocations: 41.39 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4311, allocations: 34.86 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.4311, allocations: 4 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.4313, allocations: 41.31 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.4313, allocations: 19.11 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.4314, allocations: 40.53 kB / 492.5 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.4316, allocations: 111.7 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4317, allocations: 1.125 kB / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4317, allocations: 0 / 492.6 MB, free: 17.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4317, allocations: 0 / 492.6 MB, free: 17.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005907/0.4323, allocations: 412.4 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.4323, allocations: 14.27 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.4324, allocations: 14.11 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.4327, allocations: 198.6 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4327, allocations: 5.562 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.4328, allocations: 11.11 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.433, allocations: 57.77 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.433, allocations: 0 / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.433, allocations: 2.438 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.433, allocations: 4 kB / 493.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.4331, allocations: 17.83 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4336, allocations: 289.7 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.4338, allocations: 65.75 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/0.4339, allocations: 23.64 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4339, allocations: 1.125 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.4341, allocations: 66.17 kB / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4341, allocations: 0 / 493.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006977/0.4348, allocations: 172 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4349, allocations: 53.2 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.4352, allocations: 184.3 kB / 494.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4352, allocations: 31.45 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.4353, allocations: 103.1 kB / 494.3 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.4353, allocations: 30.41 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.4354, allocations: 22.73 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4355, allocations: 325.4 kB / 494.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.4356, allocations: 24.62 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.4357, allocations: 35.94 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4359, allocations: 57.12 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4359, allocations: 1.953 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002202/0.4361, allocations: 104.3 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4361, allocations: 6.156 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4361, allocations: 0 / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.487e-05/0.4362, allocations: 1.516 kB / 494.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4363, allocations: 15.25 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4363, allocations: 1.875 kB / 494.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.4364, allocations: 14.86 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.4364, allocations: 3.125 kB / 494.9 MB, free: 15.96 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.0001637/0.4366, allocations: 132.5 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.4366, allocations: 9.969 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.4367, allocations: 14.3 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4367, allocations: 1.031 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4367, allocations: 0.9688 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.4368, allocations: 4.453 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.4373, allocations: 390.7 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.4373, allocations: 0 / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.4374, allocations: 8.625 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.4374, allocations: 5.125 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4374, allocations: 7.812 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4374, allocations: 0.5625 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4374, allocations: 5.312 kB / 495.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.4377, allocations: 213.2 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.4377, allocations: 83.92 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.4378, allocations: 6.922 kB / 495.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.4379, allocations: 7.25 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.4379, allocations: 9.141 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.4379, allocations: 4.328 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.4381, allocations: 143.7 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4381, allocations: 4 kB / 495.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.4384, allocations: 26.27 kB / 495.9 MB, free: 15.07 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.001131/0.4395, allocations: 470.7 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4398, allocations: 58.98 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4398, allocations: 1.188 kB / 496.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.4399, allocations: 32.75 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4402, allocations: 33.7 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.4407, allocations: 223.2 kB / 496.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.4409, allocations: 0.7039 MB / 497.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.463e-05/0.441, allocations: 18.55 kB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.4411, allocations: 15.48 kB / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4411, allocations: 0 / 497.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Templates: time 0.005974/0.447, allocations: 1.727 MB / 499.2 MB, free: 13.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)