Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test11",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.009767/0.009771, allocations: 177.5 kB / 15.13 MB, free: 5.949 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.97/1.97, 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.002525/0.002525, allocations: 108.2 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.2798/0.2798, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004555, allocations: 14.16 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09764, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002211/0.0999, allocations: 1.526 MB / 462.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1013, allocations: 0.7422 MB / 463.4 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.1014, allocations: 3.938 kB / 463.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.1017, allocations: 31.91 kB / 463.5 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1019, allocations: 27.84 kB / 463.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1021, allocations: 67.86 kB / 463.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1023, allocations: 111.6 kB / 463.7 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1024, allocations: 25.44 kB / 463.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.1025, allocations: 51.77 kB / 463.8 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1027, allocations: 35.78 kB / 463.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1027, allocations: 4 kB / 463.8 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1028, allocations: 32 kB / 463.8 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.1029, allocations: 19.91 kB / 463.8 MB, free: 496 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.103, allocations: 45.64 kB / 463.9 MB, free: 444 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1031, allocations: 95.84 kB / 464 MB, free: 348 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1032, allocations: 0 / 464 MB, free: 348 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1032, allocations: 4 kB / 464 MB, free: 344 kB / 298.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1032, allocations: 0 / 464 MB, free: 344 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000676/0.1039, allocations: 0.4998 MB / 464.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1039, allocations: 12.03 kB / 464.5 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.104, allocations: 34.56 kB / 464.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.1041, allocations: 15.81 kB / 464.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1044, allocations: 207.6 kB / 464.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1044, allocations: 11.94 kB / 464.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.1044, allocations: 12 kB / 464.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1048, allocations: 88.83 kB / 464.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1048, allocations: 0 / 464.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.1048, allocations: 7.953 kB / 464.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1048, allocations: 4 kB / 464.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.1051, allocations: 43.97 kB / 464.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.1057, allocations: 348.6 kB / 465.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.1062, allocations: 98.61 kB / 465.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1064, allocations: 48.81 kB / 465.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1064, allocations: 0 / 465.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.1068, allocations: 87.31 kB / 465.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.235e-06/0.1068, allocations: 0 / 465.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006193/0.1074, allocations: 153.4 kB / 465.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1075, allocations: 51.41 kB / 465.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1077, allocations: 172.5 kB / 465.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.1078, allocations: 29.7 kB / 465.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.044e-05/0.1079, allocations: 112 kB / 466 MB, free: 14.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.1079, allocations: 19.72 kB / 466 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.1079, allocations: 4 kB / 466 MB, free: 14.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1081, allocations: 326.8 kB / 466.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.1083, allocations: 39.97 kB / 466.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1085, allocations: 58.55 kB / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.1087, allocations: 77.69 kB / 466.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1088, allocations: 0 / 466.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005419/0.1093, allocations: 191.1 kB / 466.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.1094, allocations: 35.11 kB / 466.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1094, allocations: 4.469 kB / 466.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1094, allocations: 0 / 466.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.1096, allocations: 24.05 kB / 466.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.1096, allocations: 4 kB / 466.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1098, allocations: 23.83 kB / 466.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1098, allocations: 7.938 kB / 466.8 MB, free: 13.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001504/0.11, allocations: 125.8 kB / 466.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.11, allocations: 11.86 kB / 466.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.1101, allocations: 21.38 kB / 466.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1101, allocations: 4 kB / 466.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1101, allocations: 4 kB / 466.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1101, allocations: 0 / 466.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1104, allocations: 209.4 kB / 467.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1104, allocations: 4 kB / 467.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.1105, allocations: 12 kB / 467.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1106, allocations: 3.953 kB / 467.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.1106, allocations: 4 kB / 467.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1106, allocations: 0 / 467.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1106, allocations: 0 / 467.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.1112, allocations: 184.9 kB / 467.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.1114, allocations: 100.9 kB / 467.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.1114, allocations: 3.953 kB / 467.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.1115, allocations: 15.98 kB / 467.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1116, allocations: 4.062 kB / 467.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.1116, allocations: 8 kB / 467.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.1118, allocations: 132.9 kB / 467.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1118, allocations: 0 / 467.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.1122, allocations: 28 kB / 467.6 MB, free: 12.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00192/0.1141, allocations: 0.9933 MB / 468.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005285/0.1146, allocations: 171.3 kB / 468.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1147, allocations: 0 / 468.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.1149, allocations: 39.92 kB / 468.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1153, allocations: 36.19 kB / 468.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1172, allocations: 0.8183 MB / 469.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1176, allocations: 0.7197 MB / 470.4 MB, free: 9.504 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1178, allocations: 12.55 kB / 470.4 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.1179, allocations: 35.42 kB / 470.5 MB, free: 9.457 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1179, allocations: 0 / 470.5 MB, free: 9.457 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.1408, allocations: 3.087 MB / 473.6 MB, free: 6.398 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.1411, allocations: 239.7 kB / 473.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/2.757, allocations: 0 / 473.8 MB, free: 6.09 MB / 314.7 MB