Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009887/0.009888, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001881/0.001881, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.659/1.659, allocations: 205.1 MB / 222.6 MB, free: 4.473 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.329/0.329, allocations: 38 MB / 307.9 MB, free: 10.15 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.00155/0.00155, allocations: 75.89 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3166, allocations: 56.45 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002877/0.3195, allocations: 1.673 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.3207, allocations: 0.8117 MB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.3208, allocations: 5.125 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.3211, allocations: 45.38 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.0002244/0.3214, allocations: 45.61 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.3216, allocations: 88.61 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3218, allocations: 91.42 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.3219, allocations: 20.3 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.322, allocations: 45.64 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.322, allocations: 26.61 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3221, allocations: 3.406 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.3222, allocations: 45.75 kB / 492.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.3222, allocations: 18.7 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.3223, allocations: 28.97 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3225, allocations: 114.8 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3225, allocations: 8.844 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3225, allocations: 1.312 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3225, 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.000464/0.323, allocations: 409.1 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.323, allocations: 13.3 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3231, allocations: 9.281 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3233, allocations: 208 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3233, allocations: 1.281 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3233, allocations: 10.44 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3235, allocations: 58.11 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3235, allocations: 4 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3235, allocations: 1.125 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3235, allocations: 1.984 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.3236, allocations: 17.61 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.3239, allocations: 286.5 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.324, allocations: 59.33 kB / 493.6 MB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.3241, allocations: 24.55 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3241, allocations: 2 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.3243, allocations: 65.16 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3243, allocations: 0 / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005046/0.3248, allocations: 169 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.3248, allocations: 60.53 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.325, allocations: 184.8 kB / 494.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.325, allocations: 31.67 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.325, allocations: 102.1 kB / 494.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3251, allocations: 30.27 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3251, allocations: 22.67 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.3252, allocations: 326.3 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.3253, allocations: 20.97 kB / 494.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.3253, allocations: 43.47 kB / 494.7 MB, free: 16.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3254, allocations: 58.22 kB / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3254, allocations: 0 / 494.7 MB, free: 16.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.3256, allocations: 98 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3257, allocations: 5.188 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3257, allocations: 0.5156 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3257, allocations: 1.062 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.3258, allocations: 24.38 kB / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3258, allocations: 0 / 494.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3258, allocations: 15.61 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3259, allocations: 2.938 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 8.456e-05/0.326, allocations: 126.1 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.326, allocations: 12.17 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.326, allocations: 20.08 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.326, allocations: 0 / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.326, allocations: 1.344 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3261, allocations: 8.594 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.3265, allocations: 390.4 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3265, allocations: 0 / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.3265, allocations: 8.812 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3265, allocations: 1.094 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3265, allocations: 11.48 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3266, allocations: 0 / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3266, allocations: 1.281 kB / 495.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.3268, allocations: 201.4 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.3268, allocations: 88.14 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3268, allocations: 14.81 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.3269, allocations: 2.562 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.327, allocations: 5.719 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.327, allocations: 4.516 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3271, allocations: 150.9 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3271, allocations: 1.375 kB / 495.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3274, allocations: 25.31 kB / 495.9 MB, free: 15.06 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.001027/0.3284, allocations: 468 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3287, allocations: 64.5 kB / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3287, allocations: 0 / 496.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.3287, allocations: 25.75 kB / 496.5 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.0003446/0.3291, allocations: 38 kB / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.3296, allocations: 226.3 kB / 496.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.3297, allocations: 0.7081 MB / 497.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.3298, allocations: 17.55 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.3298, allocations: 17.31 kB / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3298, allocations: 0 / 497.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.004869/0.3347, allocations: 1.695 MB / 499.2 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)