Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 104.4 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.001377/0.001377, 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.564/1.564, 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.2523/0.2523, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002321/0.002321, allocations: 80.11 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1276, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003629/0.1312, allocations: 1.612 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1324, allocations: 0.5416 MB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.1325, allocations: 0 / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.1332, allocations: 455.1 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.1337, allocations: 291.3 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1341, allocations: 126.4 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1343, allocations: 163.7 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1344, allocations: 19.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1346, allocations: 103.8 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1348, allocations: 215.6 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1348, allocations: 4 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.1349, allocations: 27.94 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.135, allocations: 87.67 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.1351, allocations: 99 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1354, allocations: 247 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1354, allocations: 4 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1355, allocations: 0 / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1355, allocations: 4 kB / 484.2 MB, free: 1.152 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008369/0.1363, allocations: 0.6416 MB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1364, allocations: 8.031 kB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1364, allocations: 30.75 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.1365, allocations: 52.38 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1368, allocations: 308.1 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1368, allocations: 384 / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.1368, allocations: 384 / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.137, allocations: 61.61 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1371, allocations: 0 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1371, allocations: 4 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1371, allocations: 0 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1372, allocations: 31.97 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1377, allocations: 376.8 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1379, allocations: 46.44 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.138, allocations: 24.94 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.138, allocations: 0 / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.138, allocations: 30.56 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.138, allocations: 0 / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.000363/0.1384, allocations: 129.2 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1384, allocations: 51.41 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/0.1394, allocations: 0.8699 MB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1394, allocations: 29.7 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1396, allocations: 216 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1396, allocations: 7.812 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1396, allocations: 17.7 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1398, allocations: 370.7 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.1399, allocations: 15.98 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.14, allocations: 19.97 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1401, allocations: 36.83 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1401, allocations: 0 / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001966/0.1403, allocations: 105.1 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1403, allocations: 11.98 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1404, allocations: 0 / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1404, allocations: 0 / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.1405, allocations: 8 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1405, allocations: 7.922 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.1406, allocations: 11.89 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1406, allocations: 0 / 487.7 MB, free: 13.43 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 (3): * Single equations (assignments): 3 * 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.000197/0.1408, allocations: 213.7 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.1409, allocations: 43.53 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1411, allocations: 121 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1411, allocations: 4 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1411, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1412, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.1415, allocations: 293.5 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1415, allocations: 0 / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.1415, allocations: 8 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1415, allocations: 4 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1416, allocations: 7.984 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1416, allocations: 0 / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1416, allocations: 0 / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.1419, allocations: 198.9 kB / 488.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.142, allocations: 116.5 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.142, allocations: 0 / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.066e-05/0.1421, allocations: 12 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.1421, allocations: 7.922 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1421, allocations: 4 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006459/0.1428, allocations: 0.6511 MB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1428, allocations: 0 / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1431, allocations: 23.98 kB / 489.3 MB, free: 11.64 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 (3): * Single equations (assignments): 3 * 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.001697/0.1448, allocations: 0.9851 MB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.145, allocations: 47.91 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.145, allocations: 0 / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.145, allocations: 15.98 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1455, allocations: 37.5 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.1496, allocations: 3.205 MB / 493.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.1502, allocations: 0.8182 MB / 494.4 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.1503, allocations: 8 kB / 494.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.1505, allocations: 111.4 kB / 494.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1505, allocations: 0 / 494.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.1807, allocations: 5.635 MB / 0.4885 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.197, allocations: 4.031 kB / 0.4885 GB, free: 0.8242 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1)