Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01167/0.01167, allocations: 104.1 kB / 15.74 MB, free: 5.988 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.002378/0.002378, allocations: 198.4 kB / 16.68 MB, free: 5.91 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.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3363/0.3363, allocations: 38 MB / 307.9 MB, free: 10.13 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.001538/0.001538, allocations: 79.84 kB / 433 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3432, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002783/0.3461, allocations: 1.767 MB / 491.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3475, allocations: 0.8736 MB / 492.1 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.3476, allocations: 5.375 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.3482, allocations: 314.9 kB / 492.5 MB, free: 18.07 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.0003489/0.3486, allocations: 205 kB / 492.7 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.349, allocations: 135.7 kB / 492.8 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3493, allocations: 246.8 kB / 493 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.673e-05/0.3493, allocations: 16.95 kB / 493 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3496, allocations: 129.9 kB / 493.2 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.3499, allocations: 186 kB / 493.4 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.3499, allocations: 10.75 kB / 493.4 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3501, allocations: 45.36 kB / 493.4 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.3503, allocations: 145.8 kB / 493.6 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3504, allocations: 143.9 kB / 493.7 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.351, allocations: 362.6 kB / 494 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.351, allocations: 1.25 kB / 494 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.351, allocations: 0 / 494 MB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.351, allocations: 3.938 kB / 494.1 MB, free: 17.46 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.001105/0.3521, allocations: 0.727 MB / 494.8 MB, free: 16.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3522, allocations: 12.67 kB / 494.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.3523, allocations: 50.77 kB / 494.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.3529, allocations: 448.9 kB / 495.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.353, allocations: 7.328 kB / 495.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.353, allocations: 8.203 kB / 495.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3532, allocations: 89.31 kB / 495.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3532, allocations: 1.125 kB / 495.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3532, allocations: 0.7969 kB / 495.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3533, allocations: 2.156 kB / 495.4 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3534, allocations: 34.53 kB / 495.4 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3538, allocations: 367.9 kB / 495.8 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.354, allocations: 110.8 kB / 495.9 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.3541, allocations: 45.67 kB / 495.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.3541, allocations: 1.578 kB / 495.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.3544, allocations: 113.4 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3544, allocations: 0.9375 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000465/0.3549, allocations: 201.7 kB / 496.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.3549, allocations: 78.7 kB / 496.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.356, allocations: 1.033 MB / 497.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.356, allocations: 30.86 kB / 497.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3561, allocations: 228.8 kB / 497.6 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.3562, allocations: 31.47 kB / 497.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.3562, allocations: 23.72 kB / 497.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.3563, allocations: 374.5 kB / 498 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.418e-05/0.3564, allocations: 27.84 kB / 498.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.3565, allocations: 56.2 kB / 498.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3567, allocations: 88.69 kB / 498.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3567, allocations: 5.938 kB / 498.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002682/0.357, allocations: 179.5 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.357, allocations: 5.062 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.357, allocations: 1.281 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.357, allocations: 1.906 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3572, allocations: 21.73 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3572, allocations: 2.094 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.3573, allocations: 9.719 kB / 498.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3573, allocations: 12 kB / 498.4 MB, free: 14.61 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.00018/0.3575, allocations: 224.4 kB / 498.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.3575, allocations: 51.11 kB / 498.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.3576, allocations: 61 kB / 498.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3576, allocations: 2.594 kB / 498.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3576, allocations: 0 / 498.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3576, allocations: 1.859 kB / 498.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.358, allocations: 342.3 kB / 499.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.358, allocations: 1.859 kB / 499.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.358, allocations: 15.27 kB / 499.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.358, allocations: 1.984 kB / 499.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.358, allocations: 1.969 kB / 499.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.358, allocations: 5.062 kB / 499.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.358, allocations: 2.141 kB / 499.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3584, allocations: 205.8 kB / 499.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3585, allocations: 137.8 kB / 499.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.3585, allocations: 7.016 kB / 499.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.3586, allocations: 4.531 kB / 499.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.3587, allocations: 11.41 kB / 499.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3587, allocations: 13.95 kB / 499.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007807/0.3595, allocations: 0.7689 MB / 0.4885 GB, free: 13.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3595, allocations: 0 / 0.4885 GB, free: 13.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3598, allocations: 41.48 kB / 0.4886 GB, free: 13.62 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.0009027/0.3607, allocations: 416.2 kB / 0.489 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3609, allocations: 81.02 kB / 0.4891 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.361, allocations: 0 / 0.4891 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3611, allocations: 41.11 kB / 0.4891 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3615, allocations: 80.48 kB / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3627, allocations: 0.8633 MB / 0.49 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3631, allocations: 0.8485 MB / 0.4908 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3632, allocations: 59.91 kB / 0.4909 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3633, allocations: 36.92 kB / 0.4909 GB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3633, allocations: 0 / 0.4909 GB, free: 12.09 MB / 382.1 MB Notification: Performance of Templates: time 0.009123/0.3724, allocations: 3.834 MB / 0.4947 GB, free: 11.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)