Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008809/0.008809, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001561/0.001561, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.693/1.693, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.3369/0.3369, allocations: 39.95 MB / 309.9 MB, free: 9.449 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.001437/0.001437, allocations: 75.89 kB / 435.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3282, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002964/0.3312, allocations: 1.838 MB / 494.6 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3326, allocations: 0.9056 MB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.3327, allocations: 5.312 kB / 495.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.3333, allocations: 255 kB / 495.7 MB, free: 17.51 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.0003617/0.3337, allocations: 181.6 kB / 495.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.334, allocations: 138.6 kB / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.3344, allocations: 245 kB / 496.3 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3345, allocations: 25.98 kB / 496.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.3347, allocations: 125.6 kB / 496.4 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.3349, allocations: 180.5 kB / 496.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.3349, allocations: 6.625 kB / 496.6 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3351, allocations: 45.64 kB / 496.6 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.3352, allocations: 58.8 kB / 496.7 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.3352, allocations: 89.5 kB / 496.8 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3355, allocations: 225.3 kB / 497 MB, free: 17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3356, allocations: 0.6094 kB / 497 MB, free: 17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3356, allocations: 0 / 497 MB, free: 17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.3356, allocations: 4 kB / 497 MB, free: 17 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006781/0.3363, allocations: 0.5591 MB / 497.6 MB, free: 16.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3363, allocations: 12.89 kB / 497.6 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.3364, allocations: 30.73 kB / 497.6 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3367, allocations: 281.2 kB / 497.9 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3367, allocations: 2.625 kB / 497.9 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3367, allocations: 8.844 kB / 497.9 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.337, allocations: 102.6 kB / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.337, allocations: 5.625 kB / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.337, allocations: 4.984 kB / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.337, allocations: 1.656 kB / 498 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3371, allocations: 35.67 kB / 498.1 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.3376, allocations: 460.3 kB / 498.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.3379, allocations: 120.4 kB / 498.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.338, allocations: 40 kB / 498.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3381, allocations: 11.22 kB / 498.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.3383, allocations: 111.1 kB / 498.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.3383, allocations: 1.469 kB / 498.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008959/0.3392, allocations: 376 kB / 499.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3393, allocations: 87.48 kB / 499.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.3398, allocations: 481.5 kB / 499.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3399, allocations: 31.14 kB / 499.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.34, allocations: 161.4 kB / 499.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.34, allocations: 42.41 kB / 499.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.3401, allocations: 37.31 kB / 500 MB, free: 14.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.3402, allocations: 343 kB / 0.4886 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.3403, allocations: 40.34 kB / 0.4886 GB, free: 14.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3404, allocations: 73.12 kB / 0.4887 GB, free: 14.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3406, allocations: 123.1 kB / 0.4888 GB, free: 14.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3406, allocations: 192 / 0.4888 GB, free: 14.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003191/0.341, allocations: 198.1 kB / 0.489 GB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.341, allocations: 5.75 kB / 0.489 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.341, allocations: 7.859 kB / 0.489 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.341, allocations: 2.344 kB / 0.489 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3412, allocations: 29.3 kB / 0.489 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3412, allocations: 9.156 kB / 0.489 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.3413, allocations: 6.891 kB / 0.489 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3413, allocations: 10.03 kB / 0.4891 GB, free: 14.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001315/0.3414, allocations: 166.6 kB / 0.4892 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.3415, allocations: 34.11 kB / 0.4893 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.3415, allocations: 32.81 kB / 0.4893 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3415, allocations: 1.438 kB / 0.4893 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.3416, allocations: 5.219 kB / 0.4893 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3416, allocations: 1.5 kB / 0.4893 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.3423, allocations: 0.6322 MB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3423, allocations: 0.9688 kB / 0.4899 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.3424, allocations: 21.95 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3424, allocations: 1.375 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3424, allocations: 4.812 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3424, allocations: 5.25 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3424, allocations: 1.531 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.3428, allocations: 376.4 kB / 0.4903 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.3429, allocations: 106.2 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.3429, allocations: 4.672 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.343, allocations: 8.656 kB / 0.4904 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.3431, allocations: 16.06 kB / 0.4904 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.3431, allocations: 6.875 kB / 0.4904 GB, free: 13.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003474/0.3435, allocations: 366.9 kB / 0.4908 GB, free: 13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3435, allocations: 1.375 kB / 0.4908 GB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.3438, allocations: 36.88 kB / 0.4908 GB, free: 12.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0011/0.345, allocations: 477.3 kB / 0.4913 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.3453, allocations: 114.8 kB / 0.4914 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3453, allocations: 0 / 0.4914 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3454, allocations: 66.53 kB / 0.4915 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.346, allocations: 70.03 kB / 0.4915 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.3471, allocations: 0.5245 MB / 0.492 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.3475, allocations: 0.7829 MB / 0.4928 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.3476, allocations: 28.95 kB / 0.4928 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.3477, allocations: 24.83 kB / 0.4928 GB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3477, allocations: 0 / 0.4928 GB, free: 11.5 MB / 382.1 MB Notification: Performance of Templates: time 0.008406/0.3561, allocations: 2.754 MB / 0.4955 GB, free: 10.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)