Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006747/0.006747, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001505/0.001505, allocations: 198.3 kB / 16.67 MB, free: 6.355 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3744/0.3744, allocations: 38 MB / 307.9 MB, free: 10.04 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.001591/0.001591, allocations: 71.89 kB / 433.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4465, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003589/0.4501, allocations: 1.672 MB / 491.2 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.4518, allocations: 0.8035 MB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.4519, allocations: 0.5312 kB / 492 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.4523, allocations: 40.75 kB / 492 MB, free: 18.26 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.0003264/0.4527, allocations: 47.91 kB / 492.1 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.453, allocations: 84.36 kB / 492.2 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.4533, allocations: 98.94 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.4534, allocations: 20.41 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.4535, allocations: 40.27 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.4536, allocations: 29.94 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.4537, allocations: 8.438 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.4538, allocations: 41.94 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.4539, allocations: 15.91 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.4539, allocations: 37.53 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.4542, allocations: 104 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4542, allocations: 0 / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4543, allocations: 0 / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.4543, allocations: 4 kB / 492.6 MB, free: 18 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.0006458/0.4549, allocations: 403.3 kB / 492.9 MB, free: 17.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.455, allocations: 12.36 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.455, allocations: 14.31 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.4554, allocations: 196.9 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4554, allocations: 6.438 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.4555, allocations: 6.844 kB / 493.2 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.4557, allocations: 57.89 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.4557, allocations: 4 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4557, allocations: 2.203 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4557, allocations: 0 / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.4558, allocations: 17.39 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.4563, allocations: 285 kB / 493.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4565, allocations: 55.59 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.4565, allocations: 25.08 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.4566, allocations: 4.844 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.4567, allocations: 70.06 kB / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.4567, allocations: 0 / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006192/0.4574, allocations: 175.4 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4574, allocations: 57.23 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.4576, allocations: 159.2 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4576, allocations: 31.48 kB / 494.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.4577, allocations: 98.52 kB / 494.2 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.4577, allocations: 21.97 kB / 494.2 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.4578, allocations: 26.66 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.4579, allocations: 320.5 kB / 494.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.4579, allocations: 17.3 kB / 494.6 MB, free: 16.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.458, allocations: 44.28 kB / 494.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4581, allocations: 57.45 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4582, allocations: 192 / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.4584, allocations: 104.7 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4584, allocations: 12.66 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4584, allocations: 1.031 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.4584, allocations: 6.406 kB / 494.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.4586, allocations: 18.75 kB / 494.8 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4586, allocations: 0 / 494.8 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.4586, allocations: 3.375 kB / 494.8 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4586, allocations: 3.469 kB / 494.8 MB, free: 16.01 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.0001003/0.4587, allocations: 126.5 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4588, allocations: 8.25 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.4588, allocations: 18.31 kB / 495 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4588, allocations: 1.062 kB / 495 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4589, allocations: 1.281 kB / 495 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4589, allocations: 8.641 kB / 495 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.4594, allocations: 390.7 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4594, allocations: 1.438 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.4594, allocations: 8.625 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4594, allocations: 1.031 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4594, allocations: 2.312 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.4595, allocations: 1.469 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4595, allocations: 5.219 kB / 495.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.4597, allocations: 216.2 kB / 495.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.4598, allocations: 84.91 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.4598, allocations: 9.125 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.4599, allocations: 3.656 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.4599, allocations: 5.375 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.46, allocations: 3.891 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.4601, allocations: 131 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4601, allocations: 0 / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.4604, allocations: 21.69 kB / 495.8 MB, free: 15.12 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.001159/0.4615, allocations: 473.6 kB / 496.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.4618, allocations: 60.53 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4619, allocations: 0 / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.462, allocations: 36.2 kB / 496.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.4624, allocations: 34.66 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.4631, allocations: 197.4 kB / 496.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.4634, allocations: 0.7006 MB / 497.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.48e-05/0.4634, allocations: 16.8 kB / 497.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.4635, allocations: 16.7 kB / 497.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4635, allocations: 0 / 497.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.006715/0.4702, allocations: 1.683 MB / 499 MB, free: 13.65 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)