Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006385/0.006385, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001497/0.001498, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.735/1.735, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.4096/0.4096, allocations: 37.99 MB / 307.9 MB, free: 10.19 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.003254/0.003254, allocations: 75.84 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4278, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00324/0.4311, allocations: 1.758 MB / 491.3 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4326, allocations: 0.8768 MB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.4327, allocations: 5.062 kB / 492.1 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.4334, allocations: 314.7 kB / 492.5 MB, free: 18.02 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.0004227/0.4338, allocations: 210.1 kB / 492.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.4342, allocations: 135.4 kB / 492.8 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.4346, allocations: 239.7 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.4346, allocations: 13.05 kB / 493 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.4348, allocations: 134.3 kB / 493.2 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.4351, allocations: 193.9 kB / 493.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.4351, allocations: 5.469 kB / 493.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.4353, allocations: 57.77 kB / 493.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.4354, allocations: 130.6 kB / 493.5 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.4356, allocations: 147.8 kB / 493.7 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.436, allocations: 362.4 kB / 494 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.436, allocations: 0 / 494 MB, free: 17.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4361, allocations: 5.125 kB / 494.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4361, allocations: 0 / 494.1 MB, free: 17.4 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.0009012/0.437, allocations: 0.7312 MB / 494.8 MB, free: 16.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.437, allocations: 12.33 kB / 494.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.4371, allocations: 55.17 kB / 494.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.4377, allocations: 448.6 kB / 495.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4377, allocations: 3.141 kB / 495.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.4378, allocations: 7.438 kB / 495.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.438, allocations: 86.33 kB / 495.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.438, allocations: 0.6094 kB / 495.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.438, allocations: 1.219 kB / 495.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.438, allocations: 5.797 kB / 495.4 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.4381, allocations: 30.22 kB / 495.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.4386, allocations: 372.2 kB / 495.8 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.4388, allocations: 110.1 kB / 495.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.4389, allocations: 47.5 kB / 495.9 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.439, allocations: 1.688 kB / 495.9 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.4392, allocations: 104.2 kB / 496 MB, free: 15.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.4392, allocations: 4 kB / 496 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005285/0.4397, allocations: 203.5 kB / 496.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4398, allocations: 83.25 kB / 496.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4411, allocations: 1.032 MB / 497.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4411, allocations: 27.08 kB / 497.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.4413, allocations: 232.9 kB / 497.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.4414, allocations: 30.53 kB / 497.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.4414, allocations: 33.64 kB / 497.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4416, allocations: 364.8 kB / 498 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.4417, allocations: 27.86 kB / 498.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.4418, allocations: 64.48 kB / 498.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.442, allocations: 92.84 kB / 498.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.442, allocations: 0 / 498.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002778/0.4423, allocations: 172.9 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4423, allocations: 4.641 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4423, allocations: 1.344 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4424, allocations: 2.469 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4425, allocations: 25.38 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4425, allocations: 1.938 kB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.4426, allocations: 18.98 kB / 498.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4426, allocations: 3.281 kB / 498.4 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.0002328/0.4429, allocations: 223.6 kB / 498.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.4429, allocations: 51.05 kB / 498.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/0.443, allocations: 62.69 kB / 498.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.443, allocations: 1.25 kB / 498.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4431, allocations: 1.312 kB / 498.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4431, allocations: 0.6562 kB / 498.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.4435, allocations: 346.8 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4435, allocations: 1.844 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.4435, allocations: 7.328 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4435, allocations: 5.047 kB / 499.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4435, allocations: 3.875 kB / 499.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4435, allocations: 1.094 kB / 499.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4436, allocations: 8.719 kB / 499.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.4439, allocations: 206 kB / 499.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.444, allocations: 138 kB / 499.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.4441, allocations: 3.047 kB / 499.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.4442, allocations: 9.203 kB / 499.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.4442, allocations: 6.469 kB / 499.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.4443, allocations: 5.672 kB / 499.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.4454, allocations: 0.7692 MB / 0.4885 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4454, allocations: 0 / 0.4885 GB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.4457, allocations: 42.11 kB / 0.4886 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.001122/0.4469, allocations: 427.5 kB / 0.489 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.4472, allocations: 80.73 kB / 0.4891 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4472, allocations: 1.062 kB / 0.4891 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.4473, allocations: 40.08 kB / 0.4891 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.0004806/0.4478, allocations: 73.36 kB / 0.4892 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4495, allocations: 0.8669 MB / 0.49 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.45, allocations: 0.8441 MB / 0.4908 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.4501, allocations: 60.55 kB / 0.4909 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.4502, allocations: 32.67 kB / 0.4909 GB, free: 12.03 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4502, allocations: 0 / 0.4909 GB, free: 12.03 MB / 382.1 MB Notification: Performance of Templates: time 0.01288/0.4631, allocations: 3.741 MB / 0.4946 GB, free: 11.39 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)