Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 99.7 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.001397/0.001397, allocations: 177.3 kB / 15.95 MB, free: 216 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.286/1.286, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.292/0.292, allocations: 40.01 MB / 310.4 MB, free: 9.926 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.0004964/0.0004965, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09908, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001974/0.1011, allocations: 1.343 MB / 438.1 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1022, allocations: 0.7227 MB / 438.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.1023, allocations: 4 kB / 438.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1027, allocations: 27.84 kB / 438.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.1029, allocations: 51.86 kB / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1032, allocations: 67.78 kB / 439 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1034, allocations: 59.86 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.88e-05/0.1035, allocations: 11.98 kB / 439.1 MB, free: 296 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1036, allocations: 43.83 kB / 439.1 MB, free: 252 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1037, allocations: 27.86 kB / 439.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1037, allocations: 0 / 439.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1038, allocations: 20 kB / 439.1 MB, free: 204 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.1039, allocations: 23.89 kB / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.1039, allocations: 45.64 kB / 439.2 MB, free: 128 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1041, allocations: 84.05 kB / 439.3 MB, free: 44 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1041, allocations: 0 / 439.3 MB, free: 44 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1041, allocations: 4 kB / 439.3 MB, free: 40 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1042, allocations: 0 / 439.3 MB, free: 40 kB / 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.000655/0.1048, allocations: 422.7 kB / 439.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1049, allocations: 12.03 kB / 439.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1049, allocations: 15.81 kB / 439.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1052, allocations: 206.8 kB / 439.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1052, allocations: 7.938 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1052, allocations: 0 / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1054, allocations: 53.67 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1054, allocations: 0 / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1054, allocations: 0 / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1054, allocations: 3.953 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.1055, allocations: 15.98 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.1057, allocations: 185.7 kB / 440.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1059, allocations: 54.55 kB / 440.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1059, allocations: 11.94 kB / 440.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.1061, allocations: 67.39 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1061, allocations: 0 / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002672/0.1064, allocations: 93.52 kB / 440.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.1064, allocations: 59.36 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1067, allocations: 254.5 kB / 440.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1067, allocations: 29.7 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.1068, allocations: 112.1 kB / 440.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.1068, allocations: 23.78 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.1068, allocations: 0 / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.1069, allocations: 326.8 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.107, allocations: 12 kB / 441.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.107, allocations: 25.7 kB / 441.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.1071, allocations: 27.98 kB / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1071, allocations: 0 / 441.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001456/0.1072, allocations: 85.42 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1073, allocations: 8 kB / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1073, allocations: 0 / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1073, allocations: 0 / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.1074, allocations: 8 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1074, allocations: 4 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.1074, allocations: 11.88 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1075, allocations: 4 kB / 441.4 MB, free: 13.71 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 (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.000106/0.1076, allocations: 141.8 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1076, allocations: 11.81 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.1076, allocations: 17 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1077, allocations: 3.984 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1077, allocations: 0 / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1077, allocations: 0 / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1078, allocations: 189.9 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1078, allocations: 7.984 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.1078, allocations: 4 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.1079, allocations: 8 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1079, allocations: 7.938 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1079, allocations: 0 / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1079, allocations: 0 / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.1081, allocations: 116.8 kB / 441.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.1081, allocations: 89.02 kB / 442 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1081, allocations: 4 kB / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.1082, allocations: 7.984 kB / 442 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1082, allocations: 4 kB / 442 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1083, allocations: 0 / 442 MB, free: 13.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1084, allocations: 208 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1084, allocations: 0 / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.1086, allocations: 12 kB / 442.2 MB, free: 12.8 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.00086/0.1095, allocations: 417 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1097, allocations: 43.92 kB / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1097, allocations: 0 / 442.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.1097, allocations: 19.98 kB / 442.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.11, allocations: 27.94 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.1104, allocations: 277.8 kB / 443 MB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1106, allocations: 0.7082 MB / 443.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1107, allocations: 16.41 kB / 443.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1107, allocations: 19.44 kB / 443.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1108, allocations: 0 / 443.7 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Templates: time 0.003838/0.1146, allocations: 1.411 MB / 445.1 MB, free: 9.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) Environment - environmentSimulation: