Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, 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.001288/0.001288, 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.483/1.483, 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.2185/0.2185, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002422/0.002422, allocations: 89.22 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1242, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.003679/0.1279, allocations: 1.674 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.129, allocations: 0.5611 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.1291, allocations: 3.938 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1294, allocations: 47.81 kB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1298, allocations: 103.6 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.1302, allocations: 131.6 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1304, allocations: 79.77 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1305, allocations: 24.22 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.1306, allocations: 31.84 kB / 482.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1307, allocations: 43.84 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1308, allocations: 8 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1309, allocations: 51.97 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.131, allocations: 19.92 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.1311, allocations: 39.73 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1313, allocations: 111.9 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1313, allocations: 3.938 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1313, allocations: 0 / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1313, allocations: 0 / 483.1 MB, free: 2.203 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.0006427/0.132, allocations: 423 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.132, allocations: 12.03 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.1321, allocations: 46.69 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.1321, allocations: 12.75 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1324, allocations: 200.1 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1324, allocations: 384 / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1324, allocations: 8.375 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1326, allocations: 69.53 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1327, allocations: 0 / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1327, allocations: 4 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1327, allocations: 4 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1329, allocations: 39.97 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.1333, allocations: 304.7 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1336, allocations: 58.55 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.1337, allocations: 24.97 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.1337, allocations: 0 / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1338, allocations: 42.56 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1338, allocations: 0 / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001591/0.1354, allocations: 404.7 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1354, allocations: 59.34 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1357, allocations: 195.3 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1357, allocations: 25.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1358, allocations: 108.2 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1359, allocations: 35.41 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.136, allocations: 25.7 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1361, allocations: 330.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1363, allocations: 35.97 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1364, allocations: 39.97 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.1367, allocations: 97.38 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1367, allocations: 4 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003296/0.137, allocations: 153.3 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.137, allocations: 4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1371, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1371, allocations: 3.938 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1372, allocations: 31.98 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1372, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.1373, allocations: 15.98 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1373, allocations: 4 kB / 485.9 MB, free: 15.2 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.0001149/0.1374, allocations: 133.7 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1375, allocations: 7.906 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.1379, allocations: 166.9 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1379, allocations: 11.92 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1379, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1379, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.1387, allocations: 479.9 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1387, allocations: 4.062 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1388, allocations: 35.97 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1388, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1388, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.1389, allocations: 11.92 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1389, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.1393, allocations: 249 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.1393, allocations: 92.92 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1394, allocations: 7.922 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1395, allocations: 12 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1395, allocations: 11.92 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.1395, allocations: 8 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1397, allocations: 147.9 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1397, allocations: 0 / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.14, allocations: 28 kB / 487.3 MB, free: 13.71 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.002306/0.1423, allocations: 1.13 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.1426, allocations: 111.9 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1427, allocations: 0 / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1428, allocations: 59.91 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1433, allocations: 21.22 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1461, allocations: 1.801 MB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1465, allocations: 0.7079 MB / 491.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.559e-05/0.1466, allocations: 24.55 kB / 491.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.1467, allocations: 39.42 kB / 491.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1467, allocations: 0 / 491.2 MB, free: 9.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.1716, allocations: 3.31 MB / 494.5 MB, free: 6.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/8.687, allocations: 9.125 kB / 494.5 MB, free: 6.602 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1)