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.00843/0.00843, allocations: 102.7 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.001602/0.001602, allocations: 199.5 kB / 16.68 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.3643/0.3643, allocations: 38 MB / 307.9 MB, free: 10.41 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.001656/0.001656, allocations: 75.91 kB / 433.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3467, allocations: 56.45 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003886/0.3506, allocations: 1.882 MB / 491.4 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.3523, allocations: 0.8437 MB / 492.2 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3524, allocations: 1.062 kB / 492.2 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.3528, allocations: 47.28 kB / 492.3 MB, free: 18.04 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.0002539/0.353, allocations: 64.56 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3533, allocations: 101.4 kB / 492.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.3536, allocations: 134.4 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3537, allocations: 28.11 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3539, allocations: 60.19 kB / 492.7 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.354, allocations: 54.08 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.354, allocations: 9.969 kB / 492.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3541, allocations: 50.33 kB / 492.8 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.676e-05/0.3542, allocations: 27.11 kB / 492.8 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.3543, allocations: 47.23 kB / 492.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3546, allocations: 149.9 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3546, allocations: 0 / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3546, allocations: 3.938 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3546, allocations: 0 / 493 MB, free: 17.66 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.001001/0.3556, allocations: 471.5 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/0.3557, allocations: 14.2 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.3558, allocations: 15.94 kB / 493.5 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.3563, allocations: 228.9 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3563, allocations: 7.656 kB / 493.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.3564, allocations: 14.02 kB / 493.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.3568, allocations: 105.9 kB / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3568, allocations: 0 / 493.8 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.3568, allocations: 9.266 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3568, allocations: 1.312 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.3571, allocations: 55.52 kB / 493.9 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.3579, allocations: 0.5077 MB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.3583, allocations: 87.31 kB / 494.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3584, allocations: 41.64 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3585, allocations: 1.312 kB / 494.5 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.3587, allocations: 85.39 kB / 494.6 MB, free: 16.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.3587, allocations: 1.406 kB / 494.6 MB, free: 16.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005039/0.3592, allocations: 142.4 kB / 494.8 MB, free: 16.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3593, allocations: 57.27 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.3595, allocations: 188.1 kB / 495 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3595, allocations: 33.7 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.3596, allocations: 112.4 kB / 495.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3596, allocations: 30.3 kB / 495.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.3597, allocations: 28 kB / 495.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.3598, allocations: 328.6 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.3599, allocations: 36.55 kB / 495.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-05/0.36, allocations: 66.64 kB / 495.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.3602, allocations: 92.31 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3602, allocations: 0.5938 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002641/0.3604, allocations: 144.8 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3605, allocations: 6.703 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3605, allocations: 1.344 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3605, allocations: 2.438 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3606, allocations: 25.52 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3606, allocations: 1.25 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.3607, allocations: 11.2 kB / 495.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3607, allocations: 13.69 kB / 495.9 MB, free: 15.26 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 8.989e-05/0.3608, allocations: 128.2 kB / 496 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3608, allocations: 14.22 kB / 496 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.3609, allocations: 15.25 kB / 496.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3609, allocations: 4.844 kB / 496.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3609, allocations: 1.766 kB / 496.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3609, allocations: 0.6562 kB / 496.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3611, allocations: 209.3 kB / 496.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3611, allocations: 0.8438 kB / 496.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.3612, allocations: 20.34 kB / 496.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3612, allocations: 3.938 kB / 496.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3612, allocations: 1.906 kB / 496.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3612, allocations: 6.047 kB / 496.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3612, allocations: 0 / 496.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3616, allocations: 181.8 kB / 496.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.3617, allocations: 93.03 kB / 496.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3617, allocations: 6.906 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.3618, allocations: 9.594 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.3618, allocations: 9.953 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3619, allocations: 8.109 kB / 496.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.362, allocations: 138.4 kB / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.362, allocations: 0 / 496.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3622, allocations: 29.16 kB / 496.8 MB, free: 14.55 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.0009169/0.3632, allocations: 415.6 kB / 497.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3634, allocations: 78.47 kB / 497.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3634, allocations: 0 / 497.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3636, allocations: 39.47 kB / 497.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3639, allocations: 35.89 kB / 497.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.3645, allocations: 272.8 kB / 497.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3647, allocations: 0.711 MB / 498.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.91e-05/0.3648, allocations: 15.45 kB / 498.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3648, allocations: 17.22 kB / 498.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3648, allocations: 7.938 kB / 498.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of Templates: time 0.006396/0.3712, allocations: 1.914 MB / 0.4885 GB, free: 13.07 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)