Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001642/0.001642, allocations: 107.9 kB / 17.63 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 210.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2238/0.2238, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002212/0.002212, allocations: 84.03 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 62.46 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003059/0.1212, allocations: 1.659 MB / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.123, allocations: 1.199 MB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.1231, allocations: 4 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1233, allocations: 27.78 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1235, allocations: 83.61 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.124, allocations: 178.2 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1241, allocations: 79.75 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.1242, allocations: 16 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.1243, allocations: 31.86 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1245, allocations: 43.83 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1245, allocations: 4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1247, allocations: 103.9 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.1247, allocations: 15.92 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.1248, allocations: 35.78 kB / 483.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.125, allocations: 151.9 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.125, allocations: 0 / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.125, allocations: 0 / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1251, allocations: 0 / 483.8 MB, free: 1.516 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.0005819/0.1256, allocations: 423 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1257, allocations: 8.031 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.1257, allocations: 38.73 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1258, allocations: 8.844 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.126, allocations: 202.3 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.126, allocations: 8.312 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.126, allocations: 8.375 kB / 484.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1262, allocations: 79.31 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1263, allocations: 4 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1263, allocations: 0 / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1263, allocations: 3.984 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1264, allocations: 43.91 kB / 484.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.1269, allocations: 312.8 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.127, allocations: 46.55 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.1271, allocations: 24.94 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1271, allocations: 3.938 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1272, allocations: 38.56 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1272, allocations: 0 / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008562/0.128, allocations: 229.1 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.1281, allocations: 85.05 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1283, allocations: 160.1 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1283, allocations: 29.7 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.1284, allocations: 96.14 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1284, allocations: 19.7 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1285, allocations: 21.72 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1286, allocations: 318.8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1288, allocations: 39.97 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1289, allocations: 61.73 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1292, allocations: 89.02 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1292, allocations: 0 / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000326/0.1295, allocations: 125.5 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1295, allocations: 8.031 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1296, allocations: 4 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1296, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1297, allocations: 15.98 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1297, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.1298, allocations: 23.77 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1298, allocations: 4 kB / 486.4 MB, free: 14.73 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 0.0001061/0.1299, allocations: 117.8 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.13, allocations: 11.89 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1303, allocations: 138.3 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1304, allocations: 4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1304, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1304, allocations: 3.938 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.131, allocations: 414.5 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.131, allocations: 3.938 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/0.1311, allocations: 23.97 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1311, allocations: 3.938 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1311, allocations: 3.938 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1311, allocations: 4 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1312, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.1315, allocations: 223.4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.1316, allocations: 93 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1316, allocations: 7.938 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1317, allocations: 11.92 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1318, allocations: 4 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1318, allocations: 8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1319, allocations: 123.2 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1319, allocations: 0 / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1322, allocations: 43.98 kB / 487.6 MB, free: 13.41 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.002318/0.1345, allocations: 1.14 MB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.1349, allocations: 91.88 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1349, allocations: 0 / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.135, allocations: 51.89 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1354, allocations: 15.98 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1375, allocations: 1.647 MB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1379, allocations: 0.7002 MB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.238e-05/0.138, allocations: 24.72 kB / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.1381, allocations: 39.41 kB / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1381, allocations: 0 / 491.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.1643, allocations: 3.521 MB / 494.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.441, allocations: 1.078 kB / 494.8 MB, free: 6.293 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1)