Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001512/0.001512, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001474/0.001474, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.67/1.67, allocations: 230.5 MB / 258.2 MB, free: 7.977 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.2388/0.2388, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002332/0.002332, allocations: 75.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4201, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003898/0.424, allocations: 1.699 MB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4253, allocations: 0.5692 MB / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.4253, allocations: 0 / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.4256, allocations: 63.72 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.426, allocations: 99.66 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.4264, allocations: 135.6 kB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.4266, allocations: 91.73 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4268, allocations: 14.14 kB / 0.5641 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4269, allocations: 39.84 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.427, allocations: 51.81 kB / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.427, allocations: 4 kB / 0.5642 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.4272, allocations: 51.97 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/0.4273, allocations: 27.86 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.4274, allocations: 39.73 kB / 0.5643 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.4277, allocations: 119.4 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4277, allocations: 0 / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4277, allocations: 0 / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4277, allocations: 0 / 0.5645 GB, free: 1.281 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.0007148/0.4284, allocations: 341.6 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.4285, allocations: 12.03 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.4285, allocations: 38.73 kB / 0.5648 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.4286, allocations: 12.84 kB / 0.5648 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.4288, allocations: 143.2 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4288, allocations: 12.31 kB / 0.565 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4289, allocations: 8.375 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.4291, allocations: 62.17 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.4291, allocations: 3.938 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4291, allocations: 0 / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4291, allocations: 4 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.4293, allocations: 35.97 kB / 0.5651 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.4299, allocations: 287.8 kB / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4302, allocations: 50.56 kB / 0.5654 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.4303, allocations: 20.97 kB / 0.5654 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.4304, allocations: 12.02 kB / 0.5654 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.4304, allocations: 34.56 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.4304, allocations: 3.938 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001613/0.432, allocations: 397.5 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.4321, allocations: 51.41 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.4323, allocations: 203.2 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.4323, allocations: 33.7 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.4324, allocations: 100.1 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.4325, allocations: 35.69 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.4325, allocations: 29.7 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4327, allocations: 322.8 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.4328, allocations: 43.97 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.433, allocations: 47.91 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.4332, allocations: 104.7 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4332, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003275/0.4335, allocations: 137.5 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4335, allocations: 10.19 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4336, allocations: 3.938 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4336, allocations: 0 / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4337, allocations: 31.97 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.4337, allocations: 7.922 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.4338, allocations: 11.94 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.4338, allocations: 7.984 kB / 0.567 GB, free: 14.47 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.0001349/0.4339, allocations: 125.8 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.434, allocations: 23.89 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.4344, allocations: 155.5 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4344, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4344, allocations: 3.938 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.4345, allocations: 3.984 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007351/0.4352, allocations: 443.1 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.4352, allocations: 7.938 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.4353, allocations: 31.91 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4353, allocations: 3.938 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4353, allocations: 8 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4353, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4353, allocations: 64 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.4357, allocations: 253.2 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.4358, allocations: 23.78 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.4358, allocations: 0 / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.4359, allocations: 19.92 kB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4359, allocations: 11.98 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.4359, allocations: 4.125 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4361, allocations: 145.6 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4361, allocations: 0 / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.4364, allocations: 31.92 kB / 0.5682 GB, free: 13.11 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.002546/0.4389, allocations: 1.141 MB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.4393, allocations: 99.88 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4393, allocations: 0 / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.4394, allocations: 59.95 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.4399, allocations: 20.28 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.4429, allocations: 1.83 MB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.4434, allocations: 0.7041 MB / 0.572 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.4435, allocations: 24.47 kB / 0.572 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.4435, allocations: 39.42 kB / 0.5721 GB, free: 9.211 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4435, allocations: 0 / 0.5721 GB, free: 9.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.4748, allocations: 3.478 MB / 0.5755 GB, free: 5.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.415, allocations: 3.938 kB / 0.5755 GB, free: 5.734 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.568442177958786] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.560170351993293 8.576362079 8.145317648 Calling exit ...