Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008695/0.008695, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001541/0.001541, allocations: 188.6 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.696/1.696, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3471/0.3471, allocations: 37.99 MB / 307.9 MB, free: 10.05 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.001437/0.001437, allocations: 79.91 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 56.46 MB / 489.5 MB, free: 20.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003202/0.3427, allocations: 1.674 MB / 491.2 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.344, allocations: 0.8132 MB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.3441, allocations: 1.562 kB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3444, allocations: 44.42 kB / 492 MB, free: 18.34 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.0002458/0.3447, allocations: 46.45 kB / 492.1 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.345, allocations: 85.11 kB / 492.2 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3452, allocations: 102.3 kB / 492.3 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3453, allocations: 12.03 kB / 492.3 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.3454, allocations: 42.08 kB / 492.3 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.3455, allocations: 29.52 kB / 492.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3455, allocations: 3.719 kB / 492.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3456, allocations: 42.81 kB / 492.4 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.3457, allocations: 19.39 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.3457, allocations: 37.27 kB / 492.5 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.346, allocations: 120.5 kB / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.346, allocations: 0.9688 kB / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.346, allocations: 0 / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.346, allocations: 0 / 492.6 MB, free: 18.08 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.0005103/0.3465, allocations: 414.6 kB / 493 MB, free: 17.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3466, allocations: 14.28 kB / 493 MB, free: 17.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.3466, allocations: 17.62 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3469, allocations: 207.4 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3469, allocations: 6.562 kB / 493.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3469, allocations: 7.203 kB / 493.2 MB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3471, allocations: 58.09 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3471, allocations: 0 / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3471, allocations: 1 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3471, allocations: 0.6562 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.3472, allocations: 22.69 kB / 493.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.3475, allocations: 283.3 kB / 493.6 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3477, allocations: 63.39 kB / 493.6 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.3478, allocations: 20.61 kB / 493.7 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3478, allocations: 5.219 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.3479, allocations: 70.05 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.348, allocations: 4 kB / 493.7 MB, free: 16.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.3485, allocations: 177 kB / 493.9 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3486, allocations: 52.83 kB / 494 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3488, allocations: 195 kB / 494.2 MB, free: 16.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.3488, allocations: 30.95 kB / 494.2 MB, free: 16.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.3489, allocations: 100.6 kB / 494.3 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.3489, allocations: 24.98 kB / 494.3 MB, free: 16.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3489, allocations: 25.91 kB / 494.3 MB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.349, allocations: 330.7 kB / 494.7 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.3491, allocations: 18.23 kB / 494.7 MB, free: 16.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.3492, allocations: 38.47 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.3493, allocations: 58.72 kB / 494.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3493, allocations: 384 / 494.8 MB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.3495, allocations: 105.4 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3495, allocations: 9.641 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3495, allocations: 1.531 kB / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3495, allocations: 0 / 494.9 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.3496, allocations: 19.8 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3496, allocations: 0.75 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.3497, allocations: 7.547 kB / 494.9 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3497, allocations: 7.219 kB / 494.9 MB, free: 16.07 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.0001097/0.3498, allocations: 129.6 kB / 495 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3499, allocations: 18.16 kB / 495.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.3499, allocations: 16.64 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3499, allocations: 1.062 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3499, allocations: 0 / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3499, allocations: 5.781 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.3504, allocations: 386.8 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.3504, allocations: 0 / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3504, allocations: 8.859 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3504, allocations: 1.672 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3504, allocations: 11.23 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3505, allocations: 0.6562 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3505, allocations: 1 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3507, allocations: 213.3 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.3507, allocations: 85.16 kB / 495.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3508, allocations: 10.7 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.3508, allocations: 9.609 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3509, allocations: 5.828 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3509, allocations: 4.141 kB / 495.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.351, allocations: 156 kB / 496 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.351, allocations: 0 / 496 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3513, allocations: 21.64 kB / 496 MB, free: 15.17 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.001084/0.3524, allocations: 468.5 kB / 496.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.3526, allocations: 60.06 kB / 496.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3526, allocations: 1.125 kB / 496.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.3527, allocations: 28.52 kB / 496.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.353, allocations: 42.42 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.3535, allocations: 229 kB / 496.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3537, allocations: 0.7073 MB / 497.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.3538, allocations: 17.22 kB / 497.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.3538, allocations: 20.41 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3538, allocations: 0 / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Templates: time 0.005122/0.359, allocations: 1.738 MB / 499.3 MB, free: 13.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)