Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01117/0.01117, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.002136/0.002136, allocations: 191 kB / 16.67 MB, free: 5.961 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.676/1.676, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3104/0.3104, allocations: 38.01 MB / 307.9 MB, free: 10.19 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.001898/0.001898, allocations: 63.91 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3495, allocations: 56.47 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002996/0.3525, allocations: 1.673 MB / 491.2 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3539, allocations: 0.8069 MB / 492 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.354, allocations: 5.344 kB / 492 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.3544, allocations: 84.98 kB / 492.1 MB, free: 18.28 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.0002761/0.3547, allocations: 73.09 kB / 492.2 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.355, allocations: 85.14 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3552, allocations: 104.8 kB / 492.3 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3553, allocations: 16.09 kB / 492.4 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.3554, allocations: 54.83 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3556, allocations: 52.38 kB / 492.5 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3556, allocations: 3.25 kB / 492.5 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3557, allocations: 47.05 kB / 492.5 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.3558, allocations: 24.25 kB / 492.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.3559, allocations: 33.67 kB / 492.6 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3561, allocations: 117.8 kB / 492.7 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3562, allocations: 0 / 492.7 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3562, allocations: 1.094 kB / 492.7 MB, free: 18.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3562, allocations: 3.938 kB / 492.7 MB, free: 18.01 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.0006083/0.3568, allocations: 420.8 kB / 493.1 MB, free: 17.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.3569, allocations: 13.17 kB / 493.1 MB, free: 17.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.3569, allocations: 11 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.3573, allocations: 214.5 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3573, allocations: 2.344 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.3573, allocations: 6.469 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3575, allocations: 54.75 kB / 493.4 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3575, allocations: 0 / 493.4 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3576, allocations: 5.125 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3576, allocations: 4.516 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.3577, allocations: 22.16 kB / 493.4 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.3581, allocations: 289.2 kB / 493.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3583, allocations: 60 kB / 493.8 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.3583, allocations: 24.77 kB / 493.8 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.3584, allocations: 1.688 kB / 493.8 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.3586, allocations: 65.25 kB / 493.9 MB, free: 16.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.3586, allocations: 0 / 493.9 MB, free: 16.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006431/0.3592, allocations: 177 kB / 494 MB, free: 16.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3593, allocations: 53.23 kB / 494.1 MB, free: 16.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.3596, allocations: 218.8 kB / 494.3 MB, free: 16.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.3596, allocations: 38.61 kB / 494.3 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.3597, allocations: 105 kB / 494.4 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3597, allocations: 21.28 kB / 494.5 MB, free: 16.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.3598, allocations: 22.23 kB / 494.5 MB, free: 16.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3599, allocations: 331.6 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.3599, allocations: 16.38 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.36, allocations: 36.16 kB / 494.8 MB, free: 16.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3602, allocations: 60.83 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3602, allocations: 1.031 kB / 494.9 MB, free: 16.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.3604, allocations: 102.4 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3604, allocations: 4.719 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3604, allocations: 1.188 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3604, allocations: 1.344 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3605, allocations: 20.12 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3606, allocations: 0.7344 kB / 495 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.3606, allocations: 10.58 kB / 495 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3606, allocations: 7.234 kB / 495.1 MB, free: 15.98 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.064e-05/0.3607, allocations: 128.5 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3608, allocations: 13.44 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.3608, allocations: 17.02 kB / 495.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3608, allocations: 1.188 kB / 495.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3608, allocations: 0 / 495.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3608, allocations: 4.828 kB / 495.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.3613, allocations: 400.4 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3613, allocations: 0.8906 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.3613, allocations: 8.25 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3613, allocations: 5.969 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3613, allocations: 6.953 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3613, allocations: 5.062 kB / 495.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3614, allocations: 0 / 495.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.3616, allocations: 214.3 kB / 495.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.3617, allocations: 84.08 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.3617, allocations: 7.422 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.3618, allocations: 10.39 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3618, allocations: 5.328 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3618, allocations: 3.875 kB / 496 MB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.362, allocations: 157 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.362, allocations: 4 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3623, allocations: 26.3 kB / 496.1 MB, free: 15.08 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.00104/0.3633, allocations: 468 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3635, allocations: 59.75 kB / 496.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3635, allocations: 0 / 496.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.3636, allocations: 32.36 kB / 496.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.364, allocations: 31.12 kB / 496.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.3645, allocations: 239.7 kB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.3647, allocations: 0.7075 MB / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.3648, allocations: 17.11 kB / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.3648, allocations: 28.75 kB / 497.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3648, allocations: 0 / 497.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Templates: time 0.005816/0.3706, allocations: 1.731 MB / 499.4 MB, free: 13.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)