Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001416/0.001416, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001444/0.001444, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.481/1.481, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.24/0.24, 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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002243/0.002243, allocations: 83.86 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1296, allocations: 66.04 MB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003279/0.1328, allocations: 1.691 MB / 0.5578 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.134, allocations: 0.58 MB / 0.5584 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.1341, allocations: 4 kB / 0.5584 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1343, allocations: 55.73 kB / 0.5585 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1346, allocations: 91.66 kB / 0.5586 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.1351, allocations: 177.8 kB / 0.5587 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1353, allocations: 87.75 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1354, allocations: 24.16 kB / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.1354, allocations: 35.91 kB / 0.5589 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1355, allocations: 51.75 kB / 0.5589 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1355, allocations: 4 kB / 0.5589 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1357, allocations: 55.98 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1357, allocations: 19.92 kB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1358, allocations: 35.72 kB / 0.559 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.136, allocations: 119.4 kB / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.136, allocations: 4 kB / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.136, allocations: 0 / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.136, allocations: 0 / 0.5591 GB, free: 2.461 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.0005665/0.1366, allocations: 426.7 kB / 0.5595 GB, free: 1.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1366, allocations: 8.031 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1366, allocations: 42.73 kB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1367, allocations: 12.84 kB / 0.5596 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1369, allocations: 200.1 kB / 0.5598 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1369, allocations: 384 / 0.5598 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1369, allocations: 8.375 kB / 0.5598 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1371, allocations: 74.16 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1371, allocations: 3.938 kB / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1371, allocations: 0 / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1371, allocations: 4 kB / 0.5599 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1373, allocations: 43.91 kB / 0.5599 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.1379, allocations: 332.7 kB / 0.5602 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1381, allocations: 62.53 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.1382, allocations: 29 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1382, allocations: 0 / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1383, allocations: 34.56 kB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1383, allocations: 0 / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001598/0.1398, allocations: 429.3 kB / 0.5608 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1399, allocations: 51.41 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1401, allocations: 194.1 kB / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1401, allocations: 29.7 kB / 0.561 GB, free: 312 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.1402, allocations: 104.1 kB / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.1402, allocations: 39.59 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1403, allocations: 29.7 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1404, allocations: 326.8 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1406, allocations: 51.95 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1407, allocations: 63.95 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.141, allocations: 124.8 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.141, allocations: 0 / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003575/0.1414, allocations: 161.5 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1414, allocations: 8 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1414, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1414, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1415, allocations: 35.91 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1415, allocations: 3.938 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.1416, allocations: 11.98 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1416, allocations: 4 kB / 0.562 GB, free: 15.33 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 (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.0001109/0.1417, allocations: 129.8 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.1418, allocations: 11.91 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.1422, allocations: 186.2 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1422, allocations: 4 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1422, allocations: 3.938 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1422, allocations: 0 / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/0.1431, allocations: 0.5038 MB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1431, allocations: 3.938 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1432, allocations: 35.91 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1432, allocations: 192 / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1432, allocations: 8 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1432, allocations: 4 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1432, allocations: 0 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.1436, allocations: 277.1 kB / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.1437, allocations: 92.95 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1437, allocations: 0 / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1438, allocations: 15.98 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1439, allocations: 7.984 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1439, allocations: 8 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.144, allocations: 139.2 kB / 0.5633 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.144, allocations: 0 / 0.5633 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1443, allocations: 27.94 kB / 0.5634 GB, free: 13.77 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.002438/0.1467, allocations: 1.156 MB / 0.5645 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.1471, allocations: 127.8 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1471, allocations: 0 / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.1472, allocations: 63.89 kB / 0.5647 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1476, allocations: 19.98 kB / 0.5647 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.1503, allocations: 1.905 MB / 0.5666 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.1507, allocations: 0.7158 MB / 0.5673 GB, free: 9.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.1508, allocations: 28.53 kB / 0.5673 GB, free: 9.781 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.1509, allocations: 35.42 kB / 0.5673 GB, free: 9.746 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1509, allocations: 0 / 0.5673 GB, free: 9.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.1775, allocations: 3.505 MB / 0.5707 GB, free: 6.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.299, allocations: 0 / 0.5707 GB, free: 6.305 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.422414468135685] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.417907888069749 8.434627383 8.295307745 Calling exit ...