Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009638/0.009638, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001471/0.001471, allocations: 196.6 kB / 16.68 MB, free: 5.953 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.715/1.715, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3831/0.3831, 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.001568/0.001568, allocations: 71.89 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4031, allocations: 56.46 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003622/0.4068, allocations: 1.677 MB / 491.2 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.4084, allocations: 0.7994 MB / 492 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.4085, allocations: 1.219 kB / 492 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.4088, allocations: 43.17 kB / 492 MB, free: 18.13 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.0002544/0.4091, allocations: 50.14 kB / 492.1 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.4094, allocations: 88.17 kB / 492.2 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.4097, allocations: 91.02 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4098, allocations: 15.94 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.4099, allocations: 45.86 kB / 492.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.41, allocations: 25.61 kB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.4101, allocations: 3.75 kB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4102, allocations: 46.8 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.4103, allocations: 18.36 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.4103, allocations: 36.38 kB / 492.4 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.4106, allocations: 111.7 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.4107, allocations: 4 kB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4107, allocations: 1.062 kB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4107, allocations: 0 / 492.6 MB, free: 17.87 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.0006445/0.4113, allocations: 408.9 kB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4114, allocations: 13.58 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.4114, allocations: 10.31 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.4118, allocations: 206.1 kB / 493.2 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4118, allocations: 5.719 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.4118, allocations: 11.03 kB / 493.2 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.412, allocations: 54.33 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.412, allocations: 0 / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.412, allocations: 1.031 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.412, allocations: 1.688 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.4121, allocations: 21.8 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.4125, allocations: 285.1 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.4127, allocations: 61.73 kB / 493.6 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.4128, allocations: 23.98 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4128, allocations: 4.938 kB / 493.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.413, allocations: 69.2 kB / 493.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.413, allocations: 4 kB / 493.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006453/0.4137, allocations: 169.6 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4137, allocations: 60.73 kB / 493.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.414, allocations: 180.5 kB / 494.1 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.414, allocations: 30.92 kB / 494.1 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.414, allocations: 99.3 kB / 494.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.4141, allocations: 26.69 kB / 494.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.4141, allocations: 22.3 kB / 494.3 MB, free: 16.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.4142, allocations: 330.5 kB / 494.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.4143, allocations: 20.55 kB / 494.6 MB, free: 16.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.4144, allocations: 35.48 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.4145, allocations: 66.39 kB / 494.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4145, allocations: 0 / 494.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.4147, allocations: 101.2 kB / 494.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4148, allocations: 5.156 kB / 494.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4148, allocations: 2.688 kB / 494.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/0.4148, allocations: 0 / 494.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.415, allocations: 15.47 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.415, allocations: 1.062 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.415, allocations: 14.94 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.415, allocations: 2.219 kB / 494.9 MB, free: 15.87 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 9.822e-05/0.4151, allocations: 122 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.4152, allocations: 17.7 kB / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.4152, allocations: 14.09 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4152, allocations: 2.375 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4153, allocations: 1.125 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4153, allocations: 7.875 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.4157, allocations: 386.3 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4158, allocations: 0 / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.4158, allocations: 13.61 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4158, allocations: 4.031 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.4158, allocations: 10.62 kB / 495.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4158, allocations: 5.344 kB / 495.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4158, allocations: 1.5 kB / 495.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.4161, allocations: 204.9 kB / 495.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.4161, allocations: 84.52 kB / 495.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.4162, allocations: 10.91 kB / 495.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.4163, allocations: 11.23 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4163, allocations: 9.25 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.4163, allocations: 4.828 kB / 495.8 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.4165, allocations: 147 kB / 495.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4165, allocations: 0 / 495.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.4168, allocations: 25.59 kB / 495.9 MB, free: 14.97 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.001124/0.4179, allocations: 466.2 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.4181, allocations: 64.03 kB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4181, allocations: 3.938 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.4182, allocations: 24.84 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.4186, allocations: 38.11 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.4191, allocations: 223.7 kB / 496.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4194, allocations: 0.7007 MB / 497.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.4194, allocations: 20.25 kB / 497.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.4195, allocations: 21.28 kB / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4195, allocations: 0 / 497.5 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Templates: time 0.006499/0.426, allocations: 1.703 MB / 499.2 MB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)