Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0103/0.0103, allocations: 100 kB / 15.73 MB, free: 6.023 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.001942/0.001943, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3325/0.3325, allocations: 38 MB / 307.9 MB, free: 10.07 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.001457/0.001457, allocations: 79.89 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3085, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003148/0.3117, allocations: 1.672 MB / 491.2 MB, free: 18.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3131, allocations: 0.8079 MB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.3132, allocations: 2.125 kB / 492 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.3136, allocations: 36.98 kB / 492 MB, free: 18.28 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.0002545/0.3139, allocations: 54.95 kB / 492.1 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.3142, allocations: 84.3 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.3144, allocations: 98.55 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3146, allocations: 16.69 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3147, allocations: 40.61 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.3148, allocations: 34.81 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3148, allocations: 3.438 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3149, allocations: 38.72 kB / 492.4 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.315, allocations: 23.38 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.315, allocations: 37.78 kB / 492.5 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.3153, allocations: 116.6 kB / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3153, allocations: 0.9688 kB / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3153, allocations: 0 / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3153, allocations: 4 kB / 492.6 MB, free: 18.01 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.000551/0.3159, allocations: 422.9 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.316, allocations: 13.33 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.316, allocations: 13.91 kB / 493 MB, free: 17.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3163, allocations: 207.9 kB / 493.2 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3163, allocations: 1.406 kB / 493.2 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3163, allocations: 11.11 kB / 493.2 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3165, allocations: 54.5 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3165, allocations: 4 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3165, allocations: 1 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3165, allocations: 1.094 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.3166, allocations: 17.81 kB / 493.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3169, allocations: 284.7 kB / 493.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3171, allocations: 64.17 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3172, allocations: 19.36 kB / 493.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3172, allocations: 1.219 kB / 493.7 MB, free: 16.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.3174, allocations: 70.05 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3174, allocations: 0 / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005508/0.3179, allocations: 173.6 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.318, allocations: 57.27 kB / 494 MB, free: 16.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3182, allocations: 197.2 kB / 494.2 MB, free: 16.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3182, allocations: 27.05 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.3183, allocations: 104.4 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3183, allocations: 30.16 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3183, allocations: 21.36 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.3184, allocations: 327.3 kB / 494.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.3185, allocations: 25.17 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.3186, allocations: 39.12 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3187, allocations: 57.95 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3187, allocations: 1.156 kB / 494.8 MB, free: 16.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.3189, allocations: 100.7 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3189, allocations: 5.406 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.319, allocations: 1.75 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.319, allocations: 9.25 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3191, allocations: 14.19 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3191, allocations: 2.031 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.3192, allocations: 10.72 kB / 494.9 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3192, allocations: 3.5 kB / 494.9 MB, free: 16 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 0.0001068/0.3193, allocations: 126.8 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.3193, allocations: 21.06 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3194, allocations: 20.66 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3194, allocations: 1.156 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3194, allocations: 4 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3194, allocations: 4.5 kB / 495.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.3199, allocations: 387.8 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3199, allocations: 1.281 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.32, allocations: 12.02 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.32, allocations: 1.094 kB / 495.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.32, allocations: 6.672 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.32, allocations: 2.203 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.32, allocations: 5.156 kB / 495.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3203, allocations: 203.6 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.3204, allocations: 89.19 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3204, allocations: 7.016 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3205, allocations: 2.125 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.3205, allocations: 6.969 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.3206, allocations: 11.41 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.3207, allocations: 151.1 kB / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3207, allocations: 0 / 496 MB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.321, allocations: 22.94 kB / 496 MB, free: 15.1 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.001302/0.3223, allocations: 476.5 kB / 496.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.3226, allocations: 56.27 kB / 496.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3226, allocations: 0 / 496.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.3226, allocations: 33.06 kB / 496.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.323, allocations: 31.19 kB / 496.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.3236, allocations: 233.4 kB / 496.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3238, allocations: 0.7029 MB / 497.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.3239, allocations: 20.69 kB / 497.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.3239, allocations: 17.06 kB / 497.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.324, allocations: 0 / 497.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.005937/0.3299, allocations: 1.734 MB / 499.3 MB, free: 13.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)