Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009382/0.009386, allocations: 174.7 kB / 15.13 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.984/1.984, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002406/0.002406, allocations: 124 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2723/0.2723, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004739, allocations: 12.56 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09899, allocations: 54.87 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001986/0.101, allocations: 1.369 MB / 462.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1024, allocations: 0.7189 MB / 463.2 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.1025, allocations: 0 / 463.2 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1028, allocations: 31.89 kB / 463.3 MB, free: 1.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1029, allocations: 31.84 kB / 463.3 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1031, allocations: 51.89 kB / 463.4 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1033, allocations: 83.77 kB / 463.4 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.1034, allocations: 15.97 kB / 463.4 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.1035, allocations: 35.78 kB / 463.5 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.1036, allocations: 27.86 kB / 463.5 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1036, allocations: 0 / 463.5 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1037, allocations: 39.98 kB / 463.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.1038, allocations: 19.91 kB / 463.6 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.1038, allocations: 29.7 kB / 463.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.104, allocations: 79.83 kB / 463.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.104, allocations: 4 kB / 463.7 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.104, allocations: 0 / 463.7 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1041, allocations: 0 / 463.7 MB, free: 0.6211 MB / 298.7 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.0004666/0.1045, allocations: 442.4 kB / 464.1 MB, free: 132 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1046, allocations: 12.03 kB / 464.1 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1046, allocations: 34.5 kB / 464.2 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1047, allocations: 7.906 kB / 464.2 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.105, allocations: 205.6 kB / 464.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.105, allocations: 4 kB / 464.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1051, allocations: 8 kB / 464.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1053, allocations: 61.62 kB / 464.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1053, allocations: 0 / 464.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1053, allocations: 0 / 464.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1053, allocations: 0 / 464.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1055, allocations: 27.92 kB / 464.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.1059, allocations: 284.9 kB / 464.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.1062, allocations: 58.64 kB / 464.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.1063, allocations: 24.84 kB / 464.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1063, allocations: 3.938 kB / 464.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1066, allocations: 75.23 kB / 464.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1066, allocations: 0 / 464.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007598/0.1073, allocations: 177.2 kB / 465.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1074, allocations: 55.34 kB / 465.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1076, allocations: 166.2 kB / 465.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1076, allocations: 25.7 kB / 465.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.1077, allocations: 104 kB / 465.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.1078, allocations: 23.66 kB / 465.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.1078, allocations: 4 kB / 465.4 MB, free: 14.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.108, allocations: 322.8 kB / 465.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1081, allocations: 31.98 kB / 465.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1082, allocations: 49.5 kB / 465.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1084, allocations: 69.56 kB / 465.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1084, allocations: 3.953 kB / 465.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003936/0.1088, allocations: 155.2 kB / 466.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.1089, allocations: 43.25 kB / 466.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1089, allocations: 4.031 kB / 466.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1089, allocations: 0 / 466.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1091, allocations: 12 kB / 466.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1091, allocations: 7.938 kB / 466.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.1092, allocations: 7.984 kB / 466.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1092, allocations: 4 kB / 466.1 MB, free: 13.9 MB / 314.7 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001333/0.1094, allocations: 121.8 kB / 466.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1094, allocations: 15.77 kB / 466.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.1095, allocations: 16.7 kB / 466.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1095, allocations: 4 kB / 466.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1095, allocations: 0 / 466.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1095, allocations: 0 / 466.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.1102, allocations: 383.3 kB / 466.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.1102, allocations: 8.359 kB / 466.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.1103, allocations: 7.984 kB / 466.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1103, allocations: 4 kB / 466.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1103, allocations: 11.94 kB / 466.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1103, allocations: 4.031 kB / 466.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.1103, allocations: 4 kB / 466.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.1107, allocations: 204.2 kB / 466.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.1108, allocations: 89 kB / 467 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1108, allocations: 4 kB / 467 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1109, allocations: 7.984 kB / 467 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.111, allocations: 8 kB / 467 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.111, allocations: 4 kB / 467 MB, free: 12.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1112, allocations: 115.8 kB / 467.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1112, allocations: 0 / 467.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.1116, allocations: 31.98 kB / 467.2 MB, free: 12.77 MB / 314.7 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.00178/0.1133, allocations: 1.057 MB / 468.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.1138, allocations: 163.2 kB / 468.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1138, allocations: 0 / 468.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1139, allocations: 27.94 kB / 468.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1144, allocations: 19.98 kB / 468.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.116, allocations: 0.6664 MB / 469.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1164, allocations: 0.7004 MB / 469.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.1165, allocations: 12.42 kB / 469.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.1166, allocations: 27.44 kB / 469.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.542e-06/0.1166, allocations: 0 / 469.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.1393, allocations: 2.785 MB / 472.6 MB, free: 7.316 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003756/0.1397, allocations: 242.5 kB / 472.9 MB, free: 7.035 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.549, allocations: 0 / 472.9 MB, free: 7.035 MB / 314.7 MB