Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001729/0.001729, 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.002014/0.002014, 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.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2524/0.2524, 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.002291/0.002291, allocations: 78.55 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.129, allocations: 62.46 MB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003273/0.1323, allocations: 1.612 MB / 481.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1335, allocations: 0.5494 MB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.1336, allocations: 0 / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1339, allocations: 131.6 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1343, allocations: 119.6 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1346, allocations: 114.7 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1348, allocations: 95.8 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.135, allocations: 19.98 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.135, allocations: 55.81 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1352, allocations: 75.8 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1352, allocations: 4 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1353, allocations: 47.98 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.1354, allocations: 23.86 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1354, allocations: 39.67 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1356, allocations: 131.9 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1356, allocations: 0 / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.971e-06/0.1357, allocations: 0 / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1357, allocations: 3.938 kB / 483.2 MB, free: 2.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005218/0.1362, allocations: 430.8 kB / 483.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1362, allocations: 8.031 kB / 483.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1363, allocations: 30.75 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1363, allocations: 20.75 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1365, allocations: 208 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1366, allocations: 4.375 kB / 483.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1366, allocations: 4.375 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1367, allocations: 61.59 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1368, allocations: 3.938 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1368, allocations: 0 / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1368, allocations: 0 / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1369, allocations: 27.97 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.1373, allocations: 320.6 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.1374, allocations: 50.5 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.1375, allocations: 20.94 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1375, allocations: 0 / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1376, allocations: 30.56 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1376, allocations: 4 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009353/0.1385, allocations: 249 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.1386, allocations: 51.41 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1389, allocations: 283.7 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1389, allocations: 29.7 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.139, allocations: 116.1 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1391, allocations: 27.62 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1391, allocations: 29.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1393, allocations: 326.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.1394, allocations: 31.97 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.1395, allocations: 23.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.1396, allocations: 80.75 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1396, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000241/0.1399, allocations: 113.6 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1399, allocations: 4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1399, allocations: 432 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1399, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1401, allocations: 19.98 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1401, allocations: 3.938 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.1401, allocations: 15.84 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1401, allocations: 7.922 kB / 485.8 MB, free: 15.25 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 (8): * Single equations (assignments): 8 * 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.0001113/0.1403, allocations: 133.8 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1403, allocations: 11.91 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.1406, allocations: 147.2 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1406, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1407, allocations: 7.938 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1407, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.1412, allocations: 427.4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1412, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.1413, allocations: 27.86 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1413, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1414, allocations: 4.031 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1414, allocations: 4 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1414, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1417, allocations: 212.2 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1417, allocations: 92.86 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1418, allocations: 8 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.1418, allocations: 11.92 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1419, allocations: 7.938 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.1419, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.1421, allocations: 213.5 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1421, allocations: 0 / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1424, allocations: 20 kB / 487.1 MB, free: 13.83 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 (8): * Single equations (assignments): 8 * 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.002133/0.1445, allocations: 1.092 MB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1448, allocations: 79.88 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1448, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1449, allocations: 43.91 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1453, allocations: 28.98 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1475, allocations: 1.833 MB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1479, allocations: 0.7197 MB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.148, allocations: 24.58 kB / 490.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1481, allocations: 47.42 kB / 491 MB, free: 9.984 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1481, allocations: 0 / 491 MB, free: 9.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.1735, allocations: 3.359 MB / 494.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.227, allocations: 17.02 kB / 494.4 MB, free: 6.684 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1)