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.001567/0.001567, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001566/0.001566, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.492/1.492, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2155/0.2155, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.86 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1127, allocations: 57.8 MB / 441.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002952/0.1157, allocations: 1.991 MB / 443.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1168, allocations: 0.8817 MB / 444.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.117, allocations: 8 kB / 444.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1173, allocations: 55.62 kB / 444.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1175, allocations: 75.61 kB / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1178, allocations: 115.7 kB / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.118, allocations: 203.4 kB / 444.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1182, allocations: 29.89 kB / 444.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1183, allocations: 87.62 kB / 444.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.1184, allocations: 71.62 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1184, allocations: 12 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1185, allocations: 47.98 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1186, allocations: 39.83 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.72e-05/0.1187, allocations: 75.53 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.1189, allocations: 183.5 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1189, allocations: 4 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1189, allocations: 0 / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1189, allocations: 3.938 kB / 445.1 MB, free: 2.996 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.0008299/0.1198, allocations: 0.5526 MB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1198, allocations: 11.89 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.1199, allocations: 16.75 kB / 445.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1201, allocations: 256.7 kB / 445.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1201, allocations: 8.375 kB / 445.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1202, allocations: 12.12 kB / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.1205, allocations: 144.2 kB / 446.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1206, allocations: 4 kB / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1206, allocations: 0 / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1206, allocations: 0 / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.121, allocations: 119.8 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.1215, allocations: 0.5438 MB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.1222, allocations: 162.5 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.1224, allocations: 88.67 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1225, allocations: 0 / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.1229, allocations: 135.2 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.1229, allocations: 4 kB / 447.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008151/0.1237, allocations: 249.3 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.1237, allocations: 67.27 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1239, allocations: 223.1 kB / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1239, allocations: 33.7 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.124, allocations: 124.4 kB / 447.8 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.124, allocations: 35.55 kB / 447.8 MB, free: 4 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1242, allocations: 37.7 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1243, allocations: 330.8 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.1246, allocations: 67.88 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.1249, allocations: 109.3 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.1254, allocations: 193.8 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1254, allocations: 0 / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007269/0.1262, allocations: 262.5 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.1262, allocations: 30.48 kB / 448.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.1262, allocations: 0 / 448.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1263, allocations: 4 kB / 448.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1264, allocations: 35.91 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.1265, allocations: 7.938 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.1266, allocations: 27.88 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1267, allocations: 8.062 kB / 448.9 MB, free: 14.85 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.1268, allocations: 133.8 kB / 449 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1269, allocations: 19.81 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.1269, allocations: 21.39 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1269, allocations: 3.938 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1269, allocations: 0 / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1269, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1272, allocations: 233.5 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1272, allocations: 0 / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1273, allocations: 27.92 kB / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1274, allocations: 3.984 kB / 449.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1274, allocations: 8 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1274, allocations: 3.938 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1274, allocations: 3.984 kB / 449.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.1283, allocations: 309 kB / 449.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1284, allocations: 88.95 kB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1284, allocations: 8 kB / 449.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1286, allocations: 27.91 kB / 449.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.1287, allocations: 23.91 kB / 449.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1287, allocations: 4.062 kB / 449.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.1289, allocations: 168.6 kB / 450 MB, free: 13.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1289, allocations: 0 / 450 MB, free: 13.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1291, allocations: 36 kB / 450 MB, free: 13.65 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.0009953/0.1301, allocations: 413 kB / 450.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006728/0.1308, allocations: 227.2 kB / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1308, allocations: 0 / 450.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.1311, allocations: 75.88 kB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1315, allocations: 52.38 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.1323, allocations: 346.1 kB / 451.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1327, allocations: 0.724 MB / 451.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.1328, allocations: 27.42 kB / 451.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1328, allocations: 3.938 kB / 451.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Templates: time 0.005324/0.1381, allocations: 2.785 MB / 454.6 MB, free: 9.027 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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)