Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, 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.001889/0.001889, 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.47/1.47, 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.2322/0.2322, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002278/0.002279, allocations: 86.2 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1107, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003501/0.1142, allocations: 1.682 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1153, allocations: 0.5767 MB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.1154, allocations: 0 / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1156, allocations: 79.7 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.116, allocations: 103.6 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.1164, allocations: 181.7 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1166, allocations: 91.77 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1167, allocations: 24.2 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.1168, allocations: 43.84 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1169, allocations: 51.81 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1169, allocations: 4 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.117, allocations: 51.98 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.1171, allocations: 27.92 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.1172, allocations: 47.59 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1174, allocations: 127.8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1174, allocations: 0 / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1174, allocations: 0 / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1174, allocations: 3.938 kB / 483.3 MB, free: 2.027 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005688/0.118, allocations: 426.9 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.118, allocations: 8.031 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.1181, allocations: 42.73 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1181, allocations: 16.75 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1184, allocations: 204.1 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1184, allocations: 8.312 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1184, allocations: 4.375 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1186, allocations: 69.59 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1186, allocations: 3.906 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1186, allocations: 4 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1186, allocations: 0 / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1188, allocations: 43.97 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.1193, allocations: 328.7 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.1195, allocations: 58.55 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1196, allocations: 28.97 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1197, allocations: 3.984 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1197, allocations: 42.52 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1197, allocations: 0 / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001523/0.1212, allocations: 432.6 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1213, allocations: 51.41 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1215, allocations: 219.2 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1215, allocations: 25.7 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.1216, allocations: 116.1 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.1217, allocations: 39.44 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.1217, allocations: 21.72 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1219, allocations: 330.8 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.122, allocations: 51.97 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1222, allocations: 55.95 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1225, allocations: 133.2 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1225, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003549/0.1228, allocations: 169.4 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1229, allocations: 4 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1229, allocations: 0 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1229, allocations: 3.938 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.123, allocations: 27.98 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.123, allocations: 3.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.1231, allocations: 15.98 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1231, allocations: 8 kB / 486.2 MB, free: 14.86 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 (11): * Single equations (assignments): 11 * 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.0001125/0.1233, allocations: 133.8 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1233, allocations: 15.81 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.1237, allocations: 190.9 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1238, allocations: 3.938 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1238, allocations: 4 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1238, allocations: 0 / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.1245, allocations: 0.5 MB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1245, allocations: 0 / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1247, allocations: 35.97 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1247, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1247, allocations: 8 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1247, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1247, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.1251, allocations: 281.4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.1252, allocations: 92.91 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1252, allocations: 3.938 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1253, allocations: 12 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1254, allocations: 7.984 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.1254, allocations: 4 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1256, allocations: 172.3 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1256, allocations: 4 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1258, allocations: 28 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00221/0.1281, allocations: 1.152 MB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1284, allocations: 143.8 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1285, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1286, allocations: 71.89 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.129, allocations: 22.22 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.1316, allocations: 1.971 MB / 491.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1319, allocations: 0.7275 MB / 491.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.132, allocations: 40.47 kB / 491.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.1321, allocations: 43.42 kB / 491.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1321, allocations: 0 / 491.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.1572, allocations: 3.546 MB / 495.4 MB, free: 5.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.327/8.484, allocations: 11.27 kB / 495.4 MB, free: 5.641 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1)