Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001278/0.001278, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001965/0.001965, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.532/1.532, 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.2418/0.2418, allocations: 46.88 MB / 357.4 MB, free: 10.5 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.002321/0.002321, allocations: 87.86 kB / 0.4913 GB, free: 8.328 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 65.97 MB / 0.5557 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00327/0.1342, allocations: 1.704 MB / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1353, allocations: 0.576 MB / 0.5579 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.1354, allocations: 4 kB / 0.5579 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1356, allocations: 23.78 kB / 0.5579 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.1359, allocations: 83.61 kB / 0.558 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.1364, allocations: 134.9 kB / 0.5581 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1367, allocations: 91.7 kB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1368, allocations: 15.97 kB / 0.5582 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.1369, allocations: 27.92 kB / 0.5583 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.1369, allocations: 51.75 kB / 0.5583 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.137, allocations: 11.94 kB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1372, allocations: 107.9 kB / 0.5584 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.1372, allocations: 19.92 kB / 0.5585 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.1373, allocations: 35.8 kB / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1376, allocations: 171.4 kB / 0.5586 GB, free: 3.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1376, allocations: 4 kB / 0.5587 GB, free: 3.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1376, allocations: 0 / 0.5587 GB, free: 3.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1376, allocations: 0 / 0.5587 GB, free: 3.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000696/0.1383, allocations: 450.5 kB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1383, allocations: 8.031 kB / 0.5591 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.1383, allocations: 34.75 kB / 0.5591 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1384, allocations: 12.89 kB / 0.5591 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1386, allocations: 204.2 kB / 0.5593 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1386, allocations: 8.375 kB / 0.5593 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.1387, allocations: 4.312 kB / 0.5593 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.139, allocations: 95.88 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.139, allocations: 3.938 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.139, allocations: 0 / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.139, allocations: 3.984 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.1393, allocations: 71.92 kB / 0.5595 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1398, allocations: 308.7 kB / 0.5598 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1401, allocations: 74.47 kB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1402, allocations: 44.94 kB / 0.5599 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1403, allocations: 4.062 kB / 0.5599 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1403, allocations: 34.56 kB / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1403, allocations: 0 / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001552/0.1418, allocations: 381 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.1419, allocations: 81.11 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1421, allocations: 166 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1421, allocations: 25.7 kB / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.1422, allocations: 104.1 kB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1422, allocations: 31.7 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.1423, allocations: 33.7 kB / 0.5607 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1424, allocations: 326.8 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.1427, allocations: 63.92 kB / 0.5611 GB, free: 408 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.143, allocations: 93.67 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.1436, allocations: 140.7 kB / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1436, allocations: 4.031 kB / 0.5613 GB, free: 160 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007885/0.1444, allocations: 189.4 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1444, allocations: 7.984 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1444, allocations: 0 / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1444, allocations: 8 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.1447, allocations: 39.91 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1447, allocations: 3.984 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.1448, allocations: 23.97 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1448, allocations: 3.938 kB / 0.5616 GB, free: 15.88 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 (10): * Single equations (assignments): 10 * 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.0001077/0.1449, allocations: 125.8 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.145, allocations: 11.91 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.1456, allocations: 202.1 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1457, allocations: 0 / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1457, allocations: 4 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1457, allocations: 7.984 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1467, allocations: 0.4986 MB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1467, allocations: 0 / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.1468, allocations: 43.89 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1468, allocations: 384 / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1469, allocations: 3.938 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1469, allocations: 4 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1469, allocations: 4 kB / 0.5625 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.1475, allocations: 283.2 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.1476, allocations: 93.05 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1476, allocations: 3.938 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1478, allocations: 27.97 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1478, allocations: 11.98 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1478, allocations: 0 / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.148, allocations: 127.2 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.148, allocations: 0 / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1483, allocations: 47.86 kB / 0.563 GB, free: 14.29 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 (9): * Single equations (assignments): 9 * 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.002623/0.1509, allocations: 1.219 MB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.1515, allocations: 155.8 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1515, allocations: 0 / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1518, allocations: 83.86 kB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1522, allocations: 24.31 kB / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.1552, allocations: 1.871 MB / 0.5663 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1556, allocations: 0.7002 MB / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.991e-05/0.1557, allocations: 20.53 kB / 0.567 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.1558, allocations: 39.42 kB / 0.5671 GB, free: 10.23 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1558, allocations: 0 / 0.5671 GB, free: 10.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.1813, allocations: 4.305 MB / 0.5713 GB, free: 5.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.574, allocations: 3.938 kB / 0.5713 GB, free: 5.961 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.547115373890847] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'ramp.y', 'ramp1.y'] 8.698425837326795 8.715984866 8.575161487 Calling exit ...