Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001358/0.001358, allocations: 116.5 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.001488/0.001488, allocations: 216.9 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.537/1.537, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2382/0.2382, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",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.00262/0.00262, allocations: 78.06 kB / 0.4912 GB, free: 26.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1536, allocations: 65.98 MB / 0.5557 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.004214/0.1578, allocations: 1.607 MB / 0.5572 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1593, allocations: 0.5371 MB / 0.5578 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.1594, allocations: 0 / 0.5578 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1597, allocations: 39.77 kB / 0.5578 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.1601, allocations: 75.69 kB / 0.5579 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.1605, allocations: 87.7 kB / 0.558 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1607, allocations: 63.83 kB / 0.558 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1608, allocations: 15.88 kB / 0.558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.1609, allocations: 23.91 kB / 0.5581 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.161, allocations: 27.86 kB / 0.5581 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.161, allocations: 4 kB / 0.5581 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1611, allocations: 27.98 kB / 0.5581 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.1612, allocations: 15.92 kB / 0.5581 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.1612, allocations: 19.81 kB / 0.5581 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1614, allocations: 79.72 kB / 0.5582 GB, free: 6.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1614, allocations: 3.938 kB / 0.5582 GB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1615, allocations: 0 / 0.5582 GB, free: 6.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1615, allocations: 4 kB / 0.5582 GB, free: 6.492 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.0007435/0.1622, allocations: 394.9 kB / 0.5586 GB, free: 6.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.1623, allocations: 8.031 kB / 0.5586 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.933e-05/0.1623, allocations: 34.75 kB / 0.5586 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1624, allocations: 8.891 kB / 0.5587 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1627, allocations: 198.6 kB / 0.5588 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1627, allocations: 384 / 0.5588 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1628, allocations: 8.375 kB / 0.5589 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1629, allocations: 42.25 kB / 0.5589 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.163, allocations: 7.875 kB / 0.5589 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.163, allocations: 4 kB / 0.5589 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.163, allocations: 4 kB / 0.5589 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1631, allocations: 27.95 kB / 0.5589 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.1637, allocations: 276.9 kB / 0.5592 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.164, allocations: 42.5 kB / 0.5592 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.164, allocations: 16.94 kB / 0.5593 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.1641, allocations: 8 kB / 0.5593 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1641, allocations: 30.56 kB / 0.5593 GB, free: 5.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.1641, allocations: 0 / 0.5593 GB, free: 5.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008549/0.165, allocations: 141.4 kB / 0.5594 GB, free: 5.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.165, allocations: 51.41 kB / 0.5595 GB, free: 5.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1653, allocations: 169.8 kB / 0.5596 GB, free: 4.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1653, allocations: 25.7 kB / 0.5597 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1654, allocations: 100.1 kB / 0.5598 GB, free: 4.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1654, allocations: 15.86 kB / 0.5598 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.1655, allocations: 17.72 kB / 0.5598 GB, free: 4.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002606/0.1658, allocations: 326.7 kB / 0.5601 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.1658, allocations: 15.98 kB / 0.5601 GB, free: 4.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.1659, allocations: 23.98 kB / 0.5601 GB, free: 4.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1662, allocations: 48.83 kB / 0.5602 GB, free: 4.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1662, allocations: 0 / 0.5602 GB, free: 4.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002645/0.1664, allocations: 81.56 kB / 0.5603 GB, free: 4.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1664, allocations: 5.875 kB / 0.5603 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1664, allocations: 7.922 kB / 0.5603 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1665, allocations: 0 / 0.5603 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.1666, allocations: 16 kB / 0.5603 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1666, allocations: 0 / 0.5603 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.1666, allocations: 7.984 kB / 0.5603 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1666, allocations: 3.938 kB / 0.5603 GB, free: 4.133 MB / 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 (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.0001405/0.1668, allocations: 117.8 kB / 0.5604 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.1668, allocations: 7.953 kB / 0.5604 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.1671, allocations: 97.89 kB / 0.5605 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1671, allocations: 4 kB / 0.5605 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1671, allocations: 0 / 0.5605 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1671, allocations: 0 / 0.5605 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007157/0.1679, allocations: 346.8 kB / 0.5608 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1679, allocations: 0 / 0.5608 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.1679, allocations: 23.98 kB / 0.5609 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1679, allocations: 0 / 0.5609 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.168, allocations: 0 / 0.5609 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.168, allocations: 3.938 kB / 0.5609 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.168, allocations: 4 kB / 0.5609 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1683, allocations: 175.5 kB / 0.561 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.1683, allocations: 85.06 kB / 0.5611 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1684, allocations: 0 / 0.5611 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1685, allocations: 11.92 kB / 0.5611 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1685, allocations: 4 kB / 0.5611 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1685, allocations: 8 kB / 0.5612 GB, free: 3.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1687, allocations: 126.2 kB / 0.5613 GB, free: 3.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 0 / 0.5613 GB, free: 3.031 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.1691, allocations: 19.89 kB / 0.5613 GB, free: 3.012 MB / 414.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.002662/0.1717, allocations: 1.017 MB / 0.5623 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.172, allocations: 43.97 kB / 0.5623 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.172, allocations: 0 / 0.5623 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1721, allocations: 27.92 kB / 0.5624 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.1727, allocations: 22.38 kB / 0.5624 GB, free: 2.031 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.1753, allocations: 1.46 MB / 0.5638 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.1759, allocations: 0.6963 MB / 0.5645 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.1759, allocations: 15.77 kB / 0.5645 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.176, allocations: 27.42 kB / 0.5645 GB, free: 15.72 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.176, allocations: 3.938 kB / 0.5645 GB, free: 15.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.2046, allocations: 2.611 MB / 0.5671 GB, free: 13.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.323, allocations: 15.72 kB / 0.5671 GB, free: 13.14 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.355878546833992] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.450608255341649 8.476527855 8.310258694 Calling exit ...