Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001653/0.001653, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001862/0.001862, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.547/1.547, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.238/0.238, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",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.002217/0.002217, allocations: 79.88 kB / 0.4912 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1279, allocations: 65.99 MB / 0.5557 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003039/0.1309, allocations: 1.692 MB / 0.5573 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.132, allocations: 0.5489 MB / 0.5579 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.132, allocations: 4 kB / 0.5579 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.1326, allocations: 467 kB / 0.5583 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.1331, allocations: 283.3 kB / 0.5586 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1335, allocations: 139.1 kB / 0.5587 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.1337, allocations: 163.8 kB / 0.5589 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1338, allocations: 19.98 kB / 0.5589 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1339, allocations: 111.7 kB / 0.559 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.1342, allocations: 251.5 kB / 0.5592 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1342, allocations: 4 kB / 0.5592 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1343, allocations: 55.97 kB / 0.5593 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1345, allocations: 87.62 kB / 0.5594 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.1345, allocations: 103 kB / 0.5595 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.1349, allocations: 282.5 kB / 0.5598 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1349, allocations: 0 / 0.5598 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1349, allocations: 0 / 0.5598 GB, free: 2.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1349, allocations: 0 / 0.5598 GB, free: 2.215 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008462/0.1358, allocations: 0.6723 MB / 0.5604 GB, free: 1.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1358, allocations: 8.031 kB / 0.5604 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.1359, allocations: 34.75 kB / 0.5604 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.1359, allocations: 48.66 kB / 0.5605 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1363, allocations: 308.6 kB / 0.5608 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1363, allocations: 8.375 kB / 0.5608 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1363, allocations: 4.312 kB / 0.5608 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1365, allocations: 58.23 kB / 0.5609 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1365, allocations: 3.938 kB / 0.5609 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1365, allocations: 4 kB / 0.5609 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1365, allocations: 4 kB / 0.5609 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.1366, allocations: 23.98 kB / 0.5609 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.1371, allocations: 408.6 kB / 0.5613 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1372, allocations: 42.56 kB / 0.5613 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1373, allocations: 12.84 kB / 0.5613 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1373, allocations: 7.984 kB / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.1373, allocations: 46.62 kB / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1373, allocations: 0 / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000922/0.1382, allocations: 316.5 kB / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.1383, allocations: 55.34 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009412/0.1392, allocations: 0.8776 MB / 0.5626 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1393, allocations: 29.7 kB / 0.5626 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1395, allocations: 224.1 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1395, allocations: 27.73 kB / 0.5629 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.1395, allocations: 21.72 kB / 0.5629 GB, free: 14.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1397, allocations: 358.8 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.1398, allocations: 27.98 kB / 0.5633 GB, free: 14.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.1399, allocations: 28 kB / 0.5633 GB, free: 14.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.14, allocations: 64.81 kB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.14, allocations: 0 / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002397/0.1403, allocations: 137.3 kB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1403, allocations: 4 kB / 0.5635 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1403, allocations: 0 / 0.5635 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1403, allocations: 4 kB / 0.5635 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1404, allocations: 19.98 kB / 0.5635 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1404, allocations: 0 / 0.5635 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.1405, allocations: 11.94 kB / 0.5635 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1405, allocations: 8 kB / 0.5635 GB, free: 14.11 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 (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.0002129/0.1407, allocations: 213.8 kB / 0.5637 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.1408, allocations: 51.61 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.1411, allocations: 157.9 kB / 0.5639 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1411, allocations: 4 kB / 0.5639 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1411, allocations: 0 / 0.5639 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1411, allocations: 7.922 kB / 0.5639 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007644/0.1419, allocations: 0.4953 MB / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1419, allocations: 0 / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.207e-05/0.142, allocations: 23.98 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.142, allocations: 7.969 kB / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.142, allocations: 0 / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.142, allocations: 11.92 kB / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.142, allocations: 0 / 0.5645 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1423, allocations: 244.1 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1424, allocations: 112.8 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.1424, allocations: 8 kB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1425, allocations: 7.922 kB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1426, allocations: 8 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1426, allocations: 4 kB / 0.5648 GB, free: 12.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.1433, allocations: 0.6589 MB / 0.5655 GB, free: 11.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1433, allocations: 3.938 kB / 0.5655 GB, free: 11.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1435, allocations: 31.94 kB / 0.5655 GB, free: 11.96 MB / 430.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.002179/0.1457, allocations: 1.131 MB / 0.5666 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1459, allocations: 63.89 kB / 0.5667 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1459, allocations: 0 / 0.5667 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.146, allocations: 31.92 kB / 0.5667 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.1464, allocations: 29.42 kB / 0.5667 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.1505, allocations: 3.341 MB / 0.57 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.151, allocations: 0.826 MB / 0.5708 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.1511, allocations: 16.42 kB / 0.5708 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1512, allocations: 111.4 kB / 0.5709 GB, free: 6.445 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1512, allocations: 0 / 0.5709 GB, free: 6.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.1795, allocations: 6.426 MB / 0.5772 GB, free: 76 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/8.896, allocations: 0 / 0.5772 GB, free: 76 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.962303711567074] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.024418784305453 9.055139604 8.914798609 Calling exit ...