Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, 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.001322/0.001322, 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.468/1.468, 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.2364/0.2364, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002212/0.002212, allocations: 83.36 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.131, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003441/0.1345, allocations: 1.692 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1356, allocations: 0.5494 MB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.1357, allocations: 0 / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1359, allocations: 51.75 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1362, allocations: 87.61 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.1366, allocations: 138.2 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1367, allocations: 79.77 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1369, allocations: 20.2 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.1369, allocations: 43.8 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.137, allocations: 39.83 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1371, allocations: 4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1372, allocations: 47.98 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.1373, allocations: 23.92 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.1373, allocations: 39.72 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1375, allocations: 107.9 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1375, allocations: 0 / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1375, allocations: 0 / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1375, allocations: 0 / 483.1 MB, free: 2.184 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.0005803/0.1381, allocations: 427 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1382, allocations: 12.03 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1382, allocations: 30.75 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.1383, allocations: 8.844 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1385, allocations: 200.1 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1385, allocations: 384 / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1385, allocations: 4.375 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1387, allocations: 69.55 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1387, allocations: 3.906 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1388, allocations: 11.98 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1388, allocations: 0 / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1389, allocations: 35.97 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.1394, allocations: 308.7 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1397, allocations: 58.55 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.1398, allocations: 28.91 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1398, allocations: 7.984 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1398, allocations: 34.56 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1398, allocations: 0 / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001544/0.1414, allocations: 401.2 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.1414, allocations: 51.41 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1417, allocations: 182.2 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1417, allocations: 29.7 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.1418, allocations: 104.1 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.1419, allocations: 31.64 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1419, allocations: 29.7 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1421, allocations: 326.8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1422, allocations: 39.91 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1424, allocations: 43.97 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.1427, allocations: 109.1 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1427, allocations: 4 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003482/0.143, allocations: 149.4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.143, allocations: 4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1431, allocations: 3.984 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1431, allocations: 3.938 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1432, allocations: 31.97 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1432, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.1433, allocations: 11.98 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.1433, 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.0001437/0.1435, allocations: 125.8 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.1435, allocations: 11.84 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004243/0.144, allocations: 162.3 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.144, allocations: 3.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.144, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.144, allocations: 7.984 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.1448, allocations: 471.9 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1448, allocations: 4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1449, allocations: 31.97 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1449, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1449, allocations: 4 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.1449, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1449, allocations: 7.922 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.1453, allocations: 257 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.1454, allocations: 88.92 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1455, allocations: 3.984 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.1456, allocations: 12 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1456, allocations: 11.98 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.1456, allocations: 4 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1458, allocations: 143.2 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1458, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.146, allocations: 24 kB / 487.2 MB, free: 13.74 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.002285/0.1483, allocations: 1.135 MB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1487, allocations: 115.8 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1487, allocations: 0 / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1489, allocations: 63.84 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1493, allocations: 26.34 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.1518, allocations: 1.77 MB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1522, allocations: 0.7158 MB / 491 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.277e-05/0.1523, allocations: 8.562 kB / 491 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.1523, allocations: 35.42 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1523, allocations: 0 / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.1779, allocations: 3.253 MB / 494.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.242, allocations: 6.922 kB / 494.3 MB, free: 6.711 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_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_CombiTable2Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1)