Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001634/0.001634, 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.001861/0.001861, 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.519/1.519, allocations: 230.2 MB / 254.5 MB, free: 15.07 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.89 MB / 357.4 MB, free: 10.51 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",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.002335/0.002335, allocations: 79.86 kB / 0.4912 GB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1519, allocations: 65.99 MB / 0.5557 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003382/0.1553, allocations: 1.602 MB / 0.5572 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1564, allocations: 0.5371 MB / 0.5578 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.1564, allocations: 0 / 0.5578 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.1567, allocations: 23.84 kB / 0.5578 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.1569, allocations: 79.62 kB / 0.5579 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.1572, allocations: 99.62 kB / 0.558 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1574, allocations: 63.84 kB / 0.558 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1575, allocations: 11.98 kB / 0.558 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.01e-05/0.1576, allocations: 23.86 kB / 0.5581 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.1576, allocations: 23.86 kB / 0.5581 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1577, allocations: 0 / 0.5581 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.502e-05/0.1577, allocations: 27.98 kB / 0.5581 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1578, allocations: 15.92 kB / 0.5581 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.1578, allocations: 23.8 kB / 0.5581 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.158, allocations: 75.67 kB / 0.5582 GB, free: 3.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.158, allocations: 0 / 0.5582 GB, free: 3.816 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.158, allocations: 8 kB / 0.5582 GB, free: 3.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.158, allocations: 0 / 0.5582 GB, free: 3.809 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.0005738/0.1586, allocations: 390.9 kB / 0.5586 GB, free: 3.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.1587, allocations: 8.031 kB / 0.5586 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.1587, allocations: 30.75 kB / 0.5586 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.1587, allocations: 12.88 kB / 0.5586 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.159, allocations: 192.2 kB / 0.5588 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-06/0.159, allocations: 384 / 0.5588 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.159, allocations: 4.312 kB / 0.5588 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1592, allocations: 58.23 kB / 0.5589 GB, free: 3.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1592, allocations: 7.875 kB / 0.5589 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1592, allocations: 0 / 0.5589 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1592, allocations: 4 kB / 0.5589 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.104e-05/0.1593, allocations: 27.92 kB / 0.5589 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1597, allocations: 272.9 kB / 0.5592 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.1599, allocations: 42.56 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.16, allocations: 20.94 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.16, allocations: 0 / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.16, allocations: 34.5 kB / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.16, allocations: 0 / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005628/0.1606, allocations: 145.4 kB / 0.5594 GB, free: 2.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1606, allocations: 51.41 kB / 0.5595 GB, free: 2.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1608, allocations: 156.4 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1608, allocations: 25.7 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.1609, allocations: 96.12 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1609, allocations: 19.8 kB / 0.5597 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1609, allocations: 13.72 kB / 0.5598 GB, free: 2.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1611, allocations: 330.8 kB / 0.5601 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.1611, allocations: 19.98 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.1612, allocations: 15.98 kB / 0.5601 GB, free: 1.641 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1613, allocations: 44.83 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1613, allocations: 0 / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.1615, allocations: 85.56 kB / 0.5602 GB, free: 1.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1615, allocations: 8 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1615, allocations: 0 / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1615, allocations: 4 kB / 0.5602 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.1616, allocations: 11.98 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1616, allocations: 0 / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.1617, allocations: 7.984 kB / 0.5603 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1617, allocations: 0 / 0.5603 GB, free: 1.473 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 8.904e-05/0.1617, allocations: 117.8 kB / 0.5604 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.1618, allocations: 11.95 kB / 0.5604 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.162, allocations: 94.22 kB / 0.5605 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.162, allocations: 3.938 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.162, allocations: 4 kB / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.162, allocations: 4 kB / 0.5605 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.1625, allocations: 342.5 kB / 0.5608 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1625, allocations: 0 / 0.5608 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.1625, allocations: 15.98 kB / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1625, allocations: 0 / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1626, allocations: 4 kB / 0.5608 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1626, allocations: 4 kB / 0.5608 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1626, allocations: 11.81 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1628, allocations: 171.5 kB / 0.561 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.1628, allocations: 89.05 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1629, allocations: 4 kB / 0.5611 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.1629, allocations: 0 / 0.5611 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.163, allocations: 11.92 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.163, allocations: 0 / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1631, allocations: 117.2 kB / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1631, allocations: 0 / 0.5612 GB, free: 388 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1633, allocations: 23.92 kB / 0.5612 GB, free: 364 kB / 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.001988/0.1653, allocations: 1.012 MB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1655, allocations: 43.97 kB / 0.5623 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1655, allocations: 0 / 0.5623 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.1656, allocations: 31.91 kB / 0.5623 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.166, allocations: 15.94 kB / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1678, allocations: 1.433 MB / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1682, allocations: 0.6885 MB / 0.5644 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.1682, allocations: 19.84 kB / 0.5644 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.1683, allocations: 27.42 kB / 0.5644 GB, free: 13.1 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1683, allocations: 0 / 0.5644 GB, free: 13.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.1937, allocations: 2.568 MB / 0.567 GB, free: 10.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.469, allocations: 14.09 kB / 0.567 GB, free: 10.58 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.553295526653528] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.589531188830733 8.60383432 8.442919017 Calling exit ...