Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001284/0.001284, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001295/0.001295, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 243 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1991/0.1991, allocations: 44.17 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.06 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003979/0.1123, allocations: 2.004 MB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.114, allocations: 0.9626 MB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.1142, allocations: 7.938 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.1144, allocations: 47.69 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.1148, allocations: 67.58 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1152, allocations: 146.3 kB / 474 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.1155, allocations: 203.4 kB / 474.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1156, allocations: 37.59 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1158, allocations: 83.58 kB / 474.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1159, allocations: 75.66 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.1159, allocations: 12 kB / 474.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1161, allocations: 43.98 kB / 474.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.1161, allocations: 39.78 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.1162, allocations: 79.53 kB / 474.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1166, allocations: 191.4 kB / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1166, allocations: 0 / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1166, allocations: 0 / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1166, allocations: 4 kB / 474.7 MB, free: 9.664 MB / 350.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.0008894/0.1175, allocations: 0.5526 MB / 475.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1175, allocations: 8.031 kB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.1176, allocations: 24.66 kB / 475.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.118, allocations: 240.9 kB / 475.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.118, allocations: 8.375 kB / 475.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.118, allocations: 16.12 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1184, allocations: 148.1 kB / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1185, allocations: 0 / 475.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1185, allocations: 8 kB / 475.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1185, allocations: 0 / 475.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.1189, allocations: 115.8 kB / 475.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.1195, allocations: 0.5437 MB / 476.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.1201, allocations: 166.5 kB / 476.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.1204, allocations: 72.78 kB / 476.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1204, allocations: 8 kB / 476.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.1208, allocations: 127.3 kB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.1208, allocations: 3.938 kB / 476.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000812/0.1216, allocations: 257.3 kB / 477 MB, free: 7.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.1217, allocations: 59.34 kB / 477 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.1219, allocations: 223.1 kB / 477.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1219, allocations: 33.7 kB / 477.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.122, allocations: 120.3 kB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.1221, allocations: 39.59 kB / 477.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.1221, allocations: 37.7 kB / 477.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1222, allocations: 330.8 kB / 477.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1225, allocations: 75.92 kB / 477.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.1228, allocations: 104.2 kB / 478 MB, free: 6.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.1233, allocations: 189.8 kB / 478.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1233, allocations: 4 kB / 478.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006134/0.1239, allocations: 251 kB / 478.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.124, allocations: 36.05 kB / 478.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.124, allocations: 4.125 kB / 478.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.124, allocations: 4 kB / 478.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.1242, allocations: 47.78 kB / 478.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1242, allocations: 0 / 478.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.1244, allocations: 31.81 kB / 478.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.1245, allocations: 8 kB / 478.5 MB, free: 5.512 MB / 350.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.0001239/0.1246, allocations: 133.8 kB / 478.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1246, allocations: 19.81 kB / 478.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.1247, allocations: 25.39 kB / 478.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1247, allocations: 3.938 kB / 478.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1247, allocations: 0 / 478.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1247, allocations: 0 / 478.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.125, allocations: 241.4 kB / 479 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.125, allocations: 0 / 479 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1251, allocations: 23.98 kB / 479 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1251, allocations: 0 / 479 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1252, allocations: 7.984 kB / 479 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1252, allocations: 7.938 kB / 479 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1252, allocations: 0 / 479 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.126, allocations: 308.6 kB / 479.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1261, allocations: 88.95 kB / 479.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.1261, allocations: 8 kB / 479.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.1263, allocations: 19.91 kB / 479.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.1264, allocations: 19.97 kB / 479.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1264, allocations: 8 kB / 479.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1265, allocations: 156.7 kB / 479.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1266, allocations: 0 / 479.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1268, allocations: 35.98 kB / 479.6 MB, free: 4.336 MB / 350.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.0009324/0.1278, allocations: 423 kB / 480 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.1284, allocations: 219.1 kB / 480.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1284, allocations: 8.188 kB / 480.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.1287, allocations: 75.94 kB / 480.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.129, allocations: 43.34 kB / 480.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.1297, allocations: 319.9 kB / 480.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.13, allocations: 0.728 MB / 481.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.023e-05/0.1301, allocations: 21.55 kB / 481.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.1302, allocations: 19.44 kB / 481.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1302, allocations: 3.938 kB / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Templates: time 0.006382/0.1366, allocations: 2.813 MB / 484.3 MB, free: 15.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)