Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001752/0.001752, 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.002376/0.002376, 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.548/1.548, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2499/0.2499, allocations: 46.89 MB / 357.4 MB, free: 10.59 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",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.002345/0.002345, allocations: 75.88 kB / 0.4913 GB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1632, allocations: 65.98 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003763/0.167, allocations: 1.661 MB / 0.5573 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1682, allocations: 0.545 MB / 0.5578 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.1683, allocations: 0 / 0.5578 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1686, allocations: 103.7 kB / 0.5579 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.169, allocations: 107.6 kB / 0.558 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1693, allocations: 99.19 kB / 0.5581 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1695, allocations: 95.8 kB / 0.5582 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1696, allocations: 19.98 kB / 0.5582 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.1696, allocations: 47.77 kB / 0.5583 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1698, allocations: 67.81 kB / 0.5584 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1698, allocations: 11.92 kB / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1699, allocations: 47.98 kB / 0.5584 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.17, allocations: 19.92 kB / 0.5584 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.17, allocations: 43.67 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1702, allocations: 135.3 kB / 0.5586 GB, free: 3.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1702, allocations: 0 / 0.5586 GB, free: 3.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1702, allocations: 0 / 0.5586 GB, free: 3.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1703, allocations: 0 / 0.5586 GB, free: 3.414 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006153/0.1709, allocations: 438.6 kB / 0.559 GB, free: 2.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1709, allocations: 12.03 kB / 0.559 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.171, allocations: 34.75 kB / 0.5591 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.171, allocations: 20.78 kB / 0.5591 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1713, allocations: 208.1 kB / 0.5593 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1713, allocations: 4.312 kB / 0.5593 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.1714, allocations: 8.375 kB / 0.5593 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1716, allocations: 66.22 kB / 0.5594 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1716, allocations: 11.89 kB / 0.5594 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1716, allocations: 4 kB / 0.5594 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1716, allocations: 4 kB / 0.5594 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1717, allocations: 39.97 kB / 0.5594 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.1723, allocations: 336.6 kB / 0.5597 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1725, allocations: 54.56 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.1725, allocations: 20.84 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.1726, allocations: 8 kB / 0.5598 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.1726, allocations: 34.56 kB / 0.5599 GB, free: 1.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1726, allocations: 0 / 0.5599 GB, free: 1.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001152/0.1738, allocations: 317.2 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1738, allocations: 55.34 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1741, allocations: 239.5 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1741, allocations: 25.7 kB / 0.5605 GB, free: 1.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.1742, allocations: 116.1 kB / 0.5606 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.1743, allocations: 43.58 kB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.1743, allocations: 29.7 kB / 0.5606 GB, free: 1.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1745, allocations: 326.8 kB / 0.561 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.1746, allocations: 39.98 kB / 0.561 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.1747, allocations: 39.97 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1749, allocations: 84.83 kB / 0.5611 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1749, allocations: 0 / 0.5611 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002969/0.1752, allocations: 144.8 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1752, allocations: 8 kB / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1752, allocations: 4 kB / 0.5613 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1752, allocations: 0 / 0.5613 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1754, allocations: 23.98 kB / 0.5613 GB, free: 440 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.1754, allocations: 11.92 kB / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.1754, allocations: 0 / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1754, allocations: 4 kB / 0.5613 GB, free: 424 kB / 414.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 (13): * Single equations (assignments): 13 * 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.0001545/0.1756, allocations: 141.8 kB / 0.5614 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.1756, allocations: 11.91 kB / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.176, allocations: 160 kB / 0.5616 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1761, allocations: 7.938 kB / 0.5616 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1761, allocations: 3.938 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1761, allocations: 0 / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.1768, allocations: 487 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1768, allocations: 7.969 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.1769, allocations: 23.98 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1769, allocations: 0 / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1769, allocations: 4 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1769, allocations: 0 / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.1769, allocations: 3.984 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.1772, allocations: 252.2 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.1773, allocations: 89.02 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1773, allocations: 4 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1774, allocations: 11.98 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.1774, allocations: 8 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1775, allocations: 7.984 kB / 0.5625 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1776, allocations: 185.1 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1776, allocations: 0 / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1779, allocations: 27.92 kB / 0.5627 GB, free: 14.89 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 (13): * Single equations (assignments): 13 * 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.002248/0.1802, allocations: 1.122 MB / 0.5638 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.1805, allocations: 91.94 kB / 0.5639 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1805, allocations: 3.938 kB / 0.5639 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.1806, allocations: 47.92 kB / 0.5639 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.181, allocations: 33.27 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1834, allocations: 1.842 MB / 0.5657 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1838, allocations: 0.7236 MB / 0.5664 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.1839, allocations: 16.55 kB / 0.5665 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.184, allocations: 47.41 kB / 0.5665 GB, free: 11.01 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.184, allocations: 0 / 0.5665 GB, free: 11.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.2117, allocations: 3.559 MB / 0.57 GB, free: 7.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.469, allocations: 6.047 kB / 0.57 GB, free: 7.508 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.596316664945334] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.595642472617328 8.610633439 8.437289101 Calling exit ...