Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006331/0.006331, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001489/0.001489, allocations: 192 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.565/1.565, allocations: 205.1 MB / 222.6 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.3944/0.3944, allocations: 38 MB / 307.9 MB, free: 10.07 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.001611/0.001611, allocations: 71.91 kB / 433 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3567, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004437/0.3612, allocations: 1.881 MB / 491.4 MB, free: 18.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3631, allocations: 0.8442 MB / 492.2 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.3633, allocations: 5.906 kB / 492.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.3637, allocations: 46.55 kB / 492.3 MB, free: 17.98 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.0003173/0.3641, allocations: 53.02 kB / 492.3 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.3645, allocations: 109.4 kB / 492.4 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3647, allocations: 134.3 kB / 492.6 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3649, allocations: 33.16 kB / 492.6 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3651, allocations: 60.48 kB / 492.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3652, allocations: 44.86 kB / 492.7 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.3652, allocations: 11.41 kB / 492.7 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3654, allocations: 44.88 kB / 492.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.3655, allocations: 26.22 kB / 492.8 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.3656, allocations: 54.45 kB / 492.8 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.3659, allocations: 146.8 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3659, allocations: 2.062 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3659, allocations: 0 / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3659, allocations: 0 / 493 MB, free: 17.62 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007903/0.3667, allocations: 476.4 kB / 493.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.3668, allocations: 17.78 kB / 493.5 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.3669, allocations: 20.31 kB / 493.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.3672, allocations: 225.2 kB / 493.7 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3673, allocations: 11.83 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.3673, allocations: 9.375 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.3676, allocations: 120.5 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3676, allocations: 4.703 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3676, allocations: 1.219 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3676, allocations: 2.25 kB / 493.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.3678, allocations: 47.48 kB / 493.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.3685, allocations: 0.5162 MB / 494.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.3688, allocations: 90.16 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3689, allocations: 41.36 kB / 494.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.369, allocations: 1.344 kB / 494.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.3692, allocations: 85.73 kB / 494.6 MB, free: 16.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3692, allocations: 0 / 494.6 MB, free: 16.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004424/0.3697, allocations: 139.4 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3697, allocations: 57.22 kB / 494.8 MB, free: 16.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3699, allocations: 192.3 kB / 495 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.3699, allocations: 26.27 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.37, allocations: 110.9 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.3701, allocations: 35.2 kB / 495.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.3701, allocations: 28.7 kB / 495.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.3702, allocations: 331 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3703, allocations: 29.09 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.3704, allocations: 64.22 kB / 495.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3706, allocations: 94.8 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3706, allocations: 1.062 kB / 495.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003237/0.371, allocations: 145.8 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.371, allocations: 5.469 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.371, allocations: 1.406 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.3711, allocations: 3.281 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3712, allocations: 28.11 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3712, allocations: 2.922 kB / 495.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.3713, allocations: 19.05 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3713, allocations: 4.281 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001036/0.3714, allocations: 128.8 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.3714, allocations: 14.33 kB / 496.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.3715, allocations: 16.09 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3715, allocations: 5.094 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3715, allocations: 0 / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3715, allocations: 5.703 kB / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.3717, allocations: 213.1 kB / 496.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3718, allocations: 1.344 kB / 496.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/0.3718, allocations: 11.75 kB / 496.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3718, allocations: 0 / 496.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3719, allocations: 10.62 kB / 496.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3719, allocations: 3.938 kB / 496.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3719, allocations: 1.797 kB / 496.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.3723, allocations: 182.3 kB / 496.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.3724, allocations: 93.19 kB / 496.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3724, allocations: 2 kB / 496.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.3725, allocations: 13.86 kB / 496.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.3726, allocations: 14.03 kB / 496.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3726, allocations: 4.297 kB / 496.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3728, allocations: 138.2 kB / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3728, allocations: 0 / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.3731, allocations: 24.55 kB / 496.8 MB, free: 14.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001004/0.3741, allocations: 416.2 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.3743, allocations: 85.81 kB / 497.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3744, allocations: 0 / 497.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.3745, allocations: 40.08 kB / 497.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3748, allocations: 41.03 kB / 497.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.3754, allocations: 261.2 kB / 497.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.3756, allocations: 0.7145 MB / 498.3 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.809e-05/0.3757, allocations: 19.8 kB / 498.3 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.3758, allocations: 16.89 kB / 498.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3758, allocations: 0 / 498.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.006671/0.3824, allocations: 1.884 MB / 0.4885 GB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)