Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009122, allocations: 103.3 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.0009877/0.0009878, allocations: 173.3 kB / 15.95 MB, free: 212 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.298/1.298, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.2819/0.2819, allocations: 40 MB / 310.4 MB, free: 9.965 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.0005283/0.0005284, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.103, allocations: 57.96 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001901/0.1049, allocations: 1.378 MB / 438.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1066, allocations: 1.309 MB / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.1067, allocations: 0 / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1069, allocations: 31.89 kB / 439.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1071, allocations: 51.81 kB / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1073, allocations: 71.78 kB / 439.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1074, allocations: 63.84 kB / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.1075, allocations: 16.2 kB / 439.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.1076, allocations: 35.84 kB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1077, allocations: 23.86 kB / 439.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1077, allocations: 4 kB / 439.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.1078, allocations: 39.97 kB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.1079, allocations: 19.86 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.1079, allocations: 37.64 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1081, allocations: 92.08 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1081, allocations: 0 / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1081, allocations: 0 / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1081, allocations: 0 / 439.9 MB, free: 15.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000444/0.1086, allocations: 402.9 kB / 440.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1086, allocations: 12.03 kB / 440.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.1086, allocations: 7.906 kB / 440.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1089, allocations: 202.9 kB / 440.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1089, allocations: 0 / 440.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1089, allocations: 4 kB / 440.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1091, allocations: 75.31 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1091, allocations: 3.953 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1091, allocations: 0 / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1091, allocations: 0 / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.446e-05/0.1092, allocations: 19.98 kB / 440.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.1095, allocations: 280.9 kB / 440.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1097, allocations: 58.62 kB / 441 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1097, allocations: 3.953 kB / 441 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1098, allocations: 71.52 kB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1099, allocations: 0 / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004885/0.1104, allocations: 169.1 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1104, allocations: 81.11 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1106, allocations: 149.8 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1106, allocations: 29.7 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.1106, allocations: 92.14 kB / 441.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1107, allocations: 27.64 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.1107, allocations: 4 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1108, allocations: 322.8 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.1108, allocations: 19.98 kB / 441.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.1109, allocations: 42.5 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.111, allocations: 31.95 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.111, allocations: 0 / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001644/0.1112, allocations: 101.5 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1112, allocations: 4 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1112, allocations: 3.984 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1112, allocations: 4 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.1113, allocations: 12 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1113, allocations: 384 / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1114, allocations: 11.94 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1114, allocations: 0 / 442.1 MB, free: 12.96 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 8.975e-05/0.1115, allocations: 126 kB / 442.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.1115, allocations: 15.94 kB / 442.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.1115, allocations: 16.66 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1116, allocations: 0 / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1116, allocations: 7.938 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1116, allocations: 3.984 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.112, allocations: 383.3 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.112, allocations: 4 kB / 442.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.112, allocations: 7.969 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.112, allocations: 8 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.112, allocations: 3.984 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1121, allocations: 0 / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1121, allocations: 7.984 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1123, allocations: 209.9 kB / 442.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1123, allocations: 93.02 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1124, allocations: 7.984 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1124, allocations: 0 / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.1125, allocations: 7.938 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1125, allocations: 11.98 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.906e-05/0.1126, allocations: 118.7 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1126, allocations: 0 / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1129, allocations: 31.98 kB / 443.2 MB, free: 11.81 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.001015/0.1139, allocations: 0.4966 MB / 443.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1141, allocations: 71.89 kB / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1141, allocations: 0 / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.1142, allocations: 27.98 kB / 443.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1144, allocations: 19.98 kB / 443.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1148, allocations: 214 kB / 444 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.115, allocations: 0.7004 MB / 444.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.526e-05/0.1151, allocations: 17.17 kB / 444.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1152, allocations: 23.44 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1152, allocations: 4 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Templates: time 0.004305/0.1195, allocations: 1.826 MB / 446.6 MB, free: 8.387 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) Environment - environmentSimulation: