Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000909/0.000909, allocations: 175.5 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007597/0.0007597, allocations: 77.44 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2771/0.2771, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 12 kB / 432 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09783, allocations: 58.86 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002075/0.09995, allocations: 1.684 MB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1011, allocations: 0.8123 MB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.1012, allocations: 7.938 kB / 493.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1015, allocations: 39.83 kB / 493.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1017, allocations: 59.62 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.102, allocations: 103.8 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.1022, allocations: 175.4 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1023, allocations: 25.67 kB / 493.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1024, allocations: 71.69 kB / 493.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1025, allocations: 75.61 kB / 493.9 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1026, allocations: 4 kB / 493.9 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.1027, allocations: 36 kB / 493.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.1027, allocations: 23.91 kB / 493.9 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.1028, allocations: 97.27 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.103, allocations: 136 kB / 494.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.103, allocations: 0 / 494.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.103, allocations: 4 kB / 494.2 MB, free: 7.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.103, allocations: 0 / 494.2 MB, free: 7.539 MB / 378.7 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.0008101/0.1038, allocations: 0.5371 MB / 494.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1039, allocations: 12.03 kB / 494.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.104, allocations: 24.75 kB / 494.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.1042, allocations: 244.7 kB / 495 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1043, allocations: 8.375 kB / 495 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.1043, allocations: 12.12 kB / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.1047, allocations: 160.1 kB / 495.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1047, allocations: 0 / 495.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1048, allocations: 8 kB / 495.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1048, allocations: 0 / 495.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.1052, allocations: 139.8 kB / 495.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.1058, allocations: 0.5438 MB / 495.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.1064, allocations: 190.5 kB / 496 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.1067, allocations: 88.73 kB / 496.1 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1067, allocations: 4 kB / 496.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.1071, allocations: 155.1 kB / 496.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.1071, allocations: 0 / 496.3 MB, free: 5.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008138/0.1079, allocations: 289.3 kB / 496.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.108, allocations: 55.34 kB / 496.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1082, allocations: 227.2 kB / 496.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1082, allocations: 25.7 kB / 496.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.1083, allocations: 120.3 kB / 497 MB, free: 4.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1084, allocations: 47.59 kB / 497 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.1084, allocations: 0 / 497 MB, free: 4.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1085, allocations: 330.8 kB / 497.3 MB, free: 4.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.1088, allocations: 83.89 kB / 497.4 MB, free: 4.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.109, allocations: 119.8 kB / 497.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.1095, allocations: 221.8 kB / 497.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1095, allocations: 0 / 497.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006201/0.1101, allocations: 283 kB / 498 MB, free: 3.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.1102, allocations: 33.83 kB / 498.1 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1102, allocations: 0 / 498.1 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1102, allocations: 7.938 kB / 498.1 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.1104, allocations: 43.91 kB / 498.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1104, allocations: 3.938 kB / 498.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1106, allocations: 43.81 kB / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1106, allocations: 4 kB / 498.2 MB, free: 3.234 MB / 378.7 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001166/0.1108, allocations: 137.8 kB / 498.3 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.1108, allocations: 15.81 kB / 498.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.1108, allocations: 25.39 kB / 498.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1108, allocations: 3.938 kB / 498.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1109, allocations: 0 / 498.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1109, allocations: 0 / 498.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1111, allocations: 245.4 kB / 498.6 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1111, allocations: 4 kB / 498.6 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1112, allocations: 31.97 kB / 498.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1112, allocations: 3.984 kB / 498.6 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1113, allocations: 0 / 498.6 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1113, allocations: 3.938 kB / 498.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1113, allocations: 0 / 498.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.1121, allocations: 352.6 kB / 499 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.1122, allocations: 88.95 kB / 499.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.1122, allocations: 0 / 499.1 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1124, allocations: 39.97 kB / 499.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.1124, allocations: 19.97 kB / 499.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1125, allocations: 11.92 kB / 499.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1126, allocations: 160.6 kB / 499.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1126, allocations: 0 / 499.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.1129, allocations: 39.98 kB / 499.3 MB, free: 1.98 MB / 378.7 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 (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.0007905/0.1137, allocations: 406.6 kB / 499.7 MB, free: 1.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.1143, allocations: 247.2 kB / 500 MB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1143, allocations: 0 / 500 MB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.1145, allocations: 88.05 kB / 0.4883 GB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1149, allocations: 51.33 kB / 0.4884 GB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.1155, allocations: 379.7 kB / 0.4887 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1158, allocations: 0.7283 MB / 0.4895 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.1158, allocations: 15.44 kB / 0.4895 GB, free: 60 kB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.1158, allocations: 0 / 0.4895 GB, free: 60 kB / 378.7 MB Notification: Performance of Templates: time 0.1527/0.2685, allocations: 2.754 MB / 0.4922 GB, free: 42.55 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)