Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008178/0.008178, allocations: 99.28 kB / 15.73 MB, free: 5.949 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.001407/0.001407, allocations: 197.1 kB / 16.68 MB, free: 5.875 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.585/1.585, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3115/0.3115, allocations: 39.94 MB / 309.8 MB, free: 9.414 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.2. 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.002478/0.002478, allocations: 72.52 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3445, allocations: 56.88 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004287/0.3488, allocations: 1.684 MB / 494.4 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3503, allocations: 0.8052 MB / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.3504, allocations: 0 / 495.2 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.3508, allocations: 84.2 kB / 495.3 MB, free: 17.73 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.0003157/0.3511, allocations: 72.16 kB / 495.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.3514, allocations: 88.98 kB / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.3517, allocations: 106.3 kB / 495.6 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3518, allocations: 15.69 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.352, allocations: 46.23 kB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3521, allocations: 62.62 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3521, allocations: 2.625 kB / 495.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.3523, allocations: 48.02 kB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-05/0.3524, allocations: 23.83 kB / 495.8 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.3525, allocations: 41.61 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.3528, allocations: 118 kB / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.3528, allocations: 0 / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3528, allocations: 0 / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3528, allocations: 1.312 kB / 495.9 MB, free: 17.45 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.0006608/0.3535, allocations: 423.5 kB / 496.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3535, allocations: 14.67 kB / 496.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.3536, allocations: 12.69 kB / 496.3 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.3538, allocations: 216.9 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3538, allocations: 2.688 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3539, allocations: 5.688 kB / 496.6 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.354, allocations: 53.86 kB / 496.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3541, allocations: 1.531 kB / 496.6 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3541, allocations: 4.547 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3541, allocations: 5.656 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.3542, allocations: 21.22 kB / 496.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.3545, allocations: 292.3 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3547, allocations: 53.88 kB / 497 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.3548, allocations: 22.55 kB / 497 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3548, allocations: 5.344 kB / 497 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.3549, allocations: 69.7 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3549, allocations: 1.094 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005594/0.3555, allocations: 174 kB / 497.3 MB, free: 16.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3556, allocations: 56.66 kB / 497.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3558, allocations: 213.6 kB / 497.5 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3558, allocations: 35.05 kB / 497.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.3559, allocations: 100.2 kB / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.3559, allocations: 26.48 kB / 497.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.356, allocations: 26.56 kB / 497.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.356, allocations: 325.9 kB / 498 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.3561, allocations: 22.47 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.3562, allocations: 34.47 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.3563, allocations: 66.5 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3563, allocations: 0 / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.3565, allocations: 101.8 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3565, allocations: 6 kB / 498.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3565, allocations: 1.281 kB / 498.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3565, allocations: 1.219 kB / 498.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.3566, allocations: 22.88 kB / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3567, allocations: 1.062 kB / 498.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.3567, allocations: 10.64 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3567, allocations: 4.219 kB / 498.3 MB, free: 15.41 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 9.074e-05/0.3568, allocations: 130.7 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3569, allocations: 10.44 kB / 498.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.3569, allocations: 16.3 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3569, allocations: 1.375 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3569, allocations: 0.7031 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3569, allocations: 3.938 kB / 498.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.3573, allocations: 409.4 kB / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3573, allocations: 0 / 498.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.3574, allocations: 8.828 kB / 498.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3574, allocations: 1.312 kB / 498.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3574, allocations: 10.88 kB / 498.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3574, allocations: 5.562 kB / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3574, allocations: 0 / 498.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.3576, allocations: 198.1 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3576, allocations: 88.56 kB / 499.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3577, allocations: 14.05 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.3578, allocations: 4.281 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.3578, allocations: 8.719 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3578, allocations: 4.141 kB / 499.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3579, allocations: 160.7 kB / 499.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3579, allocations: 0 / 499.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000259/0.3582, allocations: 26.33 kB / 499.4 MB, free: 14.51 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.0009732/0.3592, allocations: 469.5 kB / 499.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3594, allocations: 64.2 kB / 499.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3594, allocations: 0 / 499.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.195e-05/0.3595, allocations: 29.89 kB / 499.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3598, allocations: 37.95 kB / 500 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.3602, allocations: 236.1 kB / 0.4885 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3604, allocations: 0.7129 MB / 0.4892 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.3605, allocations: 11.95 kB / 0.4892 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.3605, allocations: 17.44 kB / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3605, allocations: 0 / 0.4892 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Templates: time 0.004474/0.365, allocations: 1.704 MB / 0.4909 GB, free: 13.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)