Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007338/0.0007339, allocations: 84.38 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.0007696/0.0007697, 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.3/1.3, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2745/0.2745, allocations: 38.03 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.0005167/0.0005168, allocations: 16 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1087, allocations: 57.53 MB / 434 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002234/0.1109, allocations: 1.362 MB / 435.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1123, allocations: 0.7459 MB / 436.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1125, allocations: 3.938 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1128, allocations: 87.81 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1131, allocations: 71.73 kB / 436.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1134, allocations: 75.83 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1136, allocations: 83.75 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1137, allocations: 16.22 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1138, allocations: 47.77 kB / 436.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1139, allocations: 47.81 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1139, allocations: 8 kB / 436.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1141, allocations: 39.98 kB / 436.6 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.1141, allocations: 19.86 kB / 436.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1142, allocations: 37.7 kB / 436.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1144, allocations: 92.02 kB / 436.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1144, allocations: 0 / 436.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1144, allocations: 0 / 436.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1144, allocations: 0 / 436.7 MB, free: 2.781 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.0005596/0.115, allocations: 406.8 kB / 437.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.115, allocations: 16.03 kB / 437.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.1151, allocations: 11.86 kB / 437.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1153, allocations: 214.8 kB / 437.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1153, allocations: 8 kB / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1154, allocations: 0 / 437.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1155, allocations: 53.67 kB / 437.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1155, allocations: 3.938 kB / 437.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1155, allocations: 0 / 437.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1156, allocations: 4 kB / 437.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.1156, allocations: 23.94 kB / 437.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.116, allocations: 288.9 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1162, allocations: 58.61 kB / 437.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1162, allocations: 20.84 kB / 437.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1163, allocations: 4 kB / 437.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.1164, allocations: 71.38 kB / 437.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1164, allocations: 0 / 437.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.117, allocations: 177.1 kB / 438 MB, free: 1.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.117, allocations: 51.41 kB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1172, allocations: 218.7 kB / 438.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1172, allocations: 25.7 kB / 438.3 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.1173, allocations: 112.1 kB / 438.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1174, allocations: 31.62 kB / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.1174, allocations: 7.938 kB / 438.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1175, allocations: 322.8 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.1176, allocations: 23.98 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.1176, allocations: 33.7 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.1177, allocations: 23.94 kB / 438.9 MB, free: 400 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1177, allocations: 4 kB / 438.9 MB, free: 396 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1179, allocations: 97.5 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.118, allocations: 7.953 kB / 439 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.118, allocations: 0 / 439 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.118, allocations: 3.938 kB / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.1181, allocations: 27.92 kB / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1181, allocations: 0 / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1181, allocations: 0 / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1182, allocations: 4 kB / 439 MB, free: 248 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.0001222/0.1183, allocations: 134.9 kB / 439.1 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.1183, allocations: 11.91 kB / 439.2 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.1184, allocations: 21.34 kB / 439.2 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1184, allocations: 4 kB / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1184, allocations: 0 / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1184, allocations: 0 / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1189, allocations: 399.6 kB / 439.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1189, allocations: 7.984 kB / 439.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1189, allocations: 15.98 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1189, allocations: 0 / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.119, allocations: 4 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.119, allocations: 3.938 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.119, allocations: 0 / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1192, allocations: 200.3 kB / 439.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.1193, allocations: 100.9 kB / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1193, allocations: 4 kB / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1194, allocations: 0 / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1194, allocations: 7.984 kB / 439.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1194, allocations: 4 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1196, allocations: 168.3 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1196, allocations: 0 / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1198, allocations: 27.98 kB / 440.1 MB, free: 15.04 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.0009431/0.1208, allocations: 473 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.121, allocations: 55.95 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.121, allocations: 4.062 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.1211, allocations: 31.94 kB / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1214, allocations: 24.16 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.1219, allocations: 274.4 kB / 440.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1222, allocations: 0.7043 MB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.1223, allocations: 13.19 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.1223, allocations: 19.44 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1223, allocations: 4 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of Templates: time 0.004181/0.1265, allocations: 1.609 MB / 443.3 MB, free: 11.81 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) Environment - environmentSimulation: