Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001587/0.001587, allocations: 122.6 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.00201/0.00201, 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.529/1.529, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2305/0.2305, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",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.002271/0.002271, allocations: 79.86 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1418, allocations: 66.03 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003598/0.1453, allocations: 1.691 MB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1465, allocations: 0.5839 MB / 0.5584 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.1466, allocations: 0 / 0.5584 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1469, allocations: 51.81 kB / 0.5585 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.1473, allocations: 87.59 kB / 0.5585 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.1478, allocations: 182.1 kB / 0.5587 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.148, allocations: 91.8 kB / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1481, allocations: 12.17 kB / 0.5588 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.1482, allocations: 39.84 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1483, allocations: 47.77 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1483, allocations: 8 kB / 0.5589 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1485, allocations: 55.97 kB / 0.559 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.1486, allocations: 23.91 kB / 0.559 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.1486, allocations: 35.69 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1489, allocations: 123.4 kB / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1489, allocations: 0 / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1489, allocations: 0 / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1489, allocations: 0 / 0.5591 GB, free: 2.52 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.0006635/0.1496, allocations: 422.7 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1496, allocations: 16.03 kB / 0.5595 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.1496, allocations: 34.75 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1497, allocations: 12.84 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1499, allocations: 208.2 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.1499, allocations: 384 / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.15, allocations: 12.31 kB / 0.5598 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1502, allocations: 62.23 kB / 0.5599 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1502, allocations: 3.938 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1502, allocations: 0 / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1502, allocations: 4 kB / 0.5599 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1503, allocations: 43.95 kB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.1508, allocations: 324.7 kB / 0.5602 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1511, allocations: 62.55 kB / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.1512, allocations: 32.95 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1512, allocations: 0 / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1512, allocations: 34.59 kB / 0.5603 GB, free: 1.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1512, allocations: 0 / 0.5603 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001603/0.1528, allocations: 429.3 kB / 0.5608 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1529, allocations: 55.41 kB / 0.5608 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1531, allocations: 190.1 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1531, allocations: 25.7 kB / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1532, allocations: 108.1 kB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.1532, allocations: 47.56 kB / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.1533, allocations: 25.7 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1534, allocations: 330.8 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1536, allocations: 48.16 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1537, allocations: 56.02 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.154, allocations: 132.7 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.154, allocations: 0 / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000358/0.1544, allocations: 169.5 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1544, allocations: 10.44 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1544, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1544, allocations: 3.984 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1545, allocations: 23.98 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1545, allocations: 7.938 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.1546, allocations: 11.98 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1546, allocations: 8 kB / 0.562 GB, free: 15.39 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.0001172/0.1547, allocations: 129.8 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1548, allocations: 15.91 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.1552, allocations: 186.2 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1552, allocations: 0 / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.1552, allocations: 7.938 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1552, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007875/0.156, allocations: 0.4961 MB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.156, allocations: 3.938 kB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1561, allocations: 27.98 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1561, allocations: 4 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1561, allocations: 8 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1561, allocations: 0 / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1561, allocations: 0 / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.1566, allocations: 273.1 kB / 0.5631 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.1566, allocations: 96.94 kB / 0.5632 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1566, allocations: 4 kB / 0.5632 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1567, allocations: 11.98 kB / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1568, allocations: 15.92 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1568, allocations: 0 / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1569, allocations: 139.2 kB / 0.5633 GB, free: 13.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1569, allocations: 4 kB / 0.5633 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1572, allocations: 27.92 kB / 0.5634 GB, free: 13.84 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.002273/0.1594, allocations: 1.156 MB / 0.5645 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.1598, allocations: 127.8 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1598, allocations: 0 / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.16, allocations: 67.89 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.0003744/0.1604, allocations: 18.69 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.1629, allocations: 1.903 MB / 0.5665 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1633, allocations: 0.7197 MB / 0.5672 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.544e-05/0.1634, allocations: 32.52 kB / 0.5673 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.1634, allocations: 39.42 kB / 0.5673 GB, free: 9.797 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1634, allocations: 0 / 0.5673 GB, free: 9.797 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1873, allocations: 3.493 MB / 0.5707 GB, free: 6.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.093, allocations: 4.062 kB / 0.5707 GB, free: 6.363 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_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_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.357069980353117] 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.21580468909815 8.240509716 8.087044853 Calling exit ...