Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, 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.001353/0.001353, 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.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2488/0.2488, allocations: 46.13 MB / 344.2 MB, free: 11.56 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.002168/0.002169, allocations: 80.98 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1367, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003179/0.1399, allocations: 1.581 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000979/0.1409, allocations: 0.5416 MB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.141, allocations: 4 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1412, allocations: 31.78 kB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1415, allocations: 79.62 kB / 482.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1418, allocations: 111.7 kB / 482.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.142, allocations: 63.83 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1421, allocations: 15.94 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.1421, allocations: 19.92 kB / 482.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.1422, allocations: 23.86 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1422, allocations: 4 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.1423, allocations: 35.98 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.1424, allocations: 15.92 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.1424, allocations: 23.81 kB / 482.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1426, allocations: 88.05 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1426, allocations: 4 kB / 482.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1426, allocations: 3.938 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1426, allocations: 0 / 482.9 MB, free: 2.48 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.0005188/0.1431, allocations: 395 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1432, allocations: 8.031 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.1432, allocations: 34.75 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.1433, allocations: 8.844 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1435, allocations: 196 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1435, allocations: 8.125 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1435, allocations: 8 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1436, allocations: 45.69 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1437, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1437, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1437, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1438, allocations: 31.91 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1442, allocations: 292.9 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1444, allocations: 38.56 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.1445, allocations: 20.94 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1445, allocations: 0 / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1446, allocations: 38.5 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1446, allocations: 0 / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005916/0.1452, allocations: 153.3 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1452, allocations: 51.41 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1454, allocations: 181.7 kB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1454, allocations: 25.7 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.1455, allocations: 104 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.1456, allocations: 15.69 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.1456, allocations: 21.72 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1458, allocations: 322.8 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.1458, allocations: 19.98 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.1459, allocations: 23.97 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1461, allocations: 56.77 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1461, allocations: 0 / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1463, allocations: 93.75 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1463, allocations: 8 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.1463, allocations: 0 / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1463, allocations: 4 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.1464, allocations: 8 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1464, allocations: 11.92 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.1464, allocations: 0 / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1465, allocations: 4 kB / 485 MB, free: 68 kB / 350.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 (5): * Single equations (assignments): 5 * 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.0001162/0.1466, allocations: 125.8 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.1466, allocations: 7.906 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.1469, allocations: 97.91 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1469, allocations: 0 / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1469, allocations: 3.938 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1469, allocations: 4.266 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.1474, allocations: 358.6 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1474, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.1475, allocations: 8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1475, allocations: 11.91 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1475, allocations: 4 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.1475, allocations: 3.984 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1475, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1478, allocations: 187.3 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1479, allocations: 81.02 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1479, allocations: 11.94 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.148, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.148, allocations: 7.984 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.148, allocations: 192 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1481, allocations: 136.5 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.814e-06/0.1481, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1484, allocations: 19.94 kB / 486.1 MB, free: 14.91 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 (5): * Single equations (assignments): 5 * 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.001887/0.1503, allocations: 1.016 MB / 487.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1505, allocations: 59.95 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1505, allocations: 3.938 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.1506, allocations: 27.92 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.151, allocations: 18.05 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.1528, allocations: 1.517 MB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1532, allocations: 0.7002 MB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.1532, allocations: 15.92 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.1533, allocations: 27.42 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1533, allocations: 4 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.1771, allocations: 2.607 MB / 492.1 MB, free: 9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.046, allocations: 15.16 kB / 492.1 MB, free: 8.992 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1)