Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.643/1.643, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3634/0.3634, allocations: 37.99 MB / 307.8 MB, free: 9.98 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.00163/0.00163, allocations: 71.91 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1321, allocations: 56.46 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003435/0.1356, allocations: 1.677 MB / 433.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1371, allocations: 0.8091 MB / 434.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.1372, allocations: 4 kB / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1375, allocations: 79.7 kB / 434.3 MB, free: 4.035 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.0002343/0.1378, allocations: 79.7 kB / 434.4 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.138, allocations: 79.78 kB / 434.4 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1382, allocations: 103.7 kB / 434.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1383, allocations: 20.2 kB / 434.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.1384, allocations: 51.77 kB / 434.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.1385, allocations: 59.77 kB / 434.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1386, allocations: 4 kB / 434.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.1387, allocations: 39.98 kB / 434.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1387, allocations: 19.92 kB / 434.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.1388, allocations: 39.72 kB / 434.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.139, allocations: 111.9 kB / 434.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.139, allocations: 4 kB / 434.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.139, allocations: 0 / 434.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.139, allocations: 4 kB / 434.9 MB, free: 3.43 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.0005536/0.1396, allocations: 422.8 kB / 435.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1396, allocations: 15.89 kB / 435.3 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1396, allocations: 8.844 kB / 435.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1399, allocations: 212 kB / 435.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1399, allocations: 384 / 435.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.14, allocations: 8.125 kB / 435.5 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1401, allocations: 53.67 kB / 435.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1402, allocations: 0 / 435.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1402, allocations: 4 kB / 435.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1402, allocations: 0 / 435.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.1403, allocations: 27.92 kB / 435.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.1407, allocations: 284.9 kB / 435.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1408, allocations: 54.67 kB / 436 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1409, allocations: 28.84 kB / 436 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1409, allocations: 0 / 436 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1412, allocations: 79.3 kB / 436.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1412, allocations: 4 kB / 436.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005498/0.1417, allocations: 173.1 kB / 436.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1418, allocations: 51.41 kB / 436.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.142, allocations: 223 kB / 436.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.142, allocations: 33.7 kB / 436.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.1421, allocations: 100.1 kB / 436.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1421, allocations: 23.66 kB / 436.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.1422, allocations: 29.7 kB / 436.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1423, allocations: 326.8 kB / 437 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.1424, allocations: 19.94 kB / 437 MB, free: 1.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.1424, allocations: 37.7 kB / 437.1 MB, free: 1.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1426, allocations: 61.64 kB / 437.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1426, allocations: 0 / 437.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1428, allocations: 105.9 kB / 437.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1428, allocations: 4 kB / 437.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1428, allocations: 0 / 437.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1428, allocations: 4 kB / 437.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.1429, allocations: 19.94 kB / 437.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1429, allocations: 4.031 kB / 437.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.143, allocations: 11.92 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.143, allocations: 0 / 437.3 MB, free: 0.8125 MB / 366.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 0.0001174/0.1431, allocations: 125.8 kB / 437.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1432, allocations: 19.8 kB / 437.4 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.1432, allocations: 13.56 kB / 437.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1432, allocations: 0 / 437.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1432, allocations: 0 / 437.4 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.1432, allocations: 3.938 kB / 437.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.1438, allocations: 403.3 kB / 437.8 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1438, allocations: 4 kB / 437.8 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.1438, allocations: 4 kB / 437.8 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1439, allocations: 4 kB / 437.8 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1439, allocations: 11.88 kB / 437.8 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1439, allocations: 0 / 437.8 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1439, allocations: 4 kB / 437.8 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1442, allocations: 200.2 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1442, allocations: 85 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1443, allocations: 11.94 kB / 438.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.1443, allocations: 0 / 438.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1444, allocations: 7.984 kB / 438.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1444, allocations: 4.188 kB / 438.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1446, allocations: 163.2 kB / 438.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1446, allocations: 3.938 kB / 438.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1448, allocations: 24 kB / 438.3 MB, free: 15.63 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.001147/0.146, allocations: 472.8 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1462, allocations: 59.92 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1462, allocations: 0 / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.1463, allocations: 23.98 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1467, allocations: 31.84 kB / 438.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.1472, allocations: 254.9 kB / 439.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1475, allocations: 0.7041 MB / 439.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.68e-05/0.1476, allocations: 21.19 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.1476, allocations: 19.42 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1477, allocations: 0 / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of Templates: time 0.004762/0.1524, allocations: 1.7 MB / 441.6 MB, free: 12.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)