Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00936/0.00936, allocations: 103 kB / 15.73 MB, free: 6.039 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.001642/0.001642, allocations: 189.8 kB / 16.67 MB, free: 5.965 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.714/1.714, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3623/0.3623, allocations: 38 MB / 307.9 MB, free: 10.14 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.001621/0.001621, allocations: 67.89 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3589, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003728/0.3627, allocations: 1.76 MB / 491.3 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3642, allocations: 0.8816 MB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.3643, allocations: 5.688 kB / 492.2 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.3651, allocations: 312.3 kB / 492.5 MB, free: 18.11 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.0004398/0.3655, allocations: 206.9 kB / 492.7 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.366, allocations: 132.3 kB / 492.8 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.3663, allocations: 246.4 kB / 493 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.3664, allocations: 13.38 kB / 493 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.3666, allocations: 126.1 kB / 493.2 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.3669, allocations: 201.6 kB / 493.4 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.3669, allocations: 9.938 kB / 493.4 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3671, allocations: 45.72 kB / 493.4 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3673, allocations: 130.2 kB / 493.5 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3674, allocations: 152.1 kB / 493.7 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.3679, allocations: 362.5 kB / 494 MB, free: 17.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.3679, allocations: 1.062 kB / 494 MB, free: 17.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3679, allocations: 3.938 kB / 494 MB, free: 17.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3679, allocations: 0.6094 kB / 494.1 MB, free: 17.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001049/0.369, allocations: 0.7225 MB / 494.8 MB, free: 16.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.3691, allocations: 17.7 kB / 494.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3692, allocations: 50.59 kB / 494.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.3699, allocations: 452.7 kB / 495.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.37, allocations: 2.875 kB / 495.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.37, allocations: 7.938 kB / 495.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3702, allocations: 83.22 kB / 495.4 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3702, allocations: 3.984 kB / 495.4 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3703, allocations: 4 kB / 495.4 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3703, allocations: 2.031 kB / 495.4 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3704, allocations: 38.41 kB / 495.4 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.371, allocations: 378.3 kB / 495.8 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.3713, allocations: 100.4 kB / 495.9 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3714, allocations: 46.59 kB / 495.9 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3715, allocations: 1.094 kB / 495.9 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.3718, allocations: 109.3 kB / 496 MB, free: 16.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3718, allocations: 1.281 kB / 496 MB, free: 16.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005793/0.3724, allocations: 201.2 kB / 496.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.3724, allocations: 79.77 kB / 496.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.374, allocations: 1.035 MB / 497.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.374, allocations: 31.73 kB / 497.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.3742, allocations: 232.1 kB / 497.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.3743, allocations: 31.23 kB / 497.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.3743, allocations: 33.47 kB / 497.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3745, allocations: 365.9 kB / 498 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.3746, allocations: 27.23 kB / 498.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3747, allocations: 57.05 kB / 498.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.3749, allocations: 92.28 kB / 498.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3749, allocations: 0 / 498.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000301/0.3752, allocations: 168.7 kB / 498.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3752, allocations: 5.484 kB / 498.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3752, allocations: 1.562 kB / 498.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3753, allocations: 1.531 kB / 498.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.3754, allocations: 25.14 kB / 498.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3754, allocations: 6.172 kB / 498.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.3755, allocations: 14.09 kB / 498.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3756, allocations: 4 kB / 498.4 MB, free: 14.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002638/0.3758, allocations: 220.6 kB / 498.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.3759, allocations: 51.2 kB / 498.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.376, allocations: 66.27 kB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.376, allocations: 1.5 kB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3761, allocations: 0 / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3761, allocations: 2.234 kB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.3765, allocations: 346.3 kB / 499.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3765, allocations: 0.75 kB / 499.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.3766, allocations: 12.33 kB / 499.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3766, allocations: 5.312 kB / 499.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3766, allocations: 6.891 kB / 499.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3766, allocations: 1.656 kB / 499.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3766, allocations: 0.75 kB / 499.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.377, allocations: 204.8 kB / 499.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.3772, allocations: 134.7 kB / 499.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.3772, allocations: 6.125 kB / 499.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.3773, allocations: 6.141 kB / 499.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.3774, allocations: 15.22 kB / 499.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.3774, allocations: 4.703 kB / 499.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.3785, allocations: 0.7702 MB / 0.4885 GB, free: 13.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3785, allocations: 0 / 0.4885 GB, free: 13.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.3788, allocations: 45.05 kB / 0.4886 GB, free: 13.66 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001103/0.3799, allocations: 421.8 kB / 0.489 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3802, allocations: 85.36 kB / 0.4891 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3802, allocations: 0 / 0.4891 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.3804, allocations: 40.22 kB / 0.4891 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.3809, allocations: 72.34 kB / 0.4892 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3825, allocations: 0.8663 MB / 0.49 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3829, allocations: 0.8488 MB / 0.4908 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.383, allocations: 60.5 kB / 0.4909 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.3831, allocations: 29.66 kB / 0.4909 GB, free: 12.13 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3831, allocations: 0 / 0.4909 GB, free: 12.13 MB / 382.1 MB Notification: Performance of Templates: time 0.01076/0.3939, allocations: 3.836 MB / 0.4947 GB, free: 11.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)