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.0007727/0.0007727, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.0049/0.0049, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.417/1.417, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.3477/0.3477, allocations: 38.04 MB / 308.8 MB, free: 10.15 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.0005477/0.0005476, allocations: 24 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1204, allocations: 57.51 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002424/0.1228, allocations: 1.593 MB / 436.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1243, allocations: 0.8195 MB / 437 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1245, allocations: 4 kB / 437 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1248, allocations: 43.77 kB / 437 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.125, allocations: 43.83 kB / 437.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1254, allocations: 95.77 kB / 437.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1256, allocations: 131.5 kB / 437.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1257, allocations: 33.75 kB / 437.3 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1259, allocations: 43.73 kB / 437.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/0.126, allocations: 47.7 kB / 437.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.126, allocations: 7.938 kB / 437.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1261, allocations: 35.98 kB / 437.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.1262, allocations: 23.86 kB / 437.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.1263, allocations: 73.36 kB / 437.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1265, allocations: 135.5 kB / 437.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1265, allocations: 0 / 437.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1265, allocations: 0 / 437.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1265, allocations: 4 kB / 437.7 MB, free: 2.055 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.0005949/0.1271, allocations: 460.6 kB / 438.1 MB, free: 1.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1272, allocations: 8.031 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.1272, allocations: 16.75 kB / 438.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1275, allocations: 228.7 kB / 438.4 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1275, allocations: 384 / 438.4 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1276, allocations: 20.12 kB / 438.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.1278, allocations: 104.2 kB / 438.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1278, allocations: 3.938 kB / 438.5 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1278, allocations: 4 kB / 438.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1279, allocations: 7.984 kB / 438.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.128, allocations: 51.97 kB / 438.6 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.1286, allocations: 0.5126 MB / 439.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.1289, allocations: 86.67 kB / 439.2 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.129, allocations: 44.83 kB / 439.2 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1291, allocations: 3.938 kB / 439.2 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.1293, allocations: 83.38 kB / 439.3 MB, free: 260 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.614e-06/0.1293, allocations: 0 / 439.3 MB, free: 260 kB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003685/0.1296, allocations: 149.4 kB / 439.4 MB, free: 104 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1297, allocations: 59.34 kB / 439.5 MB, free: 32 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1299, allocations: 187.5 kB / 439.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1299, allocations: 38.08 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.13, allocations: 112 kB / 439.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.13, allocations: 31.52 kB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1301, allocations: 17.72 kB / 439.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1302, allocations: 330.8 kB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.564e-05/0.1303, allocations: 31.98 kB / 440.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1304, allocations: 76.2 kB / 440.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1306, allocations: 104.2 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1306, allocations: 0 / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002686/0.1309, allocations: 137.4 kB / 440.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1309, allocations: 7.75 kB / 440.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1309, allocations: 0 / 440.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1309, allocations: 4 kB / 440.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.131, allocations: 35.98 kB / 440.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1311, allocations: 0 / 440.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.1311, allocations: 19.83 kB / 440.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1312, allocations: 8 kB / 440.6 MB, free: 14.84 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.0001152/0.1313, allocations: 117.8 kB / 440.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1313, allocations: 15.81 kB / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.1314, allocations: 21.39 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1314, allocations: 3.938 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1314, allocations: 4 kB / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1314, allocations: 0 / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1316, allocations: 205.6 kB / 441 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1316, allocations: 0 / 441 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.1317, allocations: 19.92 kB / 441 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1317, allocations: 0 / 441 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1317, allocations: 4 kB / 441 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1317, allocations: 3.938 kB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1317, allocations: 0 / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.1321, allocations: 188.9 kB / 441.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.1322, allocations: 100.9 kB / 441.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1322, allocations: 4 kB / 441.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.1323, allocations: 11.92 kB / 441.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1324, allocations: 12.06 kB / 441.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1324, allocations: 4 kB / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1325, allocations: 137.2 kB / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1325, allocations: 0 / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1327, allocations: 24 kB / 441.5 MB, free: 13.89 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.000896/0.1336, allocations: 423.8 kB / 441.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.1339, allocations: 87.84 kB / 442 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1339, allocations: 0 / 442 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.134, allocations: 35.98 kB / 442 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1344, allocations: 31.97 kB / 442 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.1349, allocations: 314.1 kB / 442.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1352, allocations: 0.7162 MB / 443.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.923e-05/0.1353, allocations: 17.42 kB / 443.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1354, allocations: 15.44 kB / 443.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1354, allocations: 0 / 443.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004485/0.1399, allocations: 1.771 MB / 444.9 MB, free: 10.47 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: