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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001773/0.001773, allocations: 121.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 205 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.5 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2284/0.2284, allocations: 46.93 MB / 357.7 MB, free: 10.23 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.003317/0.003317, allocations: 83.8 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1434, allocations: 66.03 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003106/0.1465, allocations: 1.623 MB / 0.5578 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000996/0.1475, allocations: 0.5544 MB / 0.5583 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.1476, allocations: 3.938 kB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.1481, allocations: 443.2 kB / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.1486, allocations: 291.3 kB / 0.559 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1489, allocations: 130.8 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.1491, allocations: 171.6 kB / 0.5593 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.1492, allocations: 11.98 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1493, allocations: 115.7 kB / 0.5594 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1496, allocations: 251.5 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1496, allocations: 0 / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.1497, allocations: 24 kB / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1498, allocations: 83.69 kB / 0.5597 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.1499, allocations: 103 kB / 0.5598 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1502, allocations: 258.6 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1502, allocations: 0 / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1502, allocations: 0 / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1502, allocations: 4 kB / 0.5601 GB, free: 1.52 MB / 414.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.0008359/0.1511, allocations: 0.6607 MB / 0.5607 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1511, allocations: 12.03 kB / 0.5608 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.992e-05/0.1512, allocations: 34.75 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.1512, allocations: 44.64 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.1515, allocations: 300.6 kB / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-06/0.1515, allocations: 384 / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1516, allocations: 4.375 kB / 0.5611 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1517, allocations: 62.11 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1517, allocations: 3.938 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1517, allocations: 4 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1517, allocations: 0 / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1519, allocations: 31.97 kB / 0.5612 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.1524, allocations: 376.8 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1525, allocations: 42.5 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.1526, allocations: 24.94 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1526, allocations: 7.922 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1527, allocations: 30.56 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1527, allocations: 0 / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003662/0.153, allocations: 129.5 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.1531, allocations: 51.41 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/0.154, allocations: 0.8699 MB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.154, allocations: 25.7 kB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.1542, allocations: 216 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1542, allocations: 19.81 kB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1542, allocations: 13.72 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1544, allocations: 358.8 kB / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.1545, allocations: 15.98 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.1546, allocations: 19.98 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1547, allocations: 36.77 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1547, allocations: 0 / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002185/0.1549, allocations: 113.4 kB / 0.5635 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1549, allocations: 6.344 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1549, allocations: 4 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1549, allocations: 0 / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.155, allocations: 15.94 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.155, allocations: 0 / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.1551, allocations: 11.94 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1551, allocations: 0 / 0.5635 GB, free: 13.77 MB / 430.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.0002045/0.1553, allocations: 213.7 kB / 0.5637 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.1554, allocations: 47.7 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.1557, allocations: 121.1 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1557, allocations: 4 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1557, allocations: 0 / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1557, allocations: 3.938 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.156, allocations: 293.5 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.156, allocations: 0 / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.156, allocations: 8 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.156, allocations: 7.922 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1561, allocations: 0 / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1561, allocations: 4 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1561, allocations: 0 / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.1563, allocations: 203.2 kB / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.1564, allocations: 112.8 kB / 0.5645 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1565, allocations: 0 / 0.5645 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.1565, allocations: 4 kB / 0.5645 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.1566, allocations: 11.98 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.1566, allocations: 4 kB / 0.5645 GB, free: 12.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006776/0.1572, allocations: 0.6511 MB / 0.5651 GB, free: 12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1572, allocations: 0 / 0.5651 GB, free: 12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1575, allocations: 27.92 kB / 0.5652 GB, free: 11.98 MB / 430.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.001792/0.1593, allocations: 0.9813 MB / 0.5661 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1595, allocations: 35.97 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1595, allocations: 4 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.1596, allocations: 23.92 kB / 0.5662 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.16, allocations: 34.22 kB / 0.5662 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.1638, allocations: 3.17 MB / 0.5693 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.1643, allocations: 0.8221 MB / 0.5701 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.1643, allocations: 15.73 kB / 0.5701 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.1645, allocations: 107.4 kB / 0.5702 GB, free: 6.762 MB / 430.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1645, allocations: 0 / 0.5702 GB, free: 6.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.1931, allocations: 5.814 MB / 0.5759 GB, free: 1.008 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/8.795, allocations: 6.562 kB / 0.5759 GB, free: 1.004 MB / 430.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.96232431801036] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'clock1.y', 'clock2.y'] 8.920613119844347 8.934616492 8.781499672 Calling exit ...