Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001689/0.001689, allocations: 120 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.002018/0.002018, 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.542/1.542, allocations: 230.4 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.2359/0.2359, allocations: 46.93 MB / 357.7 MB, free: 10.18 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",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.002317/0.002317, allocations: 79.86 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1342, allocations: 66.04 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.0031/0.1373, allocations: 1.61 MB / 0.5577 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1392, allocations: 1.179 MB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.1392, allocations: 0 / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1394, allocations: 27.78 kB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.1397, allocations: 79.62 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.14, allocations: 106.9 kB / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1402, allocations: 75.75 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1403, allocations: 8 kB / 0.5592 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.1404, allocations: 31.86 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1405, allocations: 39.83 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1405, allocations: 4 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1407, allocations: 95.94 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.1408, allocations: 15.92 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.1408, allocations: 31.73 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1411, allocations: 135.5 kB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1411, allocations: 0 / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1411, allocations: 0 / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1411, allocations: 0 / 0.5595 GB, free: 2.07 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.0006092/0.1417, allocations: 410.8 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1418, allocations: 12.03 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.1418, allocations: 30.75 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.1418, allocations: 8.891 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1421, allocations: 200.1 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.1421, allocations: 384 / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1421, allocations: 4.375 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1423, allocations: 63.95 kB / 0.5602 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1423, allocations: 7.938 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1423, allocations: 0 / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1423, allocations: 0 / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1424, allocations: 23.98 kB / 0.5602 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.1429, allocations: 288.8 kB / 0.5605 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1431, allocations: 42.56 kB / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.1432, allocations: 24.94 kB / 0.5606 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1432, allocations: 0 / 0.5606 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1432, allocations: 34.56 kB / 0.5606 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1432, allocations: 3.938 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006292/0.1439, allocations: 153.4 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.1439, allocations: 81.11 kB / 0.5608 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1441, allocations: 151.7 kB / 0.561 GB, free: 356 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1441, allocations: 25.7 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.1442, allocations: 96.08 kB / 0.5611 GB, free: 224 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1443, allocations: 19.78 kB / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.1443, allocations: 21.72 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1445, allocations: 322.8 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.1445, allocations: 23.98 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/0.1446, allocations: 37.83 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1448, allocations: 52.83 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1448, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000206/0.145, allocations: 89.61 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.145, allocations: 4 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.145, allocations: 4.031 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.145, allocations: 0 / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.1451, allocations: 19.92 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1451, allocations: 0 / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.1451, allocations: 4 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1452, allocations: 3.984 kB / 0.5617 GB, free: 15.6 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 (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 9.711e-05/0.1452, allocations: 117.8 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.1453, allocations: 7.953 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.1456, allocations: 102 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1456, allocations: 0 / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1456, allocations: 0 / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1456, allocations: 0 / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.1461, allocations: 362.4 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1461, allocations: 4 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.1461, allocations: 8 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1461, allocations: 4 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1461, allocations: 3.984 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1461, allocations: 4.188 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1461, allocations: 7.938 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1464, allocations: 179.4 kB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1464, allocations: 85.06 kB / 0.5625 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.1465, allocations: 8 kB / 0.5625 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1465, allocations: 4 kB / 0.5625 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.1466, allocations: 7.922 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1466, allocations: 4 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1467, allocations: 113.3 kB / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1467, allocations: 0 / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.147, allocations: 43.8 kB / 0.5627 GB, free: 14.45 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 (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.002217/0.1492, allocations: 1.102 MB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1494, allocations: 47.97 kB / 0.5638 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.1494, allocations: 4 kB / 0.5638 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.1495, allocations: 31.91 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.15, allocations: 19.88 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.1518, allocations: 1.447 MB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1522, allocations: 0.6924 MB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.1523, allocations: 20.02 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.1523, allocations: 31.42 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1523, allocations: 0 / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.1798, allocations: 3.281 MB / 0.5692 GB, free: 7.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.141, allocations: 9.141 kB / 0.5692 GB, free: 7.828 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.342331106774509] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.264834510628134 8.287457795 8.142174854 Calling exit ...