Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.00077/0.0007702, allocations: 172.7 kB / 15.95 MB, free: 208 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.322/1.322, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.2714/0.2714, allocations: 38.04 MB / 308.4 MB, free: 10.47 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.0005454/0.0005455, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09915, allocations: 57.53 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002062/0.1013, allocations: 1.37 MB / 435.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1026, allocations: 0.746 MB / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1027, allocations: 0 / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1031, allocations: 59.8 kB / 436.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1033, allocations: 47.81 kB / 436.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.1036, allocations: 75.78 kB / 436.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1038, allocations: 75.77 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.1039, allocations: 20.2 kB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.201e-05/0.104, allocations: 39.8 kB / 436.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.1041, allocations: 35.83 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1041, allocations: 0 / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-05/0.1042, allocations: 39.94 kB / 436.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.1043, allocations: 27.89 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.1043, allocations: 45.58 kB / 436.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1045, allocations: 92.09 kB / 436.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1045, allocations: 0 / 436.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1045, allocations: 3.938 kB / 436.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1045, allocations: 4 kB / 436.6 MB, free: 2.852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000543/0.1051, allocations: 422.7 kB / 437 MB, free: 2.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1051, allocations: 8.031 kB / 437.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.1052, allocations: 19.86 kB / 437.1 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1054, allocations: 206.7 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1055, allocations: 8 kB / 437.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1055, allocations: 0 / 437.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1056, allocations: 57.67 kB / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1056, allocations: 3.938 kB / 437.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1057, allocations: 4 kB / 437.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1057, allocations: 0 / 437.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.1057, allocations: 19.94 kB / 437.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1061, allocations: 296.9 kB / 437.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1062, allocations: 58.62 kB / 437.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.1063, allocations: 20.84 kB / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1063, allocations: 0 / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1065, allocations: 63.39 kB / 437.8 MB, free: 1.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1065, allocations: 0 / 437.8 MB, free: 1.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004812/0.107, allocations: 196.9 kB / 438 MB, free: 1.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.107, allocations: 55.41 kB / 438 MB, free: 1.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1073, allocations: 258.5 kB / 438.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1073, allocations: 25.7 kB / 438.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.1074, allocations: 112.1 kB / 438.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1074, allocations: 27.64 kB / 438.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.1074, allocations: 7.938 kB / 438.5 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1075, allocations: 322.8 kB / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.1076, allocations: 23.98 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1077, allocations: 37.7 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.193e-05/0.1077, allocations: 20 kB / 438.9 MB, free: 404 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1077, allocations: 4 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001633/0.1079, allocations: 105.4 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1079, allocations: 11.94 kB / 439 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.108, allocations: 4 kB / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.108, allocations: 0 / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.1081, allocations: 12 kB / 439 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1081, allocations: 4.219 kB / 439 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.1081, allocations: 7.984 kB / 439 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1081, allocations: 7.938 kB / 439 MB, free: 240 kB / 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 (10): * Single equations (assignments): 10 * 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.000125/0.1083, allocations: 138.8 kB / 439.1 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.1083, allocations: 11.81 kB / 439.2 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.1084, allocations: 25.36 kB / 439.2 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1084, allocations: 4 kB / 439.2 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1084, allocations: 384 / 439.2 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1084, allocations: 11.97 kB / 439.2 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1088, allocations: 399.3 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.1089, allocations: 7.953 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.1089, allocations: 11.98 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1089, allocations: 0 / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1089, allocations: 4 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1089, allocations: 4 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1089, allocations: 0 / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.1091, allocations: 200.2 kB / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1092, allocations: 104.8 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1092, allocations: 4 kB / 439.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.1093, allocations: 0 / 439.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1093, allocations: 7.984 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1094, allocations: 8 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1095, allocations: 200 kB / 440.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1095, allocations: 0 / 440.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1098, allocations: 27.98 kB / 440.2 MB, free: 14.98 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 (8): * Single equations (assignments): 6 * 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.0009169/0.1107, allocations: 464.7 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1109, allocations: 55.92 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1109, allocations: 0 / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.1109, allocations: 31.92 kB / 440.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1112, allocations: 23.97 kB / 440.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.1117, allocations: 303 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.112, allocations: 0.716 MB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.112, allocations: 12.88 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.1121, allocations: 19.42 kB / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1121, allocations: 0 / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.00381/0.1159, allocations: 1.63 MB / 443.4 MB, free: 11.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: