Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001202, 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.001301/0.001301, 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.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2343/0.2343, 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.002246/0.002246, allocations: 76.59 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1279, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003886/0.1319, allocations: 2.032 MB / 482.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.1343, allocations: 1.352 MB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1344, allocations: 7.938 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1347, allocations: 55.56 kB / 483.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.1352, allocations: 211.1 kB / 483.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1365, allocations: 0.6042 MB / 484.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.1369, allocations: 319.1 kB / 484.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.1371, allocations: 72.97 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.1374, allocations: 135.4 kB / 485 MB, free: 392 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1376, allocations: 187.3 kB / 485.2 MB, free: 204 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.1377, allocations: 16 kB / 485.2 MB, free: 188 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1378, allocations: 59.98 kB / 485.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.138, allocations: 147.5 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1382, allocations: 178.5 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.1388, allocations: 410.4 kB / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1388, allocations: 0 / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1388, allocations: 0 / 486 MB, free: 15.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1388, allocations: 0 / 486 MB, free: 15.4 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001166/0.14, allocations: 0.8123 MB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.14, allocations: 8.031 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.1401, allocations: 38.75 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.1404, allocations: 76.25 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.1411, allocations: 488.4 kB / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1411, allocations: 12.36 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.1411, allocations: 11.94 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.1414, allocations: 152.6 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1415, allocations: 3.906 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1415, allocations: 4 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1415, allocations: 4 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.1417, allocations: 91.88 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.1427, allocations: 0.7074 MB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.143, allocations: 117.3 kB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1431, allocations: 45.77 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.1431, allocations: 7.938 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1432, allocations: 42.55 kB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1432, allocations: 0 / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001528/0.1447, allocations: 0.549 MB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.1448, allocations: 81.11 kB / 489.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.1459, allocations: 0.9337 MB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1459, allocations: 29.7 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.1461, allocations: 272.2 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.1462, allocations: 47.27 kB / 490.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.1463, allocations: 37.7 kB / 490.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1464, allocations: 313.9 kB / 490.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1466, allocations: 63.95 kB / 490.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.1468, allocations: 85.59 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.1472, allocations: 169.9 kB / 491.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1472, allocations: 4 kB / 491.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005362/0.1478, allocations: 248.7 kB / 491.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1478, allocations: 4 kB / 491.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1478, allocations: 0 / 491.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1478, allocations: 0 / 491.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.148, allocations: 35.97 kB / 491.4 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.148, allocations: 4 kB / 491.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1482, allocations: 19.98 kB / 491.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1482, allocations: 4 kB / 491.4 MB, free: 9.652 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002438/0.1484, allocations: 217.6 kB / 491.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1486, allocations: 59.25 kB / 491.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.1492, allocations: 294.8 kB / 492 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1492, allocations: 4 kB / 492 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1492, allocations: 0 / 492 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1492, allocations: 0 / 492 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1504, allocations: 0.8254 MB / 492.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1504, allocations: 0 / 492.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1506, allocations: 39.91 kB / 492.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1506, allocations: 0 / 492.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.1507, allocations: 15.92 kB / 492.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1507, allocations: 3.938 kB / 492.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1507, allocations: 0 / 492.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.1513, allocations: 421.9 kB / 493.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.1514, allocations: 144.4 kB / 493.4 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.1515, allocations: 12 kB / 493.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1517, allocations: 15.92 kB / 493.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.1518, allocations: 19.97 kB / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1518, allocations: 4 kB / 493.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008266/0.1526, allocations: 0.6825 MB / 494.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.1526, allocations: 0 / 494.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000352/0.153, allocations: 59.84 kB / 494.2 MB, free: 6.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002281/0.1553, allocations: 1.237 MB / 495.5 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.1558, allocations: 175.7 kB / 495.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1558, allocations: 4 kB / 495.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.156, allocations: 91.88 kB / 495.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.1566, allocations: 79.11 kB / 495.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.1635, allocations: 5.385 MB / 0.4894 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.1641, allocations: 0.8768 MB / 0.4903 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002147/0.1644, allocations: 95.2 kB / 0.4904 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.1646, allocations: 179.4 kB / 0.4906 GB, free: 14.64 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1646, allocations: 0 / 0.4906 GB, free: 14.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.2007, allocations: 9.943 MB / 0.5003 GB, free: 4.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.542, allocations: 5.141 kB / 0.5003 GB, free: 4.773 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1)