Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005713/0.005713, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001384/0.001384, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.632/1.632, 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.3779/0.3779, allocations: 37.99 MB / 307.9 MB, free: 10.05 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.001602/0.001602, allocations: 71.89 kB / 433.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4103, allocations: 56.46 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003337/0.4137, allocations: 1.677 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.4153, allocations: 0.8061 MB / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.4154, allocations: 0 / 492 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.4158, allocations: 51.73 kB / 492 MB, free: 18.23 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.0002502/0.4161, allocations: 56.78 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.4164, allocations: 79.67 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4166, allocations: 99.64 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.4167, allocations: 11.44 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.4168, allocations: 41.56 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.099e-05/0.4169, allocations: 30.03 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.417, allocations: 2.688 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.4171, allocations: 43.09 kB / 492.4 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.4172, allocations: 29.69 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.4172, allocations: 37.91 kB / 492.5 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.4175, allocations: 123 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4175, allocations: 1.094 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4175, allocations: 0 / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4175, allocations: 0 / 492.6 MB, free: 17.96 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.0005731/0.4181, allocations: 422.9 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4181, allocations: 13.33 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.4182, allocations: 13.75 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.4185, allocations: 217.2 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4185, allocations: 1.5 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.4185, allocations: 6.438 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4187, allocations: 57.78 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4187, allocations: 1.188 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4187, allocations: 0.9844 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4188, allocations: 1.188 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.4188, allocations: 17.45 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.4192, allocations: 302 kB / 493.6 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.4194, allocations: 60.41 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.4195, allocations: 19.55 kB / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.4195, allocations: 1.219 kB / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.4197, allocations: 69.94 kB / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4197, allocations: 0 / 493.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.4203, allocations: 174 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.4203, allocations: 53.3 kB / 494 MB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.4205, allocations: 219.7 kB / 494.2 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.4205, allocations: 26.83 kB / 494.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.4206, allocations: 117.5 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.4206, allocations: 21.77 kB / 494.4 MB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.4207, allocations: 25.98 kB / 494.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.4208, allocations: 328 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.4208, allocations: 21.67 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.4209, allocations: 38.08 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.421, allocations: 59.38 kB / 494.8 MB, free: 16.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.421, allocations: 4 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.4212, allocations: 105 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4212, allocations: 5.547 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4212, allocations: 1.125 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4213, allocations: 2.109 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.4214, allocations: 14.81 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4214, allocations: 2.031 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.4214, allocations: 14.69 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4214, allocations: 2.781 kB / 495 MB, free: 15.93 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.332e-05/0.4215, allocations: 141.2 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.4216, allocations: 14.31 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.4216, allocations: 25.09 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4216, allocations: 1.859 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4216, allocations: 0 / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.4217, allocations: 4.734 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.4221, allocations: 394.6 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4221, allocations: 4.031 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.4221, allocations: 9.141 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.4221, allocations: 1.344 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4221, allocations: 6.047 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4221, allocations: 1.5 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4222, allocations: 0.7031 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.4224, allocations: 204.8 kB / 495.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4224, allocations: 89.44 kB / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4224, allocations: 6.453 kB / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.4225, allocations: 7.266 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.4226, allocations: 5.688 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.4226, allocations: 3.844 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.4228, allocations: 172.4 kB / 496 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4228, allocations: 192 / 496 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.4231, allocations: 26.41 kB / 496.1 MB, free: 15.02 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.001075/0.4242, allocations: 470.1 kB / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4244, allocations: 59.67 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4244, allocations: 1.094 kB / 496.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.4245, allocations: 36.77 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.4248, allocations: 30.64 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.4253, allocations: 258.6 kB / 496.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.4255, allocations: 0.7116 MB / 497.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.4256, allocations: 25 kB / 497.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.4256, allocations: 16.97 kB / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4256, allocations: 0 / 497.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.005391/0.431, allocations: 1.734 MB / 499.4 MB, free: 13.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)