Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001567/0.001567, 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.001873/0.001873, 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.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2218/0.2218, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.002341/0.002341, allocations: 80.14 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2986, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003026/0.3016, allocations: 1.717 MB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3026, allocations: 0.5848 MB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.3027, allocations: 0 / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.3029, allocations: 27.78 kB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.3031, allocations: 79.61 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.3035, allocations: 143.1 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3037, allocations: 91.75 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.602e-05/0.3037, allocations: 21.91 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.3038, allocations: 35.91 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.321e-05/0.3039, allocations: 47.77 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3039, allocations: 4 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.3041, allocations: 107.9 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.3042, allocations: 27.91 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3042, allocations: 27.81 kB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.3045, allocations: 179.2 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3045, allocations: 0 / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3045, allocations: 0 / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3045, allocations: 0 / 0.5645 GB, free: 1.219 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006471/0.3052, allocations: 373.5 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3052, allocations: 8.031 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.3052, allocations: 42.73 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.3053, allocations: 8.891 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3055, allocations: 146.3 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3055, allocations: 4.312 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3055, allocations: 8.312 kB / 0.5651 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.3058, allocations: 91.92 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3058, allocations: 7.938 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3058, allocations: 0 / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.3058, allocations: 0 / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.3061, allocations: 67.92 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.3065, allocations: 283.8 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.3068, allocations: 70.53 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.307, allocations: 48.94 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.307, allocations: 0 / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.307, allocations: 34.56 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.307, allocations: 0 / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001593/0.3086, allocations: 392.8 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3087, allocations: 77.11 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.3089, allocations: 162.9 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3089, allocations: 29.7 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.309, allocations: 96.12 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.309, allocations: 31.7 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.3091, allocations: 29.7 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3092, allocations: 326.8 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3095, allocations: 67.92 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.3098, allocations: 81.64 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.3103, allocations: 152.7 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3103, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006259/0.3109, allocations: 197.4 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3109, allocations: 6.5 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3109, allocations: 0 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.311, allocations: 0 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3112, allocations: 47.95 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3112, allocations: 384 / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3114, allocations: 20.34 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3114, allocations: 7.938 kB / 0.5673 GB, free: 14.14 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 (10): * Single equations (assignments): 10 * 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 9.833e-05/0.3115, allocations: 118.7 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.3115, allocations: 19.91 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/0.3122, allocations: 214 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3122, allocations: 0 / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3122, allocations: 0 / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3122, allocations: 3.984 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.3131, allocations: 477.3 kB / 0.5681 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3131, allocations: 4 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.3133, allocations: 39.97 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3133, allocations: 0 / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3133, allocations: 7.922 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3133, allocations: 0 / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3133, allocations: 0 / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.314, allocations: 287.2 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.314, allocations: 19.92 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.314, allocations: 3.938 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3142, allocations: 27.97 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.3143, allocations: 3.984 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3143, allocations: 12 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3144, allocations: 127.3 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3144, allocations: 0 / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.3147, allocations: 47.88 kB / 0.5687 GB, free: 12.67 MB / 414.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 (9): * Single equations (assignments): 9 * 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.002603/0.3173, allocations: 1.207 MB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.318, allocations: 155.8 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.318, allocations: 0 / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.3183, allocations: 83.98 kB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3186, allocations: 23.98 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.3216, allocations: 1.859 MB / 0.5719 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3219, allocations: 0.7041 MB / 0.5726 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.794e-05/0.322, allocations: 20.47 kB / 0.5726 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.3221, allocations: 35.42 kB / 0.5727 GB, free: 8.617 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3221, allocations: 0 / 0.5727 GB, free: 8.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.3491, allocations: 4.353 MB / 0.5769 GB, free: 4.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.544, allocations: 11.38 kB / 0.5769 GB, free: 4.238 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.412383534014225] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'ramp.y', 'ramp1.y'] 8.686585940886289 8.716939867 8.407129478 Calling exit ...