Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008337/0.008337, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00142/0.00142, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3214/0.3214, allocations: 38 MB / 307.9 MB, free: 10.11 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.002937/0.002937, allocations: 75.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3363, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003247/0.3396, allocations: 1.671 MB / 491.2 MB, free: 18.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.3422, allocations: 1.421 MB / 492.6 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.3424, allocations: 1.125 kB / 492.6 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.3429, allocations: 31.95 kB / 492.6 MB, free: 17.72 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.0005065/0.3435, allocations: 66.64 kB / 492.7 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005841/0.3441, allocations: 77.16 kB / 492.8 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.3445, allocations: 99.06 kB / 492.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.3447, allocations: 12.03 kB / 492.9 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3449, allocations: 45.95 kB / 492.9 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.3452, allocations: 39.55 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.3452, allocations: 4.281 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.3456, allocations: 62.95 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3457, allocations: 19.42 kB / 493.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3458, allocations: 30.38 kB / 493.1 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.3464, allocations: 125.5 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3464, allocations: 0 / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3464, allocations: 0 / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3464, allocations: 3.938 kB / 493.2 MB, free: 17.44 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.0008249/0.3473, allocations: 403.9 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3473, allocations: 12.92 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.3474, allocations: 10.23 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3478, allocations: 213 kB / 493.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3478, allocations: 5.312 kB / 493.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.3478, allocations: 7.453 kB / 493.8 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3481, allocations: 66.12 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3481, allocations: 5.375 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3481, allocations: 1.078 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.3481, allocations: 1.75 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.3482, allocations: 16.42 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.3486, allocations: 284.3 kB / 494.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3488, allocations: 59.94 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.3489, allocations: 20.14 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3489, allocations: 1.125 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.3491, allocations: 75.27 kB / 494.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.3491, allocations: 3.938 kB / 494.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007784/0.3499, allocations: 163 kB / 494.5 MB, free: 16.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.35, allocations: 86.92 kB / 494.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3502, allocations: 167.2 kB / 494.8 MB, free: 16.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3503, allocations: 27.02 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.3504, allocations: 93.33 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.3504, allocations: 22.72 kB / 494.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3505, allocations: 25.78 kB / 494.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.3506, allocations: 325.8 kB / 495.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.3507, allocations: 17.02 kB / 495.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3508, allocations: 45.09 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.351, allocations: 61.98 kB / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.351, allocations: 0 / 495.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002943/0.3513, allocations: 96.77 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.3514, allocations: 6.344 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3514, allocations: 1.094 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.3514, allocations: 9.234 kB / 495.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3516, allocations: 18.7 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3516, allocations: 2.109 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.3517, allocations: 6.297 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3517, allocations: 6.875 kB / 495.5 MB, free: 15.39 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.0001196/0.3518, allocations: 122 kB / 495.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.3519, allocations: 9.469 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.3519, allocations: 13.34 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3519, allocations: 1.062 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3519, allocations: 4 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.352, allocations: 5.562 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.3525, allocations: 384.7 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3525, allocations: 0 / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.3526, allocations: 8.922 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3526, allocations: 1.984 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3526, allocations: 9.656 kB / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.3526, allocations: 1.062 kB / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3526, allocations: 8.969 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3529, allocations: 200.7 kB / 496.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.353, allocations: 84.83 kB / 496.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.353, allocations: 10.72 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3531, allocations: 3.25 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.3532, allocations: 5.203 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3532, allocations: 8.078 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3533, allocations: 119.6 kB / 496.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3533, allocations: 3.938 kB / 496.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.3538, allocations: 35.52 kB / 496.5 MB, free: 14.52 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.001494/0.3553, allocations: 0.5008 MB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.3556, allocations: 56.81 kB / 497.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3556, allocations: 0 / 497.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.998e-05/0.3557, allocations: 29.03 kB / 497.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.3562, allocations: 43.09 kB / 497.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.3568, allocations: 190.2 kB / 497.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.357, allocations: 0.6943 MB / 498 MB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3571, allocations: 22.75 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.3571, allocations: 18.31 kB / 498.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3571, allocations: 5 kB / 498.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of Templates: time 0.007646/0.3648, allocations: 1.948 MB / 0.4883 GB, free: 12.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)