Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0101/0.0101, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001838/0.001838, allocations: 192.9 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.569/1.569, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.3082/0.3082, 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.00156/0.00156, allocations: 67.91 kB / 433 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3182, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003005/0.3213, allocations: 1.671 MB / 491.2 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3225, allocations: 0.806 MB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.3226, allocations: 1.062 kB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.323, allocations: 43.5 kB / 492 MB, free: 18.2 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.0002324/0.3232, allocations: 49.84 kB / 492.1 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.3235, allocations: 76.5 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3237, allocations: 99.2 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3238, allocations: 15.58 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.3239, allocations: 41.61 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.324, allocations: 33.72 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.324, allocations: 4.625 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3241, allocations: 40.75 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.3242, allocations: 18.38 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.3242, allocations: 41.41 kB / 492.4 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.3245, allocations: 113.2 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3245, allocations: 4 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3245, allocations: 1.156 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3245, allocations: 0 / 492.6 MB, free: 17.95 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.0004485/0.3249, allocations: 415 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.325, allocations: 13.98 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.325, allocations: 13.19 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3252, allocations: 203.6 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3253, allocations: 1.5 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.3253, allocations: 14.58 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3254, allocations: 58.09 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3254, allocations: 0 / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3255, allocations: 1.172 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3255, allocations: 1.375 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/0.3255, allocations: 25.55 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.3258, allocations: 282.4 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.326, allocations: 56.05 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.3261, allocations: 21.17 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3261, allocations: 1.281 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.3262, allocations: 76.78 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3263, allocations: 0 / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005416/0.3268, allocations: 184 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3268, allocations: 54.08 kB / 494 MB, free: 16.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.327, allocations: 184.2 kB / 494.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.327, allocations: 26.8 kB / 494.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.3271, allocations: 100.1 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3271, allocations: 26.17 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3272, allocations: 22.25 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.3272, allocations: 330.3 kB / 494.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.3273, allocations: 21.31 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.3274, allocations: 34.22 kB / 494.7 MB, free: 16.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3275, allocations: 62.95 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3275, allocations: 0 / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.3277, allocations: 101 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3277, allocations: 6.656 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3278, allocations: 4.031 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3278, allocations: 1.156 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.3279, allocations: 23.48 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3279, allocations: 1.344 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.3279, allocations: 7.281 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.328, allocations: 2.344 kB / 494.9 MB, free: 15.93 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.905e-05/0.3281, allocations: 125.3 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3281, allocations: 10.38 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.3281, allocations: 17.94 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3282, allocations: 0.9375 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3282, allocations: 1.562 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3282, allocations: 4.5 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.3286, allocations: 394.7 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3287, allocations: 4 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.3287, allocations: 9.406 kB / 495.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3287, allocations: 5.312 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3287, allocations: 6.328 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3287, allocations: 5.281 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3287, allocations: 0.6562 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.329, allocations: 205.4 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.329, allocations: 84.28 kB / 495.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.329, allocations: 7.469 kB / 495.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.3291, allocations: 2.672 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.3292, allocations: 12.83 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.3292, allocations: 8.219 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.3293, allocations: 143.4 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3293, allocations: 1.312 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3296, allocations: 25.44 kB / 495.9 MB, free: 15.04 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.000983/0.3306, allocations: 477 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.3307, allocations: 56.34 kB / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3308, allocations: 0 / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.3308, allocations: 31.88 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3312, allocations: 34.92 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.0004174/0.3316, allocations: 227.8 kB / 496.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.3318, allocations: 0.7042 MB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.3318, allocations: 21.91 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.3319, allocations: 15.41 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3319, allocations: 5.125 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004981/0.3369, allocations: 1.694 MB / 499.2 MB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)