Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005533/0.005533, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.575/1.575, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3119/0.3119, allocations: 38.04 MB / 308.8 MB, free: 10.31 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.0008235/0.0008239, allocations: 16 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.12, allocations: 57.52 MB / 434.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002174/0.1223, allocations: 1.389 MB / 436 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1236, allocations: 0.7806 MB / 436.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1237, allocations: 3.938 kB / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.124, allocations: 35.89 kB / 436.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1243, allocations: 47.83 kB / 436.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1246, allocations: 75.84 kB / 436.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1248, allocations: 99.69 kB / 437 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.125, allocations: 8.219 kB / 437 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1251, allocations: 39.73 kB / 437.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.782e-05/0.1252, allocations: 39.77 kB / 437.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1252, allocations: 0 / 437.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1253, allocations: 35.98 kB / 437.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.1254, allocations: 19.92 kB / 437.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.1255, allocations: 57.44 kB / 437.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1257, allocations: 119.9 kB / 437.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1257, allocations: 0 / 437.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1257, allocations: 0 / 437.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1257, allocations: 4 kB / 437.3 MB, free: 2.422 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005162/0.1262, allocations: 395.1 kB / 437.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1263, allocations: 8.031 kB / 437.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1263, allocations: 12.75 kB / 437.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.1265, allocations: 208.8 kB / 437.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1266, allocations: 4.375 kB / 437.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1266, allocations: 8.125 kB / 437.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1267, allocations: 57.67 kB / 438 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1267, allocations: 3.938 kB / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1268, allocations: 0 / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1268, allocations: 4 kB / 438 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.1268, allocations: 19.92 kB / 438 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1272, allocations: 288.9 kB / 438.3 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1274, allocations: 58.69 kB / 438.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.1274, allocations: 20.84 kB / 438.4 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1275, allocations: 3.984 kB / 438.4 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1276, allocations: 71.23 kB / 438.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1276, allocations: 8 kB / 438.5 MB, free: 1.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004957/0.1281, allocations: 181.1 kB / 438.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1282, allocations: 51.41 kB / 438.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1284, allocations: 191.3 kB / 438.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1284, allocations: 29.7 kB / 438.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.1284, allocations: 104.1 kB / 439 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.1285, allocations: 19.72 kB / 439 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1285, allocations: 17.7 kB / 439 MB, free: 496 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1286, allocations: 330.8 kB / 439.4 MB, free: 156 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.1287, allocations: 20 kB / 439.4 MB, free: 136 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.1288, allocations: 41.64 kB / 439.4 MB, free: 88 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.1289, allocations: 61.7 kB / 439.5 MB, free: 20 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1289, allocations: 0 / 439.5 MB, free: 20 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.1291, allocations: 97.58 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1291, allocations: 12.03 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1291, allocations: 7.922 kB / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1291, allocations: 0 / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.1292, allocations: 12 kB / 439.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1292, allocations: 4 kB / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.1293, allocations: 3.938 kB / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1293, allocations: 4 kB / 439.6 MB, free: 15.88 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.274e-05/0.1294, allocations: 133.8 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.1294, allocations: 11.81 kB / 439.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.1295, allocations: 21.39 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1295, allocations: 4 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1295, allocations: 0 / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1295, allocations: 3.938 kB / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.1299, allocations: 395.3 kB / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1299, allocations: 0 / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.1299, allocations: 16.3 kB / 440.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.13, allocations: 32 / 440.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.13, allocations: 7.938 kB / 440.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.13, allocations: 8 kB / 440.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.13, allocations: 0 / 440.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1302, allocations: 200.2 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1302, allocations: 89 kB / 440.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1303, allocations: 7.938 kB / 440.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.1304, allocations: 8 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1304, allocations: 7.984 kB / 440.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1304, allocations: 0 / 440.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1305, allocations: 156.9 kB / 440.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1305, allocations: 3.938 kB / 440.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1308, allocations: 20 kB / 440.7 MB, free: 14.7 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.0009465/0.1317, allocations: 472.7 kB / 441.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1319, allocations: 55.97 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1319, allocations: 3.938 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.132, allocations: 32.12 kB / 441.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1323, allocations: 24.11 kB / 441.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.1328, allocations: 254.3 kB / 441.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1331, allocations: 0.716 MB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.1332, allocations: 8.891 kB / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.1332, allocations: 19.42 kB / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1332, allocations: 0 / 442.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of Templates: time 0.004215/0.1375, allocations: 1.624 MB / 443.9 MB, free: 11.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) Environment - environmentSimulation: