Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00608/0.006079, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.00112/0.00112, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.4497/0.4497, allocations: 38 MB / 307.9 MB, free: 10.33 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.001623/0.001623, allocations: 67.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.435, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004072/0.4391, allocations: 1.662 MB / 491.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.4409, allocations: 0.8168 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.441, allocations: 1.281 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.4415, allocations: 46.55 kB / 492 MB, free: 18.21 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.0002316/0.4418, allocations: 50.16 kB / 492.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.442, allocations: 84.73 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.4423, allocations: 95.27 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.4424, allocations: 19.25 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4425, allocations: 41.8 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.4426, allocations: 29.91 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.4426, allocations: 4.375 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.4428, allocations: 46.27 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.4429, allocations: 19.66 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.4429, allocations: 32.42 kB / 492.5 MB, free: 18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.4432, allocations: 117.1 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.4432, allocations: 5.172 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4432, allocations: 0.9062 kB / 492.6 MB, free: 17.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.4432, allocations: 0 / 492.6 MB, free: 17.95 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.0006747/0.4439, allocations: 414.4 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.444, allocations: 12.64 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.444, allocations: 14.83 kB / 493 MB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.4444, allocations: 215.9 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4444, allocations: 5.672 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.4444, allocations: 10.5 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.4446, allocations: 55.19 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4446, allocations: 0 / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4446, allocations: 0 / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4447, allocations: 1.062 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.4447, allocations: 26.94 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.4452, allocations: 287.6 kB / 493.6 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.4454, allocations: 56.3 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.4455, allocations: 23.23 kB / 493.7 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.4455, allocations: 5.672 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.4457, allocations: 70.17 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.4457, allocations: 0 / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00069/0.4464, allocations: 180.4 kB / 493.9 MB, free: 16.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4465, allocations: 53.22 kB / 494 MB, free: 16.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.4468, allocations: 195 kB / 494.2 MB, free: 16.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.4468, allocations: 31.23 kB / 494.2 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.4469, allocations: 98.78 kB / 494.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.4469, allocations: 27.08 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.447, allocations: 21.69 kB / 494.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4471, allocations: 333.7 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.706e-05/0.4472, allocations: 17.88 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.4473, allocations: 35.77 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4475, allocations: 61.39 kB / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4475, allocations: 0 / 494.8 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.4477, allocations: 102.2 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4477, allocations: 9.406 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4477, allocations: 1.125 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4478, allocations: 1.766 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4479, allocations: 14.33 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4479, allocations: 1.281 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.4479, allocations: 7.594 kB / 494.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.448, allocations: 2.688 kB / 494.9 MB, free: 15.94 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.915e-05/0.4481, allocations: 127 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.4481, allocations: 18 kB / 495.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.4481, allocations: 19.39 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4481, allocations: 1.25 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4482, allocations: 0.5156 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4482, allocations: 9.422 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.4486, allocations: 387.4 kB / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4486, allocations: 384 / 495.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.4486, allocations: 12.75 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4487, allocations: 1.594 kB / 495.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4487, allocations: 14.81 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4487, allocations: 0 / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4487, allocations: 2.094 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.4489, allocations: 205 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.449, allocations: 88.48 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.449, allocations: 7.141 kB / 495.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.4491, allocations: 6.266 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4491, allocations: 13.92 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.4491, allocations: 4.219 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.4493, allocations: 155.4 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4493, allocations: 0 / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000268/0.4496, allocations: 21.73 kB / 496 MB, free: 15.04 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.001072/0.4506, allocations: 478.1 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4509, allocations: 60.39 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4509, allocations: 0.9375 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.4509, allocations: 23.42 kB / 496.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.4513, allocations: 31.8 kB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.4518, allocations: 237 kB / 496.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.4519, allocations: 0.7065 MB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.452, allocations: 13.47 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.452, allocations: 17.38 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.452, allocations: 4 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of Templates: time 0.005852/0.4579, allocations: 1.733 MB / 499.3 MB, free: 13.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)