Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001009/0.001009, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.354/0.354, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0006165/0.0006167, allocations: 23.98 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 57.51 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002544/0.1356, allocations: 1.559 MB / 435.5 MB, free: 4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1374, allocations: 0.7886 MB / 436.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.1376, allocations: 0 / 436.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.138, allocations: 31.84 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.1384, allocations: 47.81 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1388, allocations: 91.69 kB / 436.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.1392, allocations: 83.83 kB / 436.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1393, allocations: 29.47 kB / 436.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1395, allocations: 51.77 kB / 436.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1396, allocations: 35.73 kB / 436.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1396, allocations: 4 kB / 436.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1398, allocations: 27.98 kB / 436.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.1398, allocations: 19.91 kB / 436.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.1399, allocations: 49.64 kB / 436.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1402, allocations: 112 kB / 436.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1402, allocations: 0 / 436.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1402, allocations: 0 / 436.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1402, allocations: 0 / 436.8 MB, free: 2.621 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.0007605/0.141, allocations: 456.4 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.141, allocations: 8.031 kB / 437.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.1411, allocations: 19.77 kB / 437.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1414, allocations: 215.6 kB / 437.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1415, allocations: 8 kB / 437.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1415, allocations: 7.906 kB / 437.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.1418, allocations: 112.2 kB / 437.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1418, allocations: 0 / 437.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.1418, allocations: 0 / 437.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1418, allocations: 4 kB / 437.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.142, allocations: 55.92 kB / 437.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.1427, allocations: 0.5048 MB / 438.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.143, allocations: 94.55 kB / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1431, allocations: 7.984 kB / 438.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.1433, allocations: 83.38 kB / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1433, allocations: 7.875 kB / 438.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004109/0.1438, allocations: 141.5 kB / 438.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1438, allocations: 55.41 kB / 438.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.144, allocations: 195.4 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.1441, allocations: 29.7 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1442, allocations: 116 kB / 438.9 MB, free: 312 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1443, allocations: 19.72 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.1443, allocations: 0 / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1444, allocations: 330.8 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1445, allocations: 35.97 kB / 439.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1446, allocations: 60.28 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.682e-05/0.1447, allocations: 35.98 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1448, allocations: 0 / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.1451, allocations: 149.3 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1451, allocations: 4 kB / 439.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1451, allocations: 4 kB / 439.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1451, allocations: 0 / 439.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1452, allocations: 27.92 kB / 439.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1453, allocations: 4 kB / 439.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.1454, allocations: 15.97 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1454, allocations: 11.98 kB / 439.6 MB, free: 15.59 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.1456, allocations: 123.3 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1456, allocations: 23.77 kB / 439.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.1457, allocations: 21.39 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1457, allocations: 4 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1457, allocations: 0 / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1457, allocations: 3.938 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1459, allocations: 209.8 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1459, allocations: 4 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.146, allocations: 12 kB / 440 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.146, allocations: 3.984 kB / 440 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.146, allocations: 3.953 kB / 440 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.146, allocations: 0 / 440 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.146, allocations: 0 / 440 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.1464, allocations: 188.9 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.1465, allocations: 96.94 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1465, allocations: 3.938 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.1466, allocations: 7.953 kB / 440.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1467, allocations: 11.98 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1467, allocations: 4 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1468, allocations: 137.2 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1469, allocations: 4.062 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1471, allocations: 32.03 kB / 440.5 MB, free: 14.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000954/0.1481, allocations: 414 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1483, allocations: 83.89 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1484, allocations: 256 / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1485, allocations: 47.91 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1488, allocations: 36.09 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.1494, allocations: 297.5 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1497, allocations: 0.7162 MB / 442.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.1498, allocations: 21.41 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1499, allocations: 23.42 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1499, allocations: 0 / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of Templates: time 0.005081/0.155, allocations: 1.719 MB / 443.8 MB, free: 11.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) Environment - environmentSimulation: