Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 76.66 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.002695/0.1095, allocations: 1.657 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.111, allocations: 1.183 MB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.111, allocations: 4 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.1112, allocations: 23.84 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1115, allocations: 83.61 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1118, allocations: 131.3 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1119, allocations: 75.77 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1121, allocations: 19.98 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.1121, allocations: 23.92 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1123, allocations: 43.72 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1123, allocations: 8 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1124, allocations: 99.86 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1125, allocations: 12 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.1125, allocations: 31.78 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1128, allocations: 151.9 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1128, allocations: 0 / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1128, allocations: 4 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.1128, allocations: 0 / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004998/0.1133, allocations: 419.1 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1134, allocations: 8.031 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.1134, allocations: 38.69 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.1135, allocations: 12.84 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1136, allocations: 198.4 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1137, allocations: 4.375 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1137, allocations: 8.375 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1139, allocations: 79.2 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1139, allocations: 0 / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1139, allocations: 4 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1139, allocations: 0 / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.114, allocations: 35.97 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1144, allocations: 296.8 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1145, allocations: 46.59 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.1146, allocations: 28.83 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1146, allocations: 0 / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1146, allocations: 42.56 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1146, allocations: 0 / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000734/0.1154, allocations: 205.1 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.1154, allocations: 81.11 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1156, allocations: 160.9 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1156, allocations: 25.7 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.1157, allocations: 96.14 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1157, allocations: 19.7 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.1158, allocations: 21.72 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1159, allocations: 318.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.116, allocations: 35.97 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1161, allocations: 45.69 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.1163, allocations: 89.02 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1163, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002644/0.1166, allocations: 109.6 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1166, allocations: 8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1166, allocations: 288 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1166, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1168, allocations: 19.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1168, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.1169, allocations: 19.86 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.1169, allocations: 4 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.117, allocations: 125.7 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.117, allocations: 11.89 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.1173, allocations: 126.3 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1173, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1173, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1174, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.1179, allocations: 406.3 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1179, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-05/0.118, allocations: 23.97 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.118, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.118, allocations: 3.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.118, allocations: 3.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.118, allocations: 4 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1183, allocations: 207.4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1184, allocations: 92.94 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1184, allocations: 7.938 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.1185, allocations: 7.984 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1186, allocations: 8 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1186, allocations: 4 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.552e-05/0.1187, allocations: 115.2 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1187, allocations: 0 / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1189, allocations: 43.98 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/0.1204, allocations: 1.119 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.1207, allocations: 87.88 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1207, allocations: 0 / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1208, allocations: 43.91 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1212, allocations: 23.92 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.123, allocations: 1.567 MB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1232, allocations: 0.6963 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.1233, allocations: 24.64 kB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.1234, allocations: 35.45 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1234, allocations: 0 / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6298/0.7532, allocations: 3.417 MB / 494.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.68, allocations: 19.11 kB / 494.3 MB, free: 6.723 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1)