Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001331/0.001331, allocations: 177.3 kB / 15.94 MB, free: 228 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2763/0.2763, allocations: 39.99 MB / 310.4 MB, free: 10.02 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.2. 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.0004905/0.0004906, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09865, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002009/0.1007, allocations: 1.378 MB / 438.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1024, allocations: 1.313 MB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1025, allocations: 4 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.1028, allocations: 23.91 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.103, allocations: 47.81 kB / 439.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1033, allocations: 83.77 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1035, allocations: 55.88 kB / 439.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.525e-05/0.1036, allocations: 20.19 kB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.1037, allocations: 35.86 kB / 439.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1038, allocations: 31.84 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1038, allocations: 4 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1039, allocations: 35.98 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.104, allocations: 23.91 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.104, allocations: 37.64 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1042, allocations: 100 kB / 440 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1042, allocations: 0 / 440 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1042, allocations: 0 / 440 MB, free: 15.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1042, allocations: 0 / 440 MB, free: 15.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004988/0.1047, allocations: 410.9 kB / 440.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1048, allocations: 8.031 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1048, allocations: 11.84 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1051, allocations: 207.4 kB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1051, allocations: 4 kB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1051, allocations: 0 / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1053, allocations: 75.38 kB / 440.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1053, allocations: 8 kB / 440.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1053, allocations: 3.984 kB / 440.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1054, allocations: 3.953 kB / 440.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.295e-05/0.1054, allocations: 27.98 kB / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1058, allocations: 296.7 kB / 441 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.106, allocations: 66.67 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.106, allocations: 8 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.1062, allocations: 75.41 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.1062, allocations: 3.984 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005342/0.1068, allocations: 189.4 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.1068, allocations: 81.09 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.107, allocations: 155 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.107, allocations: 29.7 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.1071, allocations: 104 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1071, allocations: 27.64 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.1071, allocations: 0 / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1072, allocations: 322.8 kB / 442 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.1073, allocations: 20 kB / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.1074, allocations: 54.48 kB / 442.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.1075, allocations: 35.97 kB / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1075, allocations: 0 / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001905/0.1077, allocations: 113.6 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1077, allocations: 4.094 kB / 442.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1077, allocations: 3.938 kB / 442.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1077, allocations: 4 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.1078, allocations: 12 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1078, allocations: 7.984 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.1079, allocations: 8.031 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1079, allocations: 4 kB / 442.3 MB, free: 12.77 MB / 382.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 (11): * Single equations (assignments): 11 * 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 8.646e-05/0.108, allocations: 121.8 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.108, allocations: 19.77 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.1081, allocations: 16.7 kB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1081, allocations: 4 kB / 442.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1081, allocations: 0 / 442.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1081, allocations: 0 / 442.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.1085, allocations: 411.3 kB / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1086, allocations: 0 / 442.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.1086, allocations: 15.98 kB / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1086, allocations: 0 / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1086, allocations: 0 / 442.9 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1086, allocations: 4 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1086, allocations: 0 / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1089, allocations: 234.5 kB / 443.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.1089, allocations: 81.02 kB / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.109, allocations: 12 kB / 443.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.1091, allocations: 7.984 kB / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.1091, allocations: 4 kB / 443.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1091, allocations: 11.98 kB / 443.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.1092, allocations: 120.5 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1092, allocations: 4 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1095, allocations: 32 kB / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001107/0.1106, allocations: 0.5166 MB / 443.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.1108, allocations: 63.92 kB / 443.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1108, allocations: 0 / 443.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.1109, allocations: 35.97 kB / 444 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.1112, allocations: 27.92 kB / 444 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/0.1116, allocations: 230 kB / 444.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1119, allocations: 0.7083 MB / 444.9 MB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.1121, allocations: 24.78 kB / 445 MB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1121, allocations: 23.36 kB / 445 MB, free: 9.938 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1121, allocations: 0 / 445 MB, free: 9.938 MB / 382.1 MB Notification: Performance of Templates: time 0.004426/0.1166, allocations: 1.905 MB / 446.9 MB, free: 8.035 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) Environment - environmentSimulation: