Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.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.001695/0.001695, 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.001991/0.001991, 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.517/1.517, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2342/0.2342, allocations: 46.89 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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",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.002265/0.002265, allocations: 79.88 kB / 0.4913 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1464, allocations: 65.98 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.00324/0.1496, allocations: 1.692 MB / 0.5573 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1506, allocations: 0.5565 MB / 0.5579 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.1507, allocations: 4 kB / 0.5579 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.151, allocations: 55.8 kB / 0.5579 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1513, allocations: 99.59 kB / 0.558 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1516, allocations: 135 kB / 0.5582 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1518, allocations: 75.81 kB / 0.5582 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1519, allocations: 24.16 kB / 0.5583 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.099e-05/0.1519, allocations: 27.92 kB / 0.5583 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1521, allocations: 51.75 kB / 0.5583 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1521, allocations: 4 kB / 0.5583 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1522, allocations: 59.92 kB / 0.5584 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.1523, allocations: 23.91 kB / 0.5584 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.1523, allocations: 31.73 kB / 0.5584 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1525, allocations: 111.6 kB / 0.5586 GB, free: 3.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1525, allocations: 0 / 0.5586 GB, free: 3.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1525, allocations: 0 / 0.5586 GB, free: 3.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1526, allocations: 0 / 0.5586 GB, free: 3.449 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.0005998/0.1532, allocations: 434.7 kB / 0.559 GB, free: 2.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1532, allocations: 11.97 kB / 0.559 GB, free: 2.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.1532, allocations: 34.75 kB / 0.559 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1533, allocations: 20.78 kB / 0.559 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1535, allocations: 204.2 kB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1535, allocations: 384 / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.1536, allocations: 8.375 kB / 0.5592 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1538, allocations: 66.22 kB / 0.5593 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1538, allocations: 3.938 kB / 0.5593 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1538, allocations: 0 / 0.5593 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1538, allocations: 4 kB / 0.5593 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1539, allocations: 39.91 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.1544, allocations: 304.8 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1547, allocations: 62.58 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.1548, allocations: 24.97 kB / 0.5597 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1548, allocations: 0 / 0.5597 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.1548, allocations: 30.56 kB / 0.5597 GB, free: 2.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1548, allocations: 0 / 0.5597 GB, free: 2.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001456/0.1563, allocations: 401 kB / 0.5601 GB, free: 1.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.1563, allocations: 59.34 kB / 0.5602 GB, free: 1.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1565, allocations: 193.4 kB / 0.5604 GB, free: 1.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1566, allocations: 37.64 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.1566, allocations: 108 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.1567, allocations: 39.67 kB / 0.5605 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.1567, allocations: 37.64 kB / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1569, allocations: 322.8 kB / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.157, allocations: 43.97 kB / 0.5609 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1571, allocations: 44.02 kB / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.1574, allocations: 100.8 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1574, allocations: 0 / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000314/0.1577, allocations: 145.5 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1577, allocations: 5.719 kB / 0.5612 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.1577, allocations: 0 / 0.5612 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1577, allocations: 4 kB / 0.5612 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1578, allocations: 27.92 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1579, allocations: 7.938 kB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.1579, allocations: 11.98 kB / 0.5613 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1579, allocations: 4 kB / 0.5613 GB, free: 440 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 (11): * Single equations (assignments): 11 * 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.0001119/0.158, allocations: 125.8 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.1581, allocations: 15.91 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.1585, allocations: 163 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1585, allocations: 0 / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1585, allocations: 4.5 kB / 0.5616 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1585, allocations: 0 / 0.5616 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/0.1592, allocations: 476 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1592, allocations: 12 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1593, allocations: 27.97 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1593, allocations: 0 / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1593, allocations: 4 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1593, allocations: 0 / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1593, allocations: 0 / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.1597, allocations: 261.1 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1598, allocations: 92.95 kB / 0.5624 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.1598, allocations: 8.078 kB / 0.5624 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.1599, allocations: 11.94 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1599, allocations: 11.98 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/0.1599, allocations: 4 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1601, allocations: 148.9 kB / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1601, allocations: 7.938 kB / 0.5626 GB, free: 14.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1603, allocations: 23.94 kB / 0.5626 GB, free: 14.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002232/0.1626, allocations: 1.135 MB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003207/0.1629, allocations: 103.9 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1629, allocations: 0 / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.163, allocations: 55.91 kB / 0.5639 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1634, allocations: 19.36 kB / 0.5639 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.1657, allocations: 1.837 MB / 0.5657 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.166, allocations: 0.7079 MB / 0.5664 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.1661, allocations: 16.53 kB / 0.5664 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.1662, allocations: 43.52 kB / 0.5664 GB, free: 11.05 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1662, allocations: 3.938 kB / 0.5664 GB, free: 11.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.1912, allocations: 3.412 MB / 0.5698 GB, free: 7.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.21, allocations: 6.484 kB / 0.5698 GB, free: 7.699 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.338344369083643] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.345450209919363 8.369851213 8.214196784 Calling exit ...