Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00861/0.00861, allocations: 101.9 kB / 15.73 MB, free: 6.012 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.001835/0.001835, allocations: 193.5 kB / 16.67 MB, free: 5.949 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.863/1.863, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3281/0.3281, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.001405/0.001405, allocations: 72.42 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3063, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002833/0.3092, allocations: 1.663 MB / 491.2 MB, free: 18.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3112, allocations: 1.426 MB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.3113, allocations: 1.531 kB / 492.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.3117, allocations: 35.25 kB / 492.6 MB, free: 17.73 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.0002431/0.3119, allocations: 58.34 kB / 492.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.3122, allocations: 85.11 kB / 492.8 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3124, allocations: 94.78 kB / 492.9 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3125, allocations: 15.83 kB / 492.9 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3126, allocations: 46.64 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3127, allocations: 35.53 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3128, allocations: 4.375 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3129, allocations: 66.02 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.313, allocations: 20.16 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.313, allocations: 33.23 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.3133, allocations: 120.5 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3133, allocations: 5.781 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3133, allocations: 0 / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3133, allocations: 0 / 493.2 MB, free: 17.45 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.0005205/0.3138, allocations: 403.6 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3139, allocations: 12.7 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.3139, allocations: 9.75 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3142, allocations: 208.6 kB / 493.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3142, allocations: 5.531 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3142, allocations: 7.188 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3144, allocations: 69.95 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3144, allocations: 2.234 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3144, allocations: 0 / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3145, allocations: 1.125 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.3145, allocations: 18.8 kB / 493.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.3149, allocations: 282.6 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.3151, allocations: 62.03 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.3151, allocations: 19.28 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3152, allocations: 1.219 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.3153, allocations: 77.28 kB / 494.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3153, allocations: 1.156 kB / 494.4 MB, free: 16.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006088/0.3159, allocations: 167.7 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.316, allocations: 83.22 kB / 494.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3162, allocations: 164 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3162, allocations: 26.8 kB / 494.8 MB, free: 16.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.3163, allocations: 92.89 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.3163, allocations: 21.59 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.3164, allocations: 21.62 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.3165, allocations: 333.6 kB / 495.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.3165, allocations: 16.92 kB / 495.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3166, allocations: 42.06 kB / 495.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3168, allocations: 61.2 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3168, allocations: 1.172 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.317, allocations: 100.8 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3171, allocations: 5.938 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3171, allocations: 4.969 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3171, allocations: 5.469 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3172, allocations: 26.59 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3172, allocations: 1.406 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.3173, allocations: 7.984 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3173, allocations: 3.25 kB / 495.5 MB, free: 15.4 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.354e-05/0.3174, allocations: 116.5 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3175, allocations: 13.31 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.3175, allocations: 13.72 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3175, allocations: 1.625 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3175, allocations: 0 / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.3176, allocations: 4.594 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.318, allocations: 387.7 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.318, allocations: 0.9062 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.3181, allocations: 9.609 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3181, allocations: 4.906 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3181, allocations: 6.922 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3181, allocations: 4.719 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3181, allocations: 1.156 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3184, allocations: 196.6 kB / 496.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.3184, allocations: 87.8 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.3184, allocations: 10.84 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.3185, allocations: 7.469 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3186, allocations: 5.25 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3186, allocations: 4.156 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.66e-05/0.3187, allocations: 118.5 kB / 496.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3187, allocations: 1.312 kB / 496.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.3191, allocations: 34.42 kB / 496.5 MB, free: 14.54 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.001067/0.3202, allocations: 0.5 MB / 497 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3204, allocations: 61.03 kB / 497.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3204, allocations: 8 kB / 497.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.56e-05/0.3205, allocations: 28.75 kB / 497.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3208, allocations: 34.34 kB / 497.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.3213, allocations: 194.3 kB / 497.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.3214, allocations: 0.6991 MB / 498.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.3215, allocations: 22.81 kB / 498.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.3216, allocations: 18.64 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3216, allocations: 0 / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.006024/0.3276, allocations: 1.977 MB / 0.4884 GB, free: 12.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)