Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 108.3 kB / 17.03 MB, free: 5.703 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.001007/0.001007, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.518/1.518, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2177/0.2177, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 68.77 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002902/0.1206, allocations: 2.005 MB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.122, allocations: 0.8857 MB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1222, allocations: 7.938 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.1226, allocations: 47.7 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1229, allocations: 71.56 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.1232, allocations: 119.6 kB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1234, allocations: 199.4 kB / 445.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1236, allocations: 37.59 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1237, allocations: 75.7 kB / 445.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1238, allocations: 79.55 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.1238, allocations: 12 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.1239, allocations: 51.98 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.124, allocations: 35.84 kB / 445.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.1241, allocations: 75.58 kB / 445.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1243, allocations: 191.3 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1243, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1243, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1243, allocations: 0 / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008128/0.1252, allocations: 0.5604 MB / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1252, allocations: 15.89 kB / 446.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.1253, allocations: 20.75 kB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1255, allocations: 252.7 kB / 446.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1256, allocations: 4.375 kB / 446.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.1256, allocations: 12.12 kB / 446.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.126, allocations: 153.4 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.126, allocations: 0 / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.126, allocations: 3.938 kB / 446.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.126, allocations: 3.984 kB / 446.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.1264, allocations: 111.8 kB / 447 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.127, allocations: 0.5477 MB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.1275, allocations: 162.6 kB / 447.7 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.1277, allocations: 76.72 kB / 447.7 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.1278, allocations: 4 kB / 447.8 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.1281, allocations: 135.2 kB / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.1281, allocations: 0 / 447.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008242/0.129, allocations: 257.2 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.129, allocations: 59.34 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1292, allocations: 231.1 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1293, allocations: 33.64 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.1294, allocations: 124.4 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.1294, allocations: 39.53 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.1295, allocations: 37.7 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1296, allocations: 326.8 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1299, allocations: 67.94 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.1301, allocations: 109.3 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.1306, allocations: 197.5 kB / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1306, allocations: 0 / 449.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005985/0.1312, allocations: 255 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.1313, allocations: 30.8 kB / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.1313, allocations: 0 / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1313, allocations: 4 kB / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1315, allocations: 39.91 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1315, allocations: 4 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1317, allocations: 28 kB / 449.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1317, allocations: 11.94 kB / 449.7 MB, free: 14.07 MB / 334.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001319/0.1318, allocations: 129.8 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1319, allocations: 23.81 kB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.1319, allocations: 17.41 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1319, allocations: 3.938 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.132, allocations: 3.984 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.132, allocations: 4 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1322, allocations: 229.5 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1322, allocations: 3.938 kB / 450.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1324, allocations: 23.97 kB / 450.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1324, allocations: 3.938 kB / 450.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1324, allocations: 8 kB / 450.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1324, allocations: 7.922 kB / 450.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1324, allocations: 0 / 450.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.1332, allocations: 296.7 kB / 450.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1333, allocations: 92.94 kB / 450.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.1333, allocations: 8 kB / 450.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1335, allocations: 23.91 kB / 450.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.1335, allocations: 16.05 kB / 450.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1336, allocations: 11.92 kB / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1337, allocations: 168.6 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1337, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.134, allocations: 43.98 kB / 450.8 MB, free: 12.88 MB / 334.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001067/0.1351, allocations: 420.6 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.1357, allocations: 219.2 kB / 451.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1357, allocations: 0 / 451.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.1359, allocations: 79.81 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1363, allocations: 60.28 kB / 451.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.1369, allocations: 308.2 kB / 451.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1373, allocations: 0.724 MB / 452.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.1374, allocations: 21.55 kB / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.1374, allocations: 19.44 kB / 452.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1374, allocations: 0 / 452.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Templates: time 0.006032/0.1435, allocations: 2.803 MB / 455.4 MB, free: 8.277 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)