Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01128/0.01128, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001789/0.001789, allocations: 197 kB / 16.67 MB, free: 5.926 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.3749/0.3749, allocations: 38 MB / 307.9 MB, free: 10.14 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.001819/0.001819, allocations: 71.91 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4263, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003952/0.4303, allocations: 1.756 MB / 491.3 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.4322, allocations: 0.8831 MB / 492.1 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.4324, allocations: 1.938 kB / 492.1 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.4333, allocations: 301.4 kB / 492.4 MB, free: 17.98 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.0006866/0.434, allocations: 205.2 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.4346, allocations: 139.2 kB / 492.8 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006466/0.4352, allocations: 245 kB / 493 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.4353, allocations: 13.56 kB / 493 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.4358, allocations: 123.9 kB / 493.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.4363, allocations: 185.9 kB / 493.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.315e-05/0.4364, allocations: 9.906 kB / 493.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.4366, allocations: 46.39 kB / 493.4 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.4369, allocations: 136.6 kB / 493.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.4371, allocations: 137.3 kB / 493.7 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007773/0.4379, allocations: 362.7 kB / 494 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4379, allocations: 0 / 494 MB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4379, allocations: 1.219 kB / 494 MB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.4379, allocations: 0 / 494 MB, free: 17.38 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009758/0.4389, allocations: 0.7118 MB / 494.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.439, allocations: 12.95 kB / 494.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.4391, allocations: 49.12 kB / 494.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.4397, allocations: 446.1 kB / 495.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4398, allocations: 10.25 kB / 495.2 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.4398, allocations: 7.406 kB / 495.2 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.44, allocations: 83.14 kB / 495.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.44, allocations: 0 / 495.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.44, allocations: 6.109 kB / 495.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.44, allocations: 1.125 kB / 495.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.4402, allocations: 38.09 kB / 495.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.4407, allocations: 368.3 kB / 495.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.441, allocations: 102.2 kB / 495.8 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.4411, allocations: 46.83 kB / 495.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4411, allocations: 5.094 kB / 495.9 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.4414, allocations: 109.5 kB / 496 MB, free: 15.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.4414, allocations: 0 / 496 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006/0.442, allocations: 198.8 kB / 496.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4421, allocations: 83.06 kB / 496.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.4433, allocations: 1.005 MB / 497.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4433, allocations: 28.27 kB / 497.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.4434, allocations: 227.4 kB / 497.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.4435, allocations: 28.28 kB / 497.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.4435, allocations: 24.03 kB / 497.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4437, allocations: 372.6 kB / 497.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.4438, allocations: 31.19 kB / 498 MB, free: 14.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.4439, allocations: 61.02 kB / 498 MB, free: 14.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.4441, allocations: 93.2 kB / 498.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4441, allocations: 0 / 498.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003205/0.4444, allocations: 171.7 kB / 498.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4444, allocations: 6.109 kB / 498.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4445, allocations: 1.375 kB / 498.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4445, allocations: 1.375 kB / 498.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4446, allocations: 25.09 kB / 498.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4446, allocations: 1.984 kB / 498.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.4447, allocations: 9.438 kB / 498.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.4448, allocations: 12.64 kB / 498.3 MB, free: 14.55 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002053/0.445, allocations: 218.5 kB / 498.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.445, allocations: 49.72 kB / 498.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/0.4451, allocations: 56.8 kB / 498.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4451, allocations: 1.406 kB / 498.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.4452, allocations: 1.156 kB / 498.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4452, allocations: 0.6562 kB / 498.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.4455, allocations: 340.8 kB / 499 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4455, allocations: 3.938 kB / 499 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.4456, allocations: 15.83 kB / 499 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4456, allocations: 5.641 kB / 499 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4456, allocations: 7.078 kB / 499 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.4456, allocations: 1.406 kB / 499 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4456, allocations: 128 / 499 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.446, allocations: 208.9 kB / 499.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.4461, allocations: 138 kB / 499.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.4462, allocations: 3.203 kB / 499.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.4463, allocations: 4.266 kB / 499.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.4463, allocations: 11.14 kB / 499.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.4464, allocations: 6.219 kB / 499.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008366/0.4472, allocations: 0.7496 MB / 0.4884 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4472, allocations: 0 / 0.4884 GB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.4475, allocations: 45.88 kB / 0.4884 GB, free: 13.56 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009957/0.4485, allocations: 420.3 kB / 0.4889 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.4488, allocations: 85.55 kB / 0.4889 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4488, allocations: 0 / 0.4889 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.4489, allocations: 43.58 kB / 0.489 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.4494, allocations: 80.91 kB / 0.4891 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4507, allocations: 0.8361 MB / 0.4899 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4511, allocations: 0.8435 MB / 0.4907 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.4512, allocations: 53.5 kB / 0.4907 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.4513, allocations: 26.44 kB / 0.4908 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4513, allocations: 5.438 kB / 0.4908 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01013/0.4615, allocations: 3.793 MB / 0.4945 GB, free: 11.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)