Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 104.1 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.001352/0.001352, 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.458/1.458, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2312/0.2312, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.00233/0.00233, allocations: 87.22 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.134, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003615/0.1377, allocations: 1.682 MB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1388, allocations: 0.5805 MB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.1389, allocations: 0 / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1392, allocations: 63.73 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.1395, allocations: 87.61 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.14, allocations: 177.9 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1402, allocations: 87.77 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1403, allocations: 20.23 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.1404, allocations: 39.83 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1405, allocations: 43.83 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1405, allocations: 4 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1406, allocations: 51.98 kB / 483 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.1407, allocations: 23.92 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1408, allocations: 35.72 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.141, allocations: 115.9 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.141, allocations: 0 / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.141, allocations: 0 / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.141, allocations: 4 kB / 483.2 MB, free: 2.07 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.0005737/0.1416, allocations: 419 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1416, allocations: 12.03 kB / 483.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.1417, allocations: 34.75 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1417, allocations: 12.75 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1419, allocations: 196.1 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.1419, allocations: 4.375 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.142, allocations: 8.375 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1422, allocations: 81.47 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1422, allocations: 0 / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1422, allocations: 0 / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1422, allocations: 0 / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1424, allocations: 43.95 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.1429, allocations: 332.6 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.1431, allocations: 58.55 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.1432, allocations: 24.97 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1433, allocations: 3.984 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1433, allocations: 38.59 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1433, allocations: 4 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00156/0.1449, allocations: 428.8 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1449, allocations: 55.34 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1452, allocations: 190.2 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1452, allocations: 29.7 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.1453, allocations: 108 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.1453, allocations: 35.45 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.1454, allocations: 21.72 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1456, allocations: 326.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1457, allocations: 51.95 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1459, allocations: 59.95 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.1462, allocations: 129 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1462, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004158/0.1466, allocations: 161.5 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1466, allocations: 8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1467, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.1467, allocations: 7.922 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1468, allocations: 23.98 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1468, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.1469, allocations: 15.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.1469, allocations: 0 / 486.1 MB, free: 14.96 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.0001228/0.1471, allocations: 133.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.1471, allocations: 11.81 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.1475, allocations: 190.2 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1476, allocations: 8.5 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1476, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1476, allocations: 3.984 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.1484, allocations: 0.4998 MB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1484, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1485, allocations: 35.91 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1485, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1486, allocations: 4 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1486, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1486, allocations: 4.062 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.149, allocations: 268.9 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.1491, allocations: 88.95 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1491, allocations: 11.98 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1492, allocations: 8 kB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1493, allocations: 11.92 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1493, allocations: 8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1494, allocations: 139.2 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1494, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1497, allocations: 24 kB / 487.5 MB, free: 13.41 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.002303/0.152, allocations: 1.156 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.1524, allocations: 139.8 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1524, allocations: 0 / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1526, allocations: 71.89 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.153, allocations: 22.05 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.1555, allocations: 1.881 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1559, allocations: 0.7196 MB / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.156, allocations: 28.53 kB / 491.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.1561, allocations: 43.42 kB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1561, allocations: 0 / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.1809, allocations: 3.394 MB / 495 MB, free: 6.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.224, allocations: 1.078 kB / 495 MB, free: 6.059 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1)