Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008027/0.008028, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001369/0.001369, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.667/1.667, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3404/0.3404, allocations: 38 MB / 307.9 MB, free: 10.08 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.001584/0.001584, allocations: 71.91 kB / 433.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3219, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00293/0.3249, allocations: 1.669 MB / 491.2 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3261, allocations: 0.8066 MB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.3262, allocations: 5.062 kB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.3265, allocations: 38.72 kB / 492 MB, free: 18.17 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.0002249/0.3267, allocations: 52.47 kB / 492.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.327, allocations: 76.66 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3272, allocations: 99.62 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3273, allocations: 16.27 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3274, allocations: 40.73 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.3275, allocations: 34.75 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3275, allocations: 4.281 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3277, allocations: 42.06 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.3277, allocations: 21.91 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.3278, allocations: 32.69 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.328, allocations: 109.2 kB / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.328, allocations: 1.469 kB / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.328, allocations: 0 / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3281, allocations: 4 kB / 492.6 MB, free: 17.91 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.0005395/0.3286, allocations: 403.8 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3287, allocations: 17.05 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.3287, allocations: 9.625 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.329, allocations: 213.5 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.329, allocations: 2.75 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.329, allocations: 10.05 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3292, allocations: 59.16 kB / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3293, allocations: 0 / 493.3 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3293, allocations: 5.125 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3293, allocations: 1.25 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.3294, allocations: 17.45 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.3297, allocations: 280.4 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.3298, allocations: 66.58 kB / 493.6 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.3299, allocations: 18.22 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3299, allocations: 2.125 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.3301, allocations: 65.97 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3301, allocations: 0 / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005404/0.3306, allocations: 178.9 kB / 493.9 MB, free: 16.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3307, allocations: 61.34 kB / 493.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3308, allocations: 169.6 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.3308, allocations: 26.95 kB / 494.1 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.3309, allocations: 99.14 kB / 494.2 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.3309, allocations: 29.53 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.331, allocations: 21.67 kB / 494.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.331, allocations: 326 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.3311, allocations: 21.62 kB / 494.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.3312, allocations: 40.33 kB / 494.7 MB, free: 16.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3313, allocations: 58 kB / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3313, allocations: 0 / 494.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001763/0.3315, allocations: 104 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3315, allocations: 6.359 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3315, allocations: 0 / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3315, allocations: 1.766 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.3316, allocations: 19.33 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3316, allocations: 5.125 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.3317, allocations: 15.03 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3317, allocations: 3.234 kB / 494.9 MB, free: 15.9 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 7.277e-05/0.3318, allocations: 120.7 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.3318, allocations: 9.219 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.3318, allocations: 13 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3318, allocations: 2.328 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3319, allocations: 4.375 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3319, allocations: 5.219 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.3323, allocations: 384.1 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3323, allocations: 4 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.3323, allocations: 8.859 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3323, allocations: 0.9375 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3323, allocations: 7.438 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3323, allocations: 1.203 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3323, allocations: 5.25 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.3326, allocations: 211.9 kB / 495.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.3326, allocations: 84.56 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3326, allocations: 11.33 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.3327, allocations: 2.094 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.3327, allocations: 6.875 kB / 495.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3328, allocations: 7.172 kB / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.3329, allocations: 137.2 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3329, allocations: 0 / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3331, allocations: 27.06 kB / 495.9 MB, free: 15.02 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.0009762/0.3341, allocations: 467.5 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3343, allocations: 60.06 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3343, allocations: 1.656 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.3344, allocations: 28.34 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.3347, allocations: 31.28 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.3352, allocations: 210.4 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.3353, allocations: 0.699 MB / 497.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.3354, allocations: 17.14 kB / 497.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.449e-05/0.3354, allocations: 16.75 kB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3354, allocations: 0 / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of Templates: time 0.005009/0.3404, allocations: 1.697 MB / 499.1 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)