Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001749/0.001749, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001932, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.227/0.227, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 77.06 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1127, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003433/0.1162, allocations: 1.654 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.118, allocations: 1.175 MB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.1181, allocations: 0 / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.1183, allocations: 31.84 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1186, allocations: 83.61 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1189, allocations: 126.6 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1191, allocations: 75.77 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.1192, allocations: 23.98 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.1193, allocations: 23.92 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1194, allocations: 46.02 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1194, allocations: 7.938 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1196, allocations: 91.94 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.1197, allocations: 15.98 kB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.1197, allocations: 31.8 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.12, allocations: 155.8 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.12, allocations: 0 / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.12, allocations: 4 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.12, allocations: 0 / 483.7 MB, free: 1.582 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.0005939/0.1206, allocations: 415.2 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1207, allocations: 11.97 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.1207, allocations: 34.75 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1207, allocations: 8.844 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.121, allocations: 206.9 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.121, allocations: 4.375 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.121, allocations: 384 / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1212, allocations: 91.23 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1212, allocations: 0 / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1213, allocations: 4 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1213, allocations: 0 / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1214, allocations: 31.97 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1218, allocations: 300.8 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1219, allocations: 38.56 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.122, allocations: 24.94 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.122, allocations: 0 / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1221, allocations: 34.56 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1221, allocations: 4 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008029/0.1229, allocations: 213.2 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.123, allocations: 81.11 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1232, allocations: 160.3 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1232, allocations: 33.69 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.1233, allocations: 92.14 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1233, allocations: 19.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1234, allocations: 25.66 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1235, allocations: 318.8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1237, allocations: 31.97 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1238, allocations: 53.62 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.124, allocations: 68.81 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.124, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002911/0.1243, allocations: 121.6 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1243, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1244, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1244, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1245, allocations: 23.97 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1245, allocations: 3.938 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/0.1246, allocations: 23.86 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1246, allocations: 3.938 kB / 486.2 MB, free: 14.9 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 9.973e-05/0.1247, allocations: 117.8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.1248, allocations: 7.906 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.1252, allocations: 122.3 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1252, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1252, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1252, allocations: 7.922 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.1258, allocations: 406.7 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1258, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-05/0.1259, allocations: 19.98 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1259, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1259, allocations: 3.938 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1259, allocations: 80 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.126, allocations: 3.984 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1263, allocations: 215.3 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1264, allocations: 89.02 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1264, allocations: 8.203 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.1265, allocations: 8 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.1266, allocations: 11.98 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1266, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1267, allocations: 117.3 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1267, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000295/0.127, allocations: 39.98 kB / 487.3 MB, free: 13.64 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.002352/0.1294, allocations: 1.132 MB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.1297, allocations: 87.91 kB / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1297, allocations: 0 / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1298, allocations: 47.91 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1302, allocations: 19.55 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1324, allocations: 1.574 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1327, allocations: 0.7002 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.1328, allocations: 16.67 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.1329, allocations: 31.41 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1329, allocations: 0 / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.1594, allocations: 3.424 MB / 494.4 MB, free: 6.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.449, allocations: 13.14 kB / 494.4 MB, free: 6.699 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1)