Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.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.001268/0.001268, allocations: 122.5 kB / 18.51 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.001351/0.001351, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.469/1.469, allocations: 230.4 MB / 254.7 MB, free: 15 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.2866/0.2866, 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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test32",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.002312/0.002312, allocations: 76.2 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1469, allocations: 66.05 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.004434/0.1513, allocations: 1.668 MB / 0.5578 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1541, allocations: 1.21 MB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.1542, allocations: 0 / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.1545, allocations: 35.72 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.1549, allocations: 87.61 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.1556, allocations: 174.3 kB / 0.5593 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1558, allocations: 75.83 kB / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.156, allocations: 15.98 kB / 0.5594 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.1561, allocations: 35.86 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1563, allocations: 39.83 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1563, allocations: 8 kB / 0.5594 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.1566, allocations: 103.9 kB / 0.5595 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.1566, allocations: 19.92 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.1567, allocations: 31.75 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.1571, allocations: 159.4 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1571, allocations: 0 / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1571, allocations: 0 / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1571, 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.0009431/0.1581, allocations: 430.6 kB / 0.5602 GB, free: 1.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.1581, allocations: 12.03 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.1582, allocations: 30.75 kB / 0.5602 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.1583, allocations: 8.891 kB / 0.5602 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1586, allocations: 204.2 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1586, allocations: 384 / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1587, allocations: 4.375 kB / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1589, allocations: 87.88 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.159, allocations: 3.938 kB / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.159, allocations: 0 / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.159, allocations: 0 / 0.5605 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.1592, allocations: 43.95 kB / 0.5605 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.1599, allocations: 308.7 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1601, allocations: 50.56 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1602, allocations: 24.94 kB / 0.5609 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.1602, allocations: 0 / 0.5609 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.1602, allocations: 34.55 kB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1602, allocations: 0 / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001216/0.1615, allocations: 237.3 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.1615, allocations: 77.11 kB / 0.5612 GB, free: 144 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.1619, allocations: 160.1 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1619, allocations: 29.64 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.162, allocations: 100.1 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.162, allocations: 27.8 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.1621, allocations: 21.7 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1623, allocations: 322.8 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.1625, allocations: 39.95 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.1627, allocations: 53.62 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.1631, allocations: 92.83 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1631, allocations: 0 / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004812/0.1635, allocations: 125.5 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1636, allocations: 4 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1636, allocations: 0 / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1636, allocations: 4 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1638, allocations: 19.98 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1638, allocations: 3.938 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1639, allocations: 11.98 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1639, allocations: 7.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.0001451/0.164, allocations: 129.8 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.1641, allocations: 11.91 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.1646, allocations: 142.6 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1646, allocations: 288 / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1647, allocations: 4 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1647, allocations: 0 / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.1656, allocations: 422.3 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1656, allocations: 3.984 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1657, allocations: 23.98 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1657, allocations: 0 / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1657, allocations: 0 / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.1657, allocations: 3.938 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1657, allocations: 0 / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.1663, allocations: 227.4 kB / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.1664, allocations: 85.05 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.1664, allocations: 7.938 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1666, allocations: 15.92 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.1666, allocations: 7.984 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1666, allocations: 0 / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1668, allocations: 121.7 kB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1668, allocations: 0 / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.1673, allocations: 47.88 kB / 0.5634 GB, free: 13.75 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.003111/0.1704, allocations: 1.137 MB / 0.5645 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004691/0.1709, allocations: 95.91 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1709, allocations: 0 / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.1711, allocations: 47.91 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.1717, allocations: 26.5 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.175, allocations: 1.643 MB / 0.5663 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.1755, allocations: 0.7078 MB / 0.567 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.1756, allocations: 28.72 kB / 0.567 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1757, allocations: 39.44 kB / 0.567 GB, free: 10.07 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1757, allocations: 0 / 0.567 GB, free: 10.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.2077, allocations: 3.618 MB / 0.5706 GB, free: 6.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.297, allocations: 5.203 kB / 0.5706 GB, free: 6.477 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32_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_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.39882515417412] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.417621711269021 8.438578152 8.277077619 Calling exit ...