Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001655/0.001655, allocations: 103.8 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.002014/0.002014, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2496/0.2496, 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.002216/0.002217, allocations: 83.98 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1143, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003182/0.1175, allocations: 1.662 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1193, allocations: 1.199 MB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.1194, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.1196, allocations: 27.84 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1199, allocations: 83.56 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1203, allocations: 182 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1204, allocations: 75.78 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1205, allocations: 23.98 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.1206, allocations: 31.91 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1208, allocations: 39.77 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1208, allocations: 4 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.121, allocations: 99.89 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.121, allocations: 23.91 kB / 483.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.1211, allocations: 35.8 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.1213, allocations: 143.9 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1213, allocations: 0 / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1214, allocations: 0 / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1214, allocations: 0 / 483.8 MB, free: 1.5 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.0006061/0.122, allocations: 423.1 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.122, allocations: 8.031 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.1221, allocations: 38.69 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1221, allocations: 8.844 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1223, allocations: 198.3 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1224, allocations: 12.36 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1224, allocations: 384 / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1226, allocations: 83.31 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1226, allocations: 0 / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1226, allocations: 0 / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1226, allocations: 4 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1228, allocations: 43.89 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.1233, allocations: 312.8 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1234, allocations: 46.56 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.1235, allocations: 24.94 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1235, allocations: 3.984 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1236, allocations: 38.5 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1236, allocations: 4 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008733/0.1244, allocations: 233.5 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.1245, allocations: 81.11 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1248, allocations: 168 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1248, allocations: 33.64 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.1249, allocations: 96.12 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.1249, allocations: 19.72 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1249, allocations: 21.7 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1251, allocations: 318.8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1252, allocations: 35.95 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1254, allocations: 57.69 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1257, allocations: 84.8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1257, allocations: 0 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003277/0.126, allocations: 133.5 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1261, allocations: 4 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1261, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1261, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1262, allocations: 23.97 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1262, allocations: 320 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.1263, allocations: 15.88 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1263, allocations: 3.984 kB / 486.4 MB, free: 14.72 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.0001049/0.1264, allocations: 121.8 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.1265, allocations: 11.81 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.1269, allocations: 146.2 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1269, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1269, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1269, allocations: 3.938 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.1276, allocations: 422.5 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1276, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.1277, allocations: 23.92 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1277, allocations: 0 / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1277, allocations: 3.938 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1277, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1277, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.1281, allocations: 223.4 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.1282, allocations: 89.02 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1282, allocations: 3.938 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1283, allocations: 11.98 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1284, allocations: 15.92 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1284, allocations: 4 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1285, allocations: 119.2 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1285, allocations: 0 / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1288, allocations: 36 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.002272/0.1311, allocations: 1.148 MB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.1314, allocations: 95.86 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1315, allocations: 0 / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1316, allocations: 43.97 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.132, allocations: 23.92 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1342, allocations: 1.647 MB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1345, allocations: 0.7002 MB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.1347, allocations: 28.7 kB / 491.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.1348, allocations: 35.42 kB / 491.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1348, allocations: 0 / 491.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.1621, allocations: 3.518 MB / 494.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.495, allocations: 7.172 kB / 494.8 MB, free: 6.281 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1)