Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001813/0.001813, allocations: 120 kB / 18.5 MB, free: 4.539 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.00217/0.00217, allocations: 209.7 kB / 21.46 MB, free: 1.586 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.459/1.459, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.2386/0.2386, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",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.002352/0.002352, allocations: 80.16 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1423, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.004668/0.147, allocations: 1.657 MB / 0.5578 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.149, allocations: 1.218 MB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.1491, allocations: 0 / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.1493, allocations: 31.78 kB / 0.559 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.1497, allocations: 79.62 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1501, allocations: 181.7 kB / 0.5593 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.1503, allocations: 79.77 kB / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1504, allocations: 12 kB / 0.5594 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.1505, allocations: 35.84 kB / 0.5594 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1507, allocations: 35.84 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1507, allocations: 7.984 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1509, allocations: 103.9 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.151, allocations: 27.91 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.151, allocations: 35.75 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1513, allocations: 155.4 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1513, allocations: 0 / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1513, allocations: 0 / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1513, allocations: 0 / 0.5597 GB, free: 1.871 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.0006675/0.152, allocations: 430.6 kB / 0.5602 GB, free: 1.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.152, allocations: 8.031 kB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.1521, allocations: 34.75 kB / 0.5602 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.1521, allocations: 8.891 kB / 0.5602 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1524, allocations: 200.2 kB / 0.5604 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1524, allocations: 4.375 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1524, allocations: 384 / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1526, allocations: 83.86 kB / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1526, allocations: 7.938 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1527, allocations: 4 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1527, allocations: 0 / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.1528, allocations: 43.95 kB / 0.5605 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.1533, allocations: 308.8 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.1535, allocations: 50.5 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.1536, allocations: 20.94 kB / 0.5609 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1536, allocations: 8 kB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.1536, allocations: 34.55 kB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1536, allocations: 0 / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008779/0.1545, allocations: 237.3 kB / 0.5612 GB, free: 236 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.1546, allocations: 81.11 kB / 0.5612 GB, free: 136 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1548, allocations: 160 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1548, allocations: 29.64 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.1549, allocations: 100.1 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1549, allocations: 23.8 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.155, allocations: 21.7 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1551, allocations: 322.8 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1552, allocations: 43.95 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1554, allocations: 49.69 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.1556, allocations: 88.73 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1556, allocations: 0 / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003122/0.1559, allocations: 129.6 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.156, allocations: 4 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.156, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.156, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1561, allocations: 19.98 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.1561, allocations: 3.984 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.1562, allocations: 12 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1562, allocations: 3.938 kB / 0.5622 GB, free: 15.09 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0001213/0.1563, allocations: 129.8 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.1564, allocations: 15.84 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004167/0.1568, allocations: 138.3 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1568, allocations: 0 / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1568, allocations: 4 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1568, allocations: 0 / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006516/0.1574, allocations: 422.6 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1574, allocations: 0 / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.1575, allocations: 15.98 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1575, allocations: 4 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1576, allocations: 8 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1576, allocations: 7.938 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1576, allocations: 4.453 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.1579, allocations: 219.4 kB / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.158, allocations: 89.05 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.158, allocations: 7.875 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1581, allocations: 23.92 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1582, allocations: 7.984 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1582, allocations: 0 / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1583, allocations: 117.7 kB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1583, allocations: 0 / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.1586, allocations: 39.88 kB / 0.5634 GB, free: 13.76 MB / 430.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 (7): * Single equations (assignments): 7 * 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.002475/0.1611, allocations: 1.142 MB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.1615, allocations: 91.86 kB / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1615, allocations: 0 / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1616, allocations: 47.97 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.162, allocations: 24.17 kB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1645, allocations: 1.655 MB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1648, allocations: 0.7039 MB / 0.567 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.1649, allocations: 20.42 kB / 0.567 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.165, allocations: 31.41 kB / 0.567 GB, free: 10.08 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.165, allocations: 4 kB / 0.567 GB, free: 10.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.1959, allocations: 3.628 MB / 0.5706 GB, free: 6.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.294, allocations: 6.672 kB / 0.5706 GB, free: 6.473 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.417151613160968] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.418872006237507 8.436872564 8.28176486 Calling exit ...