Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001249/0.001249, allocations: 105 kB / 21.22 MB, free: 0.6758 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.001437/0.001437, allocations: 209.7 kB / 24.53 MB, free: 4.035 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.496/1.496, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.3344/0.3344, allocations: 46.94 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 179] 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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",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.002398/0.002398, allocations: 75.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4166, allocations: 66.08 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003595/0.4202, allocations: 1.702 MB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.4214, allocations: 0.6005 MB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.4214, allocations: 0 / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.4217, allocations: 55.73 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.422, allocations: 103.6 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.4225, allocations: 179.1 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.4226, allocations: 95.73 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4228, allocations: 18.19 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.4229, allocations: 43.84 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.423, allocations: 55.75 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.423, allocations: 4 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.4231, allocations: 47.98 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.4232, allocations: 31.84 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.4232, allocations: 35.73 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.4235, allocations: 123.4 kB / 0.5645 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4235, allocations: 4 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4235, allocations: 0 / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4235, allocations: 0 / 0.5645 GB, free: 1.195 MB / 398.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.0005905/0.4241, allocations: 345.6 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4241, allocations: 12.03 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.4241, allocations: 34.75 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.4242, allocations: 12.84 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.4244, allocations: 147 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4244, allocations: 4.375 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4244, allocations: 8.375 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.4246, allocations: 66.22 kB / 0.5651 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4246, allocations: 11.89 kB / 0.5652 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4246, allocations: 4 kB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4246, allocations: 3.984 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.4248, allocations: 47.89 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.4253, allocations: 299.7 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.4255, allocations: 62.58 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.4256, allocations: 24.97 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4256, allocations: 0 / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.4257, allocations: 38.56 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.4257, allocations: 0 / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001494/0.4272, allocations: 428.9 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.4272, allocations: 51.41 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.4275, allocations: 195.2 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4275, allocations: 29.7 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.4276, allocations: 104.1 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.4276, allocations: 43.58 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.4277, allocations: 29.72 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4278, allocations: 326.8 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.428, allocations: 47.97 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4281, allocations: 59.95 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.4284, allocations: 128.7 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4284, allocations: 0 / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003545/0.4288, allocations: 157.9 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4288, allocations: 8 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4288, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4288, allocations: 0 / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.429, allocations: 32.48 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.429, allocations: 7.938 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.429, allocations: 11.98 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.429, allocations: 4 kB / 0.5672 GB, free: 14.27 MB / 414.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.0001227/0.4292, allocations: 126.7 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.4292, allocations: 19.91 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.4297, allocations: 206.9 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4297, allocations: 0 / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4297, allocations: 3.938 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4297, allocations: 0 / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.4305, allocations: 483 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4305, allocations: 8 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4306, allocations: 23.98 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4306, allocations: 4 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4306, allocations: 96 / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4306, allocations: 7.938 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4306, allocations: 0 / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.431, allocations: 281 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.4311, allocations: 15.88 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4311, allocations: 0 / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.4312, allocations: 15.98 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4312, allocations: 7.984 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.4312, allocations: 4 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.4314, allocations: 157.6 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4314, allocations: 4 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.4317, allocations: 23.94 kB / 0.5685 GB, free: 12.8 MB / 414.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.002376/0.434, allocations: 1.154 MB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.4344, allocations: 123.8 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4344, allocations: 0 / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4346, allocations: 63.89 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.435, allocations: 34.58 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.4376, allocations: 1.916 MB / 0.5717 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.4379, allocations: 0.7158 MB / 0.5724 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.647e-05/0.438, allocations: 32.45 kB / 0.5725 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.4381, allocations: 47.41 kB / 0.5725 GB, free: 8.742 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4381, allocations: 96 / 0.5725 GB, free: 8.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.4633, allocations: 3.612 MB / 0.576 GB, free: 5.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.727, allocations: 12.91 kB / 0.5761 GB, free: 5.129 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_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_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.174903416074812] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.92452689865604 8.949031955 8.521162226 Calling exit ...