Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007977/0.007977, allocations: 101 kB / 15.73 MB, free: 6.477 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.001239/0.001239, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.684/1.684, allocations: 205.1 MB / 222.6 MB, free: 4.566 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.4051/0.4051, allocations: 38 MB / 307.9 MB, free: 9.996 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.001553/0.001553, allocations: 71.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3707, allocations: 56.45 MB / 489.5 MB, free: 20.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003215/0.374, allocations: 1.68 MB / 491.2 MB, free: 18.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3754, allocations: 0.8058 MB / 492 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.3755, allocations: 1.031 kB / 492 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.3759, allocations: 51.48 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.0002192/0.3761, allocations: 55.47 kB / 492.1 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3764, allocations: 81.17 kB / 492.2 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3765, allocations: 94.33 kB / 492.3 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3767, allocations: 16.22 kB / 492.3 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.614e-05/0.3768, allocations: 44.58 kB / 492.3 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.3768, allocations: 29.61 kB / 492.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3769, allocations: 4.344 kB / 492.4 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.377, allocations: 42.02 kB / 492.4 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.377, allocations: 24.7 kB / 492.4 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.3771, allocations: 42.94 kB / 492.5 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.3774, allocations: 120.3 kB / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3774, allocations: 0 / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3774, allocations: 0 / 492.6 MB, free: 18.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3774, 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.0005527/0.3779, allocations: 430.3 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.378, allocations: 13.58 kB / 493 MB, free: 17.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.3781, allocations: 18.16 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3783, allocations: 212 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3784, allocations: 2.5 kB / 493.2 MB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3784, allocations: 7.375 kB / 493.3 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3786, allocations: 57.64 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3786, allocations: 0 / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3786, allocations: 1.906 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3786, allocations: 1.125 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.3787, allocations: 21.55 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.3791, allocations: 302 kB / 493.6 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3792, allocations: 52.11 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.3793, allocations: 20.89 kB / 493.7 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3793, allocations: 3.938 kB / 493.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.3795, allocations: 71.06 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3795, allocations: 0 / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005928/0.3801, allocations: 176.9 kB / 493.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.3802, allocations: 53.08 kB / 494 MB, free: 16.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.3804, allocations: 219.9 kB / 494.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3804, allocations: 27.42 kB / 494.2 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.3805, allocations: 109.2 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3805, allocations: 21.31 kB / 494.4 MB, free: 16.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.3806, allocations: 30.03 kB / 494.4 MB, free: 16.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.3806, allocations: 327.9 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.3807, allocations: 20.91 kB / 494.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.3808, allocations: 36.31 kB / 494.8 MB, free: 16.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.3809, allocations: 61.95 kB / 494.8 MB, free: 16.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3809, allocations: 4 kB / 494.8 MB, free: 16.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.3811, allocations: 105.9 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3811, allocations: 4.406 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3811, allocations: 1.844 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3811, allocations: 0.9688 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.3812, allocations: 15.56 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3813, allocations: 1.594 kB / 495 MB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.3813, allocations: 6.516 kB / 495 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3813, allocations: 7.953 kB / 495 MB, free: 16.04 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.068e-05/0.3814, allocations: 133 kB / 495.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3814, allocations: 17.06 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.3815, allocations: 17.17 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3815, allocations: 0.9688 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3815, allocations: 5.797 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3815, allocations: 15.8 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.3819, allocations: 393.7 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3819, allocations: 5.125 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.382, allocations: 13 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.382, allocations: 1.641 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.382, allocations: 5.922 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.382, allocations: 0.9688 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.382, allocations: 1.062 kB / 495.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3822, allocations: 202.1 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.3822, allocations: 89.05 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3823, allocations: 5.641 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.3824, allocations: 3.734 kB / 495.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.3824, allocations: 14.02 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3824, allocations: 3.578 kB / 495.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.3826, allocations: 172.1 kB / 496.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3826, allocations: 0 / 496.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.3829, allocations: 26.61 kB / 496.1 MB, free: 15.13 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.001022/0.3839, allocations: 469.6 kB / 496.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3841, allocations: 60.45 kB / 496.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3841, allocations: 0 / 496.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.3842, allocations: 32.53 kB / 496.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.3846, allocations: 34.55 kB / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.3851, allocations: 260.2 kB / 496.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.3852, allocations: 0.7065 MB / 497.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.964e-05/0.3853, allocations: 20.66 kB / 497.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.3853, allocations: 17.45 kB / 497.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3853, allocations: 0 / 497.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of Templates: time 0.005675/0.391, allocations: 1.718 MB / 499.4 MB, free: 13.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)