Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01078/0.01078, allocations: 105 kB / 15.73 MB, free: 6.043 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.002362/0.002362, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3431/0.3431, allocations: 38 MB / 307.9 MB, free: 10.17 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.001456/0.001456, allocations: 71.91 kB / 433.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3365, allocations: 56.45 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002889/0.3395, allocations: 1.673 MB / 491.2 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3407, allocations: 0.8161 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.3408, allocations: 1.094 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.3412, allocations: 105.2 kB / 492.1 MB, free: 18.13 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.0002634/0.3415, allocations: 84.19 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.3417, allocations: 88.47 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3419, allocations: 117.3 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3421, allocations: 16.88 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3422, allocations: 55.11 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3423, allocations: 60.86 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.3423, allocations: 4.312 kB / 492.5 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3425, allocations: 51.77 kB / 492.6 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.3426, allocations: 27.88 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.3426, allocations: 39.28 kB / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3429, allocations: 139.8 kB / 492.8 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3429, allocations: 0 / 492.8 MB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3429, allocations: 0 / 492.8 MB, free: 17.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.3429, allocations: 0 / 492.8 MB, free: 17.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005849/0.3435, allocations: 440.8 kB / 493.2 MB, free: 17.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3436, allocations: 13.05 kB / 493.2 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.3436, allocations: 18.81 kB / 493.2 MB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3439, allocations: 224.8 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.344, allocations: 2.156 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.344, allocations: 6.438 kB / 493.5 MB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3442, allocations: 67.02 kB / 493.5 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3442, allocations: 4.547 kB / 493.5 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3442, allocations: 1.156 kB / 493.5 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3442, allocations: 0 / 493.5 MB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3444, allocations: 29.98 kB / 493.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.3448, allocations: 303.4 kB / 493.9 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.345, allocations: 71.89 kB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.224e-05/0.3451, allocations: 26.78 kB / 494 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3451, allocations: 1.906 kB / 494 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.3453, allocations: 73.83 kB / 494 MB, free: 16.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3453, allocations: 0 / 494 MB, free: 16.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007023/0.346, allocations: 202.5 kB / 494.2 MB, free: 16.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3461, allocations: 53.23 kB / 494.3 MB, free: 16.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.3464, allocations: 248.7 kB / 494.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3464, allocations: 26.73 kB / 494.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.3465, allocations: 118.5 kB / 494.7 MB, free: 16.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3465, allocations: 31.2 kB / 494.7 MB, free: 16.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.3466, allocations: 27.28 kB / 494.7 MB, free: 16.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.3467, allocations: 332 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.3468, allocations: 24.38 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.3468, allocations: 43.06 kB / 495.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.347, allocations: 66.39 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.347, allocations: 5.031 kB / 495.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002124/0.3472, allocations: 122.3 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3472, allocations: 5.438 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3473, allocations: 4.969 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3473, allocations: 1.906 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3474, allocations: 17.23 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3474, allocations: 1.188 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.3475, allocations: 10.25 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3475, allocations: 4.188 kB / 495.3 MB, free: 15.73 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 (11): * Single equations (assignments): 11 * 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.0001116/0.3476, allocations: 135.9 kB / 495.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3476, allocations: 15.77 kB / 495.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.3477, allocations: 18.22 kB / 495.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3477, allocations: 1.156 kB / 495.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3477, allocations: 3.938 kB / 495.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3477, allocations: 5.922 kB / 495.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3482, allocations: 413.4 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3482, allocations: 9.25 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.3483, allocations: 14.47 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3483, allocations: 1.156 kB / 495.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3483, allocations: 7.891 kB / 496 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3483, allocations: 0 / 496 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3483, allocations: 1.5 kB / 496 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.3486, allocations: 218 kB / 496.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.3486, allocations: 93.5 kB / 496.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3486, allocations: 5.938 kB / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.3487, allocations: 11.31 kB / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3488, allocations: 7.406 kB / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3488, allocations: 3.531 kB / 496.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3489, allocations: 188.7 kB / 496.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.349, allocations: 0 / 496.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.3492, allocations: 28.28 kB / 496.5 MB, free: 14.81 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 (9): * Single equations (assignments): 7 * 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.001078/0.3503, allocations: 480.1 kB / 497 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.3505, allocations: 66.83 kB / 497 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3506, allocations: 0 / 497 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.3507, allocations: 40.08 kB / 497.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.351, allocations: 30.59 kB / 497.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/0.3516, allocations: 275 kB / 497.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.3519, allocations: 0.7165 MB / 498.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.455e-05/0.352, allocations: 28.25 kB / 498.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.352, allocations: 18.61 kB / 498.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.352, allocations: 3.938 kB / 498.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of Templates: time 0.005897/0.3579, allocations: 1.815 MB / 500 MB, free: 13.28 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)