Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 100.2 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.001067/0.001067, 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.297/1.297, 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.2765/0.2765, allocations: 40 MB / 310.4 MB, free: 9.98 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.0005833/0.0005835, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09854, allocations: 57.95 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001869/0.1005, allocations: 1.378 MB / 438.1 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1016, allocations: 0.7421 MB / 438.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1017, allocations: 4 kB / 438.9 MB, free: 472 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.102, allocations: 31.84 kB / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1022, allocations: 43.88 kB / 439 MB, free: 396 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1025, allocations: 71.78 kB / 439 MB, free: 324 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1027, allocations: 59.86 kB / 439.1 MB, free: 264 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.1028, allocations: 16.2 kB / 439.1 MB, free: 248 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.1029, allocations: 43.83 kB / 439.2 MB, free: 204 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.103, allocations: 23.86 kB / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.103, allocations: 0 / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.1031, allocations: 31.92 kB / 439.2 MB, free: 148 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.1031, allocations: 19.92 kB / 439.2 MB, free: 128 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1032, allocations: 37.64 kB / 439.3 MB, free: 84 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1033, allocations: 80.09 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1033, allocations: 0 / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1033, allocations: 0 / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1034, allocations: 0 / 439.3 MB, free: 4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004967/0.1039, allocations: 402.9 kB / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1039, allocations: 8.031 kB / 439.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.1039, allocations: 15.8 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1042, allocations: 202.9 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1042, allocations: 0 / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1042, allocations: 4 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1044, allocations: 57.61 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1044, allocations: 0 / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1044, allocations: 3.984 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1044, allocations: 3.953 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.1045, allocations: 23.98 kB / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.1048, allocations: 273 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.105, allocations: 62.61 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.105, allocations: 0 / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.1052, allocations: 71.47 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1052, allocations: 4 kB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004923/0.1057, allocations: 165.2 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1058, allocations: 55.41 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1059, allocations: 174.2 kB / 440.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1059, allocations: 29.7 kB / 440.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.106, allocations: 92.14 kB / 441 MB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.106, allocations: 31.64 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1061, allocations: 4 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1062, allocations: 322.8 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.1062, allocations: 20 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.1063, allocations: 37.64 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.646e-05/0.1064, allocations: 27.97 kB / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1064, allocations: 0 / 441.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.1065, allocations: 97.53 kB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1066, allocations: 11.95 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1066, allocations: 0 / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1066, allocations: 3.938 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1067, allocations: 15.98 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1067, allocations: 4 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.1068, allocations: 4 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1068, allocations: 4 kB / 441.5 MB, free: 13.59 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 (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 9.603e-05/0.1069, allocations: 125.9 kB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.1069, allocations: 11.81 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.107, allocations: 20.67 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.107, allocations: 4 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.107, allocations: 384 / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.107, allocations: 3.984 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1074, allocations: 387.3 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1074, allocations: 4 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1075, allocations: 15.97 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1075, allocations: 0 / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1075, allocations: 8 kB / 442.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1075, allocations: 0 / 442.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1075, allocations: 0 / 442.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1077, allocations: 210.2 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1078, allocations: 104.9 kB / 442.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1078, allocations: 0 / 442.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1079, allocations: 4 kB / 442.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1079, allocations: 11.98 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1079, allocations: 4.188 kB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.108, allocations: 131.9 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.108, allocations: 3.938 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1083, allocations: 31.98 kB / 442.6 MB, free: 12.42 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.001024/0.1093, allocations: 464.7 kB / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.1095, allocations: 59.91 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1095, allocations: 0 / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.1096, allocations: 32.05 kB / 443.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.1099, allocations: 27.92 kB / 443.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.1103, allocations: 234 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1106, allocations: 0.7004 MB / 444.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.1107, allocations: 17.17 kB / 444.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1107, allocations: 15.44 kB / 444.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1107, allocations: 0 / 444.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of Templates: time 0.003888/0.1146, allocations: 1.579 MB / 445.7 MB, free: 9.273 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: