Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007532/0.0007532, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008933/0.0008933, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.278/0.278, allocations: 38.04 MB / 308.4 MB, free: 10.45 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.0005496, allocations: 20 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1039, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001886/0.1058, allocations: 1.327 MB / 435.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1069, allocations: 0.7304 MB / 436 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.1069, allocations: 0 / 436 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.1072, allocations: 83.77 kB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1074, allocations: 67.78 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1076, allocations: 59.92 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1078, allocations: 91.67 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1078, allocations: 7.984 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.1079, allocations: 47.72 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.108, allocations: 59.75 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.108, allocations: 0 / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.1081, allocations: 16 kB / 436.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.1081, allocations: 19.92 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.1082, allocations: 41.64 kB / 436.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1083, allocations: 80.09 kB / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1083, allocations: 0 / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1083, allocations: 0 / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1084, allocations: 0 / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004442/0.1088, allocations: 398.9 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1088, allocations: 12.03 kB / 437 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1089, allocations: 11.86 kB / 437 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1091, allocations: 211.5 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1091, allocations: 3.938 kB / 437.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1091, allocations: 0 / 437.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1093, allocations: 49.67 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1093, allocations: 0 / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1093, allocations: 0 / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1093, allocations: 4 kB / 437.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.1094, allocations: 19.94 kB / 437.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.1096, allocations: 181.7 kB / 437.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1097, allocations: 58.55 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.1098, allocations: 20.84 kB / 437.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1098, allocations: 0 / 437.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.1099, allocations: 67.39 kB / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.11, allocations: 0 / 437.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002352/0.1102, allocations: 105.4 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1102, allocations: 51.41 kB / 437.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1104, allocations: 214.3 kB / 438 MB, free: 1.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1105, allocations: 29.7 kB / 438 MB, free: 1.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1105, allocations: 104.1 kB / 438.1 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1105, allocations: 19.75 kB / 438.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1106, allocations: 0 / 438.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1107, allocations: 326.8 kB / 438.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.1107, allocations: 15.98 kB / 438.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.1108, allocations: 25.7 kB / 438.5 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.1108, allocations: 12 kB / 438.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1108, allocations: 4 kB / 438.5 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001296/0.111, allocations: 85.53 kB / 438.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.111, allocations: 4 kB / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.111, allocations: 0 / 438.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.111, allocations: 4 kB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.1111, allocations: 15.92 kB / 438.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1111, allocations: 0 / 438.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.1112, allocations: 7.953 kB / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1112, allocations: 0 / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001052/0.1113, allocations: 134.8 kB / 438.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.1113, allocations: 11.81 kB / 438.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.1113, allocations: 20.98 kB / 438.8 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1114, allocations: 3.938 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1114, allocations: 0 / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1114, allocations: 0 / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.1115, allocations: 185.6 kB / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1115, allocations: 0 / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.1115, allocations: 4 kB / 439 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1115, allocations: 3.984 kB / 439 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1115, allocations: 12 kB / 439 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1116, allocations: 0 / 439 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1116, allocations: 0 / 439 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.1117, allocations: 109.3 kB / 439.1 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.1118, allocations: 92.92 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1118, allocations: 3.938 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.1119, allocations: 7.984 kB / 439.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.1119, allocations: 4 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.1119, allocations: 4 kB / 439.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.112, allocations: 156.2 kB / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.112, allocations: 0 / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.1122, allocations: 19.98 kB / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008107/0.1131, allocations: 415.6 kB / 439.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1132, allocations: 43.98 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1132, allocations: 4.062 kB / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.1133, allocations: 19.94 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1135, allocations: 35.72 kB / 439.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.1139, allocations: 229.1 kB / 440.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1141, allocations: 0.7043 MB / 440.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.1142, allocations: 16.53 kB / 440.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.1142, allocations: 11.44 kB / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1142, allocations: 0 / 440.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Templates: time 0.003424/0.1176, allocations: 1.399 MB / 442.2 MB, free: 12.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) Environment - environmentSimulation: