Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.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.00126/0.00126, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.001397/0.001397, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.5/1.5, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2755/0.2755, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",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.002323/0.002323, allocations: 80.11 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1483, allocations: 66.04 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003388/0.1517, allocations: 1.62 MB / 0.5578 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1528, allocations: 0.5449 MB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.1529, allocations: 3.938 kB / 0.5583 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1532, allocations: 75.77 kB / 0.5584 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.1535, allocations: 107.6 kB / 0.5585 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1538, allocations: 91.25 kB / 0.5586 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.154, allocations: 83.75 kB / 0.5586 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1541, allocations: 15.98 kB / 0.5587 GB, free: 3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.1542, allocations: 43.78 kB / 0.5587 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1543, allocations: 63.8 kB / 0.5588 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1543, allocations: 4 kB / 0.5588 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1544, allocations: 43.98 kB / 0.5588 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.1545, allocations: 23.91 kB / 0.5588 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.1545, allocations: 31.75 kB / 0.5589 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1548, allocations: 99.58 kB / 0.559 GB, free: 2.695 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1548, allocations: 7.875 kB / 0.559 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.262e-06/0.1548, allocations: 3.984 kB / 0.559 GB, free: 2.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1548, allocations: 4 kB / 0.559 GB, free: 2.68 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.00057/0.1554, allocations: 414.7 kB / 0.5594 GB, free: 2.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1554, allocations: 12.03 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1555, allocations: 30.75 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.1555, allocations: 12.84 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1557, allocations: 208.8 kB / 0.5596 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1557, allocations: 4.375 kB / 0.5596 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1558, allocations: 4.375 kB / 0.5596 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1559, allocations: 58.17 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1559, allocations: 7.938 kB / 0.5597 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.156, allocations: 4 kB / 0.5597 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.156, allocations: 0 / 0.5597 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1561, allocations: 27.97 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1565, allocations: 284.8 kB / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1566, allocations: 46.5 kB / 0.56 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1567, allocations: 20.94 kB / 0.5601 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1567, allocations: 0 / 0.5601 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1567, allocations: 30.56 kB / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1567, allocations: 0 / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009318/0.1577, allocations: 229.7 kB / 0.5603 GB, free: 1.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.1577, allocations: 51.41 kB / 0.5604 GB, free: 1.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1579, allocations: 218.3 kB / 0.5606 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.158, allocations: 29.69 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.158, allocations: 104.1 kB / 0.5607 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.1581, allocations: 31.67 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.1581, allocations: 25.72 kB / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1583, allocations: 330.8 kB / 0.5611 GB, free: 316 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.1584, allocations: 23.97 kB / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.1584, allocations: 27.92 kB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1586, allocations: 61.06 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1586, allocations: 0 / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.1588, allocations: 105.6 kB / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1588, allocations: 8 kB / 0.5613 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1588, allocations: 96 / 0.5613 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1588, allocations: 3.984 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1589, allocations: 15.98 kB / 0.5613 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.159, allocations: 7.938 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.159, allocations: 7.984 kB / 0.5613 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.159, allocations: 7.938 kB / 0.5613 GB, free: 36 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 (8): * Single equations (assignments): 8 * 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.0001192/0.1591, allocations: 125.8 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1592, allocations: 19.83 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1595, allocations: 111.1 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1595, allocations: 3.984 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1595, allocations: 4 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1595, allocations: 4 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.16, allocations: 411.2 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.16, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.1601, allocations: 19.92 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1601, allocations: 0 / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1601, allocations: 11.94 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1601, allocations: 0 / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1601, allocations: 0 / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.1604, allocations: 200.4 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.1605, allocations: 89.02 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1605, allocations: 3.938 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.1606, allocations: 15.92 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1606, allocations: 4 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1606, allocations: 4 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1608, allocations: 164.2 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1608, allocations: 7.938 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1611, allocations: 23.92 kB / 0.5625 GB, free: 14.72 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 (8): * Single equations (assignments): 8 * 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.002219/0.1633, allocations: 1.079 MB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.1636, allocations: 63.89 kB / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1636, allocations: 0 / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/0.1637, allocations: 39.91 kB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.164, allocations: 22.33 kB / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1662, allocations: 1.673 MB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1666, allocations: 0.708 MB / 0.566 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.018e-05/0.1666, allocations: 12.97 kB / 0.566 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.1667, allocations: 31.42 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1667, allocations: 4 kB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1918, allocations: 3.147 MB / 0.5691 GB, free: 8.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.116, allocations: 10.91 kB / 0.5691 GB, free: 8.027 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.373861418105662] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.252994237001985 8.269690457 8.111620799 Calling exit ...