Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001027, allocations: 100 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.001378/0.001378, allocations: 177.3 kB / 15.94 MB, free: 228 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.808/1.808, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.4888/0.4888, allocations: 38.03 MB / 308.4 MB, free: 10.58 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.0005909/0.0005912, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002312/0.1402, allocations: 1.555 MB / 435.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.1416, allocations: 0.7731 MB / 436.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.1417, allocations: 7.938 kB / 436.3 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.142, allocations: 27.83 kB / 436.3 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1422, allocations: 55.8 kB / 436.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1424, allocations: 79.78 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1426, allocations: 91.81 kB / 436.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1427, allocations: 25.47 kB / 436.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.1428, allocations: 47.78 kB / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.143, allocations: 39.72 kB / 436.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.143, allocations: 4 kB / 436.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.1431, allocations: 27.98 kB / 436.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.1431, allocations: 23.92 kB / 436.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.1432, allocations: 41.58 kB / 436.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1434, allocations: 116 kB / 436.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1434, allocations: 0 / 436.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1434, allocations: 0 / 436.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1434, allocations: 0 / 436.8 MB, free: 2.637 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.0005893/0.144, allocations: 452.5 kB / 437.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.144, allocations: 11.97 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.1441, allocations: 23.77 kB / 437.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1443, allocations: 215.6 kB / 437.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1444, allocations: 8 kB / 437.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1444, allocations: 7.906 kB / 437.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.1446, allocations: 112.2 kB / 437.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1447, allocations: 0 / 437.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1447, allocations: 4 kB / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1447, allocations: 4 kB / 437.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1448, allocations: 51.92 kB / 437.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.1454, allocations: 0.5048 MB / 438.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1457, allocations: 94.56 kB / 438.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1458, allocations: 0 / 438.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.146, allocations: 91.45 kB / 438.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.146, allocations: 0 / 438.4 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004017/0.1464, allocations: 145.5 kB / 438.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1465, allocations: 51.41 kB / 438.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1467, allocations: 195.4 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1467, allocations: 29.7 kB / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.1468, allocations: 116 kB / 438.9 MB, free: 332 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1469, allocations: 27.7 kB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.1469, allocations: 0 / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1471, allocations: 327.2 kB / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.1472, allocations: 31.92 kB / 439.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1473, allocations: 64.27 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1474, allocations: 39.92 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1474, allocations: 4 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00026/0.1477, allocations: 141.3 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1477, allocations: 8 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.1477, allocations: 3.984 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1477, allocations: 4 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1478, allocations: 19.94 kB / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1479, allocations: 7.984 kB / 439.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.148, allocations: 19.97 kB / 439.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.148, allocations: 4 kB / 439.6 MB, free: 15.61 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.0001109/0.1481, allocations: 126.8 kB / 439.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1481, allocations: 19.75 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.1482, allocations: 25.39 kB / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1482, allocations: 0 / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1482, allocations: 0 / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1482, allocations: 0 / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1484, allocations: 209.6 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1484, allocations: 0 / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.1485, allocations: 15.98 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1485, allocations: 0 / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1485, allocations: 3.953 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1485, allocations: 4 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1485, allocations: 4 kB / 440 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.1489, allocations: 192.9 kB / 440.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.149, allocations: 96.92 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.149, allocations: 0 / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.1491, allocations: 15.94 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.1491, allocations: 3.984 kB / 440.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1492, allocations: 8 kB / 440.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1493, allocations: 145.3 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1493, allocations: 0 / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1495, allocations: 28.03 kB / 440.5 MB, free: 14.63 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.0009529/0.1505, allocations: 418 kB / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1508, allocations: 84.02 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1508, allocations: 4.062 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.1509, allocations: 39.92 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.0002398/0.1511, allocations: 36.16 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.1516, allocations: 293.5 kB / 441.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.152, allocations: 0.7162 MB / 442.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.171e-05/0.152, allocations: 25.41 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.1521, allocations: 19.44 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1521, allocations: 0 / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of Templates: time 0.004456/0.1565, allocations: 1.726 MB / 443.8 MB, free: 11.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) Environment - environmentSimulation: