Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01163/0.01163, allocations: 103 kB / 15.73 MB, free: 6.035 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.001887/0.001886, allocations: 196.9 kB / 16.68 MB, free: 5.953 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.636/1.636, 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.3211/0.3211, allocations: 38.01 MB / 307.9 MB, free: 10.1 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.002627/0.002628, allocations: 75.89 kB / 433.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.32, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00291/0.323, allocations: 1.662 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3242, allocations: 0.8077 MB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.3243, allocations: 5.219 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.3246, allocations: 37.97 kB / 492 MB, free: 18.21 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.0002418/0.3249, allocations: 48.69 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.3252, allocations: 84.92 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3253, allocations: 95.94 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3255, allocations: 15.75 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.3256, allocations: 45.33 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.3256, allocations: 30.41 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3257, allocations: 4.531 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3258, allocations: 46.44 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.3258, allocations: 16.78 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.3259, allocations: 33.06 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3261, allocations: 109.1 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3261, allocations: 0 / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3261, allocations: 1.125 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3261, allocations: 4 kB / 492.6 MB, free: 17.96 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.000446/0.3266, allocations: 403.9 kB / 492.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3266, allocations: 13.8 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3267, allocations: 13.28 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.3269, allocations: 214.1 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3269, allocations: 1.531 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.327, allocations: 10.86 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3271, allocations: 58.69 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3271, allocations: 5.25 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3271, allocations: 0 / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3272, allocations: 1.188 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.3272, allocations: 21.3 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.3276, allocations: 276.9 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3277, allocations: 64 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3278, allocations: 20.39 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.3278, allocations: 1.062 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.328, allocations: 69.95 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.328, allocations: 1.344 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004951/0.3285, allocations: 179.1 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.3285, allocations: 57.48 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3287, allocations: 169.3 kB / 494.1 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.3287, allocations: 26.86 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.3287, allocations: 99.44 kB / 494.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.3287, allocations: 28.88 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.3288, allocations: 23.2 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.3288, allocations: 325.7 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.3289, allocations: 24.06 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-05/0.329, allocations: 40.44 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.3291, allocations: 56.89 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3291, allocations: 1.031 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.3292, allocations: 101.6 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3293, allocations: 4.875 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3293, allocations: 1.094 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3293, allocations: 5.125 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.3294, allocations: 14.89 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3294, allocations: 5.031 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.3294, allocations: 11.3 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3294, allocations: 3.375 kB / 494.9 MB, free: 15.95 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 6.5e-05/0.3295, allocations: 124 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.3295, allocations: 12.58 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.3296, allocations: 15.05 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3296, allocations: 1.062 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3296, allocations: 4 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3296, allocations: 6.062 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.33, allocations: 388.3 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.33, allocations: 0 / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.33, allocations: 13.89 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.33, allocations: 1.5 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.33, allocations: 6.547 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.33, allocations: 1.469 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.33, allocations: 4.031 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3302, allocations: 204.3 kB / 495.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.3303, allocations: 84.52 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.3303, allocations: 6.688 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.3304, allocations: 11.41 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.3304, allocations: 4.828 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3304, allocations: 9.297 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.368e-05/0.3305, allocations: 133.3 kB / 495.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3305, allocations: 0 / 495.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3308, allocations: 24.69 kB / 495.9 MB, free: 15.07 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.0009017/0.3317, allocations: 474.3 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.3319, allocations: 63.36 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3319, allocations: 1.469 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.332, allocations: 28.22 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3323, allocations: 26.69 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3327, allocations: 211.9 kB / 496.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3328, allocations: 0.6979 MB / 497.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.3329, allocations: 13.34 kB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.3329, allocations: 16.7 kB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3329, allocations: 0 / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Templates: time 0.004917/0.3379, allocations: 1.709 MB / 499.1 MB, free: 13.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1)