Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01047/0.01047, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001788/0.001788, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1984/0.1984, allocations: 38.01 MB / 307.9 MB, free: 5.984 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.001487/0.001487, allocations: 74.34 kB / 433 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 56.46 MB / 489.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003013/0.1225, allocations: 1.888 MB / 491.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1238, allocations: 0.8479 MB / 492.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.124, allocations: 3.938 kB / 492.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.1243, allocations: 51.69 kB / 492.3 MB, free: 3.02 MB / 366.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.000217/0.1245, allocations: 47.64 kB / 492.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1248, allocations: 107.7 kB / 492.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.125, allocations: 131.6 kB / 492.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1251, allocations: 33.47 kB / 492.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.1253, allocations: 59.7 kB / 492.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1254, allocations: 43.78 kB / 492.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1254, allocations: 11.94 kB / 492.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.1255, allocations: 47.92 kB / 492.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.1256, allocations: 27.91 kB / 492.8 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.1257, allocations: 47.67 kB / 492.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1259, allocations: 151.5 kB / 493 MB, free: 2.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1259, allocations: 0 / 493 MB, free: 2.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1259, allocations: 0 / 493 MB, free: 2.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1259, allocations: 3.938 kB / 493 MB, free: 2.312 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006588/0.1266, allocations: 476.5 kB / 493.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1266, allocations: 11.89 kB / 493.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.1267, allocations: 16.75 kB / 493.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.127, allocations: 228 kB / 493.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1271, allocations: 8.375 kB / 493.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1271, allocations: 12.06 kB / 493.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1273, allocations: 108.2 kB / 493.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1273, allocations: 0 / 493.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1274, allocations: 7.984 kB / 493.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1274, allocations: 4 kB / 493.8 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.1275, allocations: 51.91 kB / 493.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.1281, allocations: 0.4971 MB / 494.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.1284, allocations: 90.59 kB / 494.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1285, allocations: 40.84 kB / 494.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1286, allocations: 0 / 494.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.1287, allocations: 87.25 kB / 494.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1288, allocations: 3.938 kB / 494.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000406/0.1292, allocations: 149.4 kB / 494.8 MB, free: 360 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1292, allocations: 55.34 kB / 494.8 MB, free: 292 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1294, allocations: 187.5 kB / 495 MB, free: 92 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1294, allocations: 33.7 kB / 495 MB, free: 52 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.1295, allocations: 112 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1295, allocations: 31.55 kB / 495.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.1296, allocations: 29.72 kB / 495.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1297, allocations: 326.8 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.1298, allocations: 36.09 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1299, allocations: 60.28 kB / 495.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1301, allocations: 96.2 kB / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1301, allocations: 0 / 495.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002593/0.1304, allocations: 141.7 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1304, allocations: 8 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1304, allocations: 96 / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1304, allocations: 4.062 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.1305, allocations: 31.92 kB / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1306, allocations: 0 / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.1306, allocations: 12 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1306, allocations: 8 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.000103/0.1308, allocations: 140.3 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1308, allocations: 15.81 kB / 496.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.1308, allocations: 13.41 kB / 496.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1308, allocations: 3.938 kB / 496.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1309, allocations: 7.984 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1309, allocations: 0 / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.131, allocations: 213.5 kB / 496.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.131, allocations: 0 / 496.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.1311, allocations: 12 kB / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1311, allocations: 0 / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1312, allocations: 0 / 496.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1312, allocations: 7.922 kB / 496.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1312, allocations: 0 / 496.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.1315, allocations: 180.8 kB / 496.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.1316, allocations: 88.95 kB / 496.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.1316, allocations: 11.94 kB / 496.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.1317, allocations: 11.92 kB / 496.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1318, allocations: 11.92 kB / 496.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1318, allocations: 4 kB / 496.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1319, allocations: 141.2 kB / 496.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1319, allocations: 4.062 kB / 496.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1322, allocations: 24 kB / 496.8 MB, free: 14.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009412/0.1331, allocations: 413 kB / 497.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.1334, allocations: 79.89 kB / 497.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1334, allocations: 0 / 497.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1335, allocations: 40.17 kB / 497.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1338, allocations: 43.95 kB / 497.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.1344, allocations: 259.9 kB / 497.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1348, allocations: 0.7123 MB / 498.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.1348, allocations: 17.42 kB / 498.3 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.1349, allocations: 19.44 kB / 498.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of SimCode: time 1.934e-06/0.1349, allocations: 0 / 498.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of Templates: time 0.005674/0.1406, allocations: 1.893 MB / 0.4885 GB, free: 10.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)