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.001066/0.001066, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001024/0.001024, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1827/0.1827, allocations: 43.54 MB / 314.1 MB, free: 452 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.001401/0.001401, allocations: 64.28 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09494/0.09635, allocations: 57.8 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003457/0.09985, allocations: 1.998 MB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1013, allocations: 0.8973 MB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1015, allocations: 3.938 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.1018, allocations: 51.69 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1021, allocations: 67.56 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.1025, allocations: 123.7 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.1027, allocations: 203.4 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1029, allocations: 37.59 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1031, allocations: 79.64 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1032, allocations: 75.67 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.1032, allocations: 15.94 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1033, allocations: 47.98 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.1034, allocations: 39.83 kB / 0.4915 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.1035, allocations: 75.59 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1038, allocations: 195.3 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1038, allocations: 0 / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1038, allocations: 4 kB / 0.4917 GB, free: 7.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1038, allocations: 0 / 0.4917 GB, free: 7.816 MB / 382.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.000908/0.1047, allocations: 0.5488 MB / 0.4923 GB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1048, allocations: 15.83 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.1049, allocations: 28.73 kB / 0.4923 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.1052, allocations: 244.8 kB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1052, allocations: 8.281 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.1052, allocations: 20.11 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.1057, allocations: 150.8 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1057, allocations: 0 / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1057, allocations: 4 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1057, allocations: 0 / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.1062, allocations: 111.8 kB / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.1068, allocations: 0.5438 MB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.1074, allocations: 158.6 kB / 0.4935 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1077, allocations: 72.8 kB / 0.4936 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1077, allocations: 4 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.1081, allocations: 135.2 kB / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.1081, allocations: 0 / 0.4937 GB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008228/0.1089, allocations: 261.2 kB / 0.494 GB, free: 5.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1089, allocations: 59.34 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1091, allocations: 223.1 kB / 0.4942 GB, free: 5.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1092, allocations: 37.69 kB / 0.4943 GB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.1093, allocations: 132.3 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1093, allocations: 31.55 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.1094, allocations: 33.72 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1095, allocations: 334.8 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.1097, allocations: 67.94 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.11, allocations: 107.7 kB / 0.495 GB, free: 4.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.1105, allocations: 193.8 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1105, allocations: 0 / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006153/0.1112, allocations: 254.8 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.1112, allocations: 37.69 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1112, allocations: 0 / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1112, allocations: 7.984 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.1114, allocations: 35.91 kB / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1114, allocations: 0 / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1116, allocations: 40 kB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1116, allocations: 7.938 kB / 0.4955 GB, free: 3.664 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: 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.0001046/0.1117, allocations: 137.7 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1118, allocations: 19.8 kB / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.1118, allocations: 21.41 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1118, allocations: 3.938 kB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1119, allocations: 0 / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1119, allocations: 3.984 kB / 0.4957 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1121, allocations: 229.6 kB / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1121, allocations: 4 kB / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1122, allocations: 23.97 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1122, allocations: 0 / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1123, allocations: 11.94 kB / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1123, allocations: 3.938 kB / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1123, allocations: 0 / 0.4959 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.1131, allocations: 304.6 kB / 0.4962 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1131, allocations: 88.95 kB / 0.4963 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.1132, allocations: 11.98 kB / 0.4963 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1134, allocations: 19.91 kB / 0.4963 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.1134, allocations: 20.05 kB / 0.4964 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1134, allocations: 4 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1136, allocations: 168.6 kB / 0.4965 GB, free: 2.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 0 / 0.4965 GB, free: 2.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1138, allocations: 40 kB / 0.4966 GB, free: 2.465 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: 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.0008536/0.1147, allocations: 421.6 kB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.1153, allocations: 219.2 kB / 0.4972 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1153, allocations: 0 / 0.4972 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.1156, allocations: 79.88 kB / 0.4973 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1159, allocations: 48.06 kB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.1165, allocations: 312.3 kB / 0.4976 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1168, allocations: 0.724 MB / 0.4983 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.1169, allocations: 29.52 kB / 0.4983 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.1169, allocations: 19.44 kB / 0.4984 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.117, allocations: 3.938 kB / 0.4984 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of Templates: time 0.005417/0.1224, allocations: 2.818 MB / 0.5011 GB, free: 13.8 MB / 398.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)